Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 811 Bytes

README.md

File metadata and controls

42 lines (34 loc) · 811 Bytes

AI_Shop_bot {Contextual Chatbot in PyTorch}

AI shop bot using Pytorch, Deep Learning and Natural Language Processing.

Installation

Create an virtual environment

Whatever you prefer (e.g. conda or venv)

conda create -n envname python=x.x anaconda

Activate the virtual environment

conda activate envname

Install PyTorch and dependencies

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')

Usage {Command Line}

Run

python train.py

This will dump data.pth file. And then run

python chat.py