https://www.superdatascience.com/pages/deep-learning-chatbot

Part 4. Section 21. Chatbot - Step 2
1. Download/Install Anaconda 3
2. Install Tensorflow
(mac and Linux open terminal)
(Windows: issues with Python 3.6 so we create a new environment using python 3.5)

Open Anaconda->CMD window terminal
(Base)c:\users\CandyO\conda create -n Chatbot python=3.5 anaconda
(Base)c:\users\CandyO\conda activate chatbot

(Chatbot)c:\users\CandyO\pip install tensorflow==1.0.0

Close Terminal

Open Anaconda Navigator->Home->Applications on (change root to Chatbot)
Launch Spyder

Change to your Chatbot folder
Create chatbot.py

#Building a Chatbot with NLP
google->cornell movie dialog corpus
cs.cornell.edu/~cristian/Cornell_Movie-Dialogs_Corpus.html

download zip file
we will be using only 2 datasets - movie_conversations and movie_lines

Part 4. Section 23. Welcome to Part 1 - Data PreProcessing
Section 24. Chatbot - Step 4

#Building a Chatbot with Deep NLP

# Importing the libraries

import numpy as np
inport tensorflow as tf
import re
import time

Run - if ok then libraries are ok

  • No labels