Reddit JSON => mysqlite db => training files => train chatbot => interact with chatbot
- Git clone https://github.com/davetlewis-van/APy.git into a new directory.
wget http://downloads.activestate.com/ActivePython/releases/3.6.0.3600/ActivePython-3.6.0.3600-linux-x86_64-glibc-2.3.6-401834.tar.gz
docker build -t "python36:dockerfile" .
docker run -it python36:dockerfile
- There are sample training files, but you can copy the training files you want to use to the
new_data
folder. If so, you need to adjust the files listed at the top ofprepare_data.py
and dev_prefix and test_prefix insettings.py
- Navigate to the
/code/nmt-chatbot/setup
folder and runprepare_data.py
- Navigate to the
/code/nmt-chatbot/
folder and runtrain.py
- To interact with the chatbot run
inference.py
- Public IP: https://35.230.32.103
- Jupyter notebook access:
sudo jupyter notebook -ip 0.0.0.0 --port 8888 --allow-root
- TensorBoard config:
- Create firewall rule for port 6006
cd nmt-chatbot/model
tensorboard --logdir=train_log/ --host 0.0.0.0 --port 6006
- Browse to: http://35.230.32.103:6006/#projector&run=.
- PythonProgramming.net chatbot tutorials
- AI and Chatbots in Technical Communication
- Google Dialogflow
- Get access to a GPU
- Figure out how to access my programming-specific BigQuery tables from the Google Cloud VM instance.
- Figure out how to read in Stack Overflow Q&A
- Run docker container on Google Cloud VM
Copyright (c) 2018 ActiveState Software Inc. Released under the BSD-3 license. See LICENSE file for details.