Skip to content

Stmsmj/a-simple-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

a simple chatbot

this is a chatbot powered by hugging face model that got trained on persona-chat dataset which makes model able to have and talk with a personality and you can change that personality. for image classification i used indoor dataset which is made of 67 classes of indoor pics. and i added some rule-based commands like tell me a joke , tell me a fun fact and tell me a quote.

light dark

requirements

there a file named requirements.txt and you need to have all those packages so you can pip install them one by one or

cd a simple chatbot
pip install -r requirements.txt

if you see any error in pip installing just do it one by one

instruction

the size of model for image classification was 3 Gigabyte so i couldn't upload it here so if you want this feature you need to train it yourself 🙂. you can fine tune it and if you got a better results just make a contribution 🤝. if you dont want this feature just comment these lines 189,191,208-216,287,303 and run interact.py and if you want this feature you need to do these steps:

  • download dataset
  • extract it and copy Image folder to a simple chatbot
  • run pic_separator.py
  • run indoor.ipynb to build the model
  • run interact.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published