- Run
python ./train.py
. This will train the model using the data in theintents.json
, and it will save the model states todata.pth
. - Run
python ./chat.py
. This will start the chat bot on the terminal. You can exit the program by typingquit
.
- PyTorch 2.0.1 with Cuda 11.8
- NLTk 3.8.1
- This is used for tokenization and stemming the text