AI shop bot using Pytorch, Deep Learning and Natural Language Processing.
Whatever you prefer (e.g. conda
or venv
)
conda create -n envname python=x.x anaconda
conda activate envname
For Installation of PyTorch see official website.
You also need nltk
:
pip install nltk
If you get an error install nltk.tokenize.punkt
:
Run this once in your terminal:
$ python
>>> import nltk
>>> nltk.download('punkt')
Run
python train.py
This will dump data.pth
file. And then run
python chat.py