Projects
View on GitHub
tensorlayer/seq2seq-chatbot
About
Chatbot in 200 lines of code using TensorLayer
AI & Machine LearningMeasured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalSeq2Seq Chatbot
This is a 200 lines implementation of Twitter/Cornell-Movie Chatbot, please read the following references before you read the code:
- Practical-Seq2Seq
- The Unreasonable Effectiveness of Recurrent Neural Networks
- Understanding LSTM Networks (optional)
Prerequisites
- Python 3.6
- TensorFlow >= 2.0
- TensorLayer >= 2.0
Model
Training
python3 main.py
Results
Query > happy birthday have a nice day
> thank you so much
> thank babe
> thank bro
> thanks so much
> thank babe i appreciate it
Query > donald trump won last nights presidential debate according to snap online polls
> i dont know what the fuck is that
> i think he was a racist
> he is not a racist
> he is a liar
> trump needs to be president
Explore related projects
Loading…