Skip to content

tapasrm/chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatbot

A simple chatbot trained from scratch on a dummy dataset.

This is a Supervised Model with no generative capablities. This just gives a framework to train a simple chatbot to handle predefined scenarios.

This works pretty well with 99% accuracy.

Sometimes it faces some challenge with grammatically incorrect words. We can solve this by implementing a Trie on the client side to check for grammatical errors.

Take a look at the training data. The trained model will be capable of responding to those questions.

Steps to run locally

It is advisable to create a new environment for every python project.

pip install -r requirements.txt
python train.py
python run.py

About

A simple chatbot trained from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages