Skip to content

ChatbotNLPUIUC/UIUCChatbot

Repository files navigation

Table of Contents
  1. About The Project
  2. Usage
  3. Acknowledgements

About The Project

model-image

A beginner project to build a Q&A chatbot that is able to answer questions about UIUC. A chat interface allows users to ask questions or just chat with the bot.

The project is incomplete and can be improved in a variety of ways. For example, Model 1 and 2 uses only words and bigrams as tokens instead of extracting semantic meaning. Model 3 could be improved by having a model that auto-generates responses instead of pulling from a fixed pool of resonses. Finally, model 4 could be improved by using a more deep-learning approach to extract answers from text banks.

Overall, all 4 models can also be improved by simply collecting more data.

A list of used resources are listed in the acknowledgements.

Usage

Install requirements:

pip install requirements.txt

Train the models:

cd python-project-chatbot-codes
python3 train_chatbot.py
python3 model2_train.py

Activate the chat GUI:

python3 chatgui.py

chatbot-image

Built With

Python using Tensorflow, sci-kit learn, Whoosh, tkinter, NLTK, praw, BeautifulSoup

Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •