← Open Source

Chatbot in 200 lines of code using TensorLayer.

TutorialsML/AI fundamentalsPython
Momentum
+0stars in 24 hours0.0%
838
Stars
302
Forks
+-1
This week
7
Contributors
Created 2017-09-05 · Updated 2026-12-02 · #16838 today
Top developers
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


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
Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store