AhaBot
Self Attention based knowledge space aggregator bot
HOW TO RUN:
- Place the
label_encoder.pickle,chatbot_model.h5andtokenizer.picklein the root folder. - run
pip install requirements.txt - then run
python manage.py runserverto start the server. - simply open
index.htmlin interface folder. You can now interact with our chatbot :)
FEATURES:
- Our ChatBot allows you to create diverse knowledge base merely from a list of FAQs and automatically handles user requests in real time.
- The model is intelligent and doesn't require hardcoded values.
- It is equipped with deep transformer neural networks to create a knowledge space for each question to model similar meaning situations. This is the core feature of our chatbot as this not only augments the data, it also allows you to handle a diverse set of requests.
- You can either the pre-trained model
chatbot_model.h5or retrain the model on your custom FAQs.
Sample Output:
About Code:
- We are using neural networks, deep transformer neural networks and BERT embeddings in our model.
- The model runs for
350Epochs and gives95%+accuracy with< 0.05categorical loss. vanilla javascriptwas used for front end.Djangowas used for backend.- The model contains
16000+trainable parameters and uses the power of tensorflow to train on it. - `After the modle is done training, the encoding files and model weights are saved. You don't have to go through the hassle to retrain it every time.
Dillinger is a cloud-enabled, mobile-ready, offline-storage compatible, AngularJS-powered HTML5 Markdown editor.
- Type some Markdown on the left
- See HTML in the right
- ✨Magic ✨
Log in or sign up for Devpost to join the conversation.