All Projects → brunolcarli → Luci

brunolcarli / Luci

Licence: other
Logical Unity for Communicational Interactivity

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Luci

awesome-nlg
A curated list of resources dedicated to Natural Language Generation (NLG)
Stars: ✭ 386 (+1444%)
Mutual labels:  natural-language-generation, natural-language-understanding
Gluon Nlp
NLP made easy
Stars: ✭ 2,344 (+9276%)
Mutual labels:  natural-language-generation, natural-language-understanding
wikiHow paper list
A paper list of research conducted based on wikiHow
Stars: ✭ 25 (+0%)
Mutual labels:  natural-language-generation, natural-language-understanding
Transformers
🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
Stars: ✭ 55,742 (+222868%)
Mutual labels:  natural-language-generation, natural-language-understanding
This Word Does Not Exist
This Word Does Not Exist
Stars: ✭ 640 (+2460%)
Mutual labels:  natural-language-generation, natural-language-understanding
chatbot-samples
🤖 聊天机器人,对话模板
Stars: ✭ 110 (+340%)
Mutual labels:  natural-language-generation, natural-language-understanding
nlp-notebooks
A collection of natural language processing notebooks.
Stars: ✭ 19 (-24%)
Mutual labels:  natural-language-generation, natural-language-understanding
TextFeatureSelection
Python library for feature selection for text features. It has filter method, genetic algorithm and TextFeatureSelectionEnsemble for improving text classification models. Helps improve your machine learning models
Stars: ✭ 42 (+68%)
Mutual labels:  natural-language-generation, natural-language-understanding
Nlp Conference Compendium
Compendium of the resources available from top NLP conferences.
Stars: ✭ 349 (+1296%)
Mutual labels:  natural-language-generation, natural-language-understanding
classy
classy is a simple-to-use library for building high-performance Machine Learning models in NLP.
Stars: ✭ 61 (+144%)
Mutual labels:  natural-language-generation, natural-language-understanding
turingadvice
Evaluating Machines by their Real-World Language Use
Stars: ✭ 23 (-8%)
Mutual labels:  natural-language-generation, natural-language-understanding
Natural Language Processing Specialization
This repo contains my coursework, assignments, and Slides for Natural Language Processing Specialization by deeplearning.ai on Coursera
Stars: ✭ 151 (+504%)
Mutual labels:  natural-language-generation, natural-language-understanding
Convai Baseline
ConvAI baseline solution
Stars: ✭ 49 (+96%)
Mutual labels:  natural-language-generation, natural-language-understanding
Awesome Nlg
A curated list of resources dedicated to Natural Language Generation (NLG)
Stars: ✭ 211 (+744%)
Mutual labels:  natural-language-generation, natural-language-understanding
COCO-LM
[NeurIPS 2021] COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretraining
Stars: ✭ 109 (+336%)
Mutual labels:  natural-language-understanding
Nonautoreggenprogress
Tracking the progress in non-autoregressive generation (translation, transcription, etc.)
Stars: ✭ 118 (+372%)
Mutual labels:  natural-language-generation
Mojitalk
Code for "MojiTalk: Generating Emotional Responses at Scale" https://arxiv.org/abs/1711.04090
Stars: ✭ 107 (+328%)
Mutual labels:  natural-language-generation
MHPC-Natural-Language-Processing-Lectures
This is the second part of the Deep Learning Course for the Master in High-Performance Computing (SISSA/ICTP).)
Stars: ✭ 33 (+32%)
Mutual labels:  natural-language-understanding
GLUE-bert4keras
基于bert4keras的GLUE基准代码
Stars: ✭ 59 (+136%)
Mutual labels:  natural-language-understanding
Textaugmentation Gpt2
Fine-tuned pre-trained GPT2 for custom topic specific text generation. Such system can be used for Text Augmentation.
Stars: ✭ 104 (+316%)
Mutual labels:  natural-language-generation
Project icon

LUCI

Logical Unit for Communicational Interactivity

Version badge Docs Link test badge

LUCI is a conversational tamabotchi for discord.

Developers

Cloning and executing

Linux Badge Apple badge

Local machine

Clone this project and engage a python3 virtual environment the way as you like and install the requirements through Makefile.

Example using virtualevwrapper:

$ git clone https://github.com/brunolcarli/Luci.git
$ cd luci/
$ mkvirtualenv Luci
$ (Luci) make install

Create a .env file and add the following content:

TOKEN=<your_test_bot_token>
LISA_URL=<lisa_url>
BACKEND_URL=None
SETTINGS_MODULE=development
REDIS_HOST=<redis_server_host>
REDIS_PORT=<redis_server_port>

You should configure your own environment cloning both lisa and bot api:

  • LISA_URl is required since the bot requests text offense and sentiment to the service API.

  • BACKEND_URL is the long range memory storage (AKA database) which is a separated service.

  • REDIS_HOST and REDIS_PORT is the short term memory, and it depends on a redis-server.

Note: If SETTINGS_MODULE=production the bot will run on a flask server instance.

Execute the bot:

$ (Luci) make run

Training Models

The bot is trained over a serie of .json datasets on core/training/json/intentions/.

For each intention directory there are located a serie of dataset_x.json where x is a sequence number of the train dataset. You can create a new one containing the text and training target label on the following shape:

[
    {"text": "An example text.", "intention": 1},
    {"text": "Another example text.", "intention": 1},
    {"text": "Way othe example text.", "intention": 2},
    {"text": "keep going.", "intention": 2}
]

The training data must respect the intention archicture proposed on the docs, otherwise it may cause the model to behave unproperly.

Train data through Makefile:

$ (Luci) make train

You can view some models score and the number o sample data used for each intention through a cvross validation test:

$ (Luci) make no_free_lunch

Test the bot

The goal is give the models enough data to pass the test when executing:

$ (Luci) make test

Docker

Project icon

Set up the .env file as described above and build the container with docker-compose:

$ docker-compose build

Run with:

$ docker-compose up

Or run in background

$ docker-compose up -d
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].