Skip to content

claree007/Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatbot

A simple chatbot in python using sequence to sequence model. Currently in development. Will make a Ipython notebook version as well.

  1. Run the requirements.txt for 64-bit python installation.
    py -m pip install -r requirements.txt

  2. Put the subtitle files inside a folder or multiple folders and put these folders inside the subs folder.
    So the idea is, you can put a single season or the whole series' subtitles in a folder and you can have multiple such type of folders. Then you have to just put the folders under subs folder.

  3. Run create_dataset.py
    This creates 2 .npy files containing questions and answers.
    py create_dataset.py

  4. Run chatbot.py to train the bot using the above created dataset.
    py chatbot.py

  5. To chat with the bot, run inference.py.
    py inference.py

About

A simple chatbot in python using sequence to sequence model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages