This is an artificial intelligence that uses NLTK, PyTorch & Numpy tools in it's code.
Read the setup.sh
file and make sure that the part of the script that installs & setups PyTorch and Python VEnv is either commented or uncommented to your preferred choice (i.e. comment it if you don't want it to run and vice versa).
- Sets up PyTorch's folder
- Installs Python Virtual Env (VEnv)
- Downloads & Activates PyTorch & Torchvision & Deactivates
- Goes to
~/AI
folder (default folder of the code) - Activates PyTorch Environment
- Installs Dependencies
- NLTK, PyTorch & Numpy
- Downloads
punkt
fromnltk
package- using Python3 CLI
-c
option
- using Python3 CLI
- Trains AI
- (converts
intents.json
intodata.pth
)
- (converts
- Runs AI
Inspired by python-engineer & Refactored code by cryptosbyte