Self Attention based knowledge space aggregator bot
HOW TO RUN:
- Place the
tokenizer.picklein the root folder.
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 :)
- 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.
- We are using neural networks, deep transformer neural networks and BERT embeddings in our model.
- The model runs for
350Epochs and gives
< 0.05categorical loss.
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 ✨