{"id":13482761,"url":"https://github.com/tensorlayer/seq2seq-chatbot","last_synced_at":"2025-04-12T17:42:02.538Z","repository":{"id":43596481,"uuid":"102538419","full_name":"tensorlayer/seq2seq-chatbot","owner":"tensorlayer","description":"Chatbot in 200 lines of code using TensorLayer","archived":false,"fork":false,"pushed_at":"2021-10-05T13:25:46.000Z","size":15362,"stargazers_count":837,"open_issues_count":28,"forks_count":314,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-04-03T19:15:41.712Z","etag":null,"topics":["bot","chat","chatbot","corpus","lstm","nlp","python","rnn","tensorflow","tensorlayer"],"latest_commit_sha":null,"homepage":"https://github.com/tensorlayer/tensorlayer","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tensorlayer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-05T23:11:14.000Z","updated_at":"2025-03-27T01:01:06.000Z","dependencies_parsed_at":"2022-07-19T12:54:10.095Z","dependency_job_id":null,"html_url":"https://github.com/tensorlayer/seq2seq-chatbot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorlayer%2Fseq2seq-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorlayer%2Fseq2seq-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorlayer%2Fseq2seq-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorlayer%2Fseq2seq-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tensorlayer","download_url":"https://codeload.github.com/tensorlayer/seq2seq-chatbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248608166,"owners_count":21132672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","chat","chatbot","corpus","lstm","nlp","python","rnn","tensorflow","tensorlayer"],"created_at":"2024-07-31T17:01:05.282Z","updated_at":"2025-04-12T17:42:02.514Z","avatar_url":"https://github.com/tensorlayer.png","language":"Python","readme":"# Seq2Seq Chatbot\n\nThis is a 200 lines implementation of Twitter/Cornell-Movie Chatbot, please read the following references before you read the code:\n\n- [Practical-Seq2Seq](http://suriyadeepan.github.io/2016-12-31-practical-seq2seq/)\n- [The Unreasonable Effectiveness of Recurrent Neural Networks](http://karpathy.github.io/2015/05/21/rnn-effectiveness/)\n- [Understanding LSTM Networks](http://colah.github.io/posts/2015-08-Understanding-LSTMs/) (optional)\n\n### Prerequisites\n\n- Python 3.6\n- [TensorFlow](https://github.com/tensorflow/tensorflow) \u003e= 2.0\n- [TensorLayer](https://github.com/zsdonghao/tensorlayer) \u003e= 2.0\n\n### Model\n\n\u003ctable class=\"image\"\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"http://suriyadeepan.github.io/img/seq2seq/seq2seq2.png\"/\u003e  \n    \u003cbr\u003e  \n    \u003cem align=\"center\"\u003e\u003c/em\u003e  \n\u003c/div\u003e\n\u003c/table\u003e\n\n### Training\n\n```\npython3 main.py\n```\n\n\n### Results\n\n```\nQuery \u003e happy birthday have a nice day\n \u003e thank you so much\n \u003e thank babe\n \u003e thank bro\n \u003e thanks so much\n \u003e thank babe i appreciate it\nQuery \u003e donald trump won last nights presidential debate according to snap online polls\n \u003e i dont know what the fuck is that\n \u003e i think he was a racist\n \u003e he is not a racist\n \u003e he is a liar\n \u003e trump needs to be president\n","funding_links":[],"categories":["Models/Projects","Python","5. Natural Language Processing"],"sub_categories":["5.1 ChatBot"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorlayer%2Fseq2seq-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftensorlayer%2Fseq2seq-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorlayer%2Fseq2seq-chatbot/lists"}