← 开源
tensorlayer

seq2seq-chatbot

Chatbot in 200 lines of code using TensorLayer

TutorialsML/AI fundamentalsPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
840
Star
302
Fork
+1
本周
7
贡献者
创建于 2017-09-05 · 更新于 2026-10-04 · 今日第 12527 名
主要开发者
README

Seq2Seq Chatbot

This is a 200 lines implementation of Twitter/Cornell-Movie Chatbot, please read the following references before you read the code:

Prerequisites

Model

 ![](http://suriyadeepan.github.io/img/seq2seq/seq2seq2.png)   

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