/question-answering-ai-bot

Question Answering bot made with pretrained BERT, PruneBERT, DistilBERT and BioBERT models.

Primary LanguagePython

question-answering-bot

Question Answering BOT made with pretrained BERT, PruneBERT, DistilBERT, BioBERT models.

Course Learning Outcomes

  • The student will know the convenience of using Natural Language in our ordinary life.
  • The student will learn the algorithms and methods on the Natural Language Processing domain.
  • The students will recognize and use the domestic and foreign tools.
  • The student will learn all the concept about Natural Language Processing.
  • The student will do a project using the learned material in the class.

You need to install certain versions

First of all. python cannot be newer than 3.7.6

pip install -r requirements.txt

or

pip install torch==1.7.1+cpu torchvision==0.8.2+cpu torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
pip install transformers==3
pip install pyqt5

Then you can easily run

python main.py

An easy to use (but laggy) GUI will pop up in a short time. First run of each model could take a little while to load, which you can track from you terminal.

alt text

alt text

alt text