{"id":21192543,"url":"https://github.com/luopeixiang/simple_chatbot","last_synced_at":"2025-10-04T17:13:42.156Z","repository":{"id":111558675,"uuid":"172229245","full_name":"luopeixiang/simple_chatbot","owner":"luopeixiang","description":"A Simple ChatBot Based Encoder-Decoder","archived":false,"fork":false,"pushed_at":"2019-02-23T15:33:59.000Z","size":891,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T13:44:20.462Z","etag":null,"topics":["attention-mechanism","chatbots","encoder-decoder-model","pytorch-tutorial","rnn"],"latest_commit_sha":null,"homepage":null,"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/luopeixiang.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-23T15:20:47.000Z","updated_at":"2019-09-19T12:49:14.000Z","dependencies_parsed_at":"2023-03-15T16:31:01.680Z","dependency_job_id":null,"html_url":"https://github.com/luopeixiang/simple_chatbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luopeixiang%2Fsimple_chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luopeixiang%2Fsimple_chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luopeixiang%2Fsimple_chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luopeixiang%2Fsimple_chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luopeixiang","download_url":"https://codeload.github.com/luopeixiang/simple_chatbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243646671,"owners_count":20324586,"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":["attention-mechanism","chatbots","encoder-decoder-model","pytorch-tutorial","rnn"],"created_at":"2024-11-20T19:10:03.580Z","updated_at":"2025-10-04T17:13:37.099Z","avatar_url":"https://github.com/luopeixiang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Simple ChatBot Based Encoder-Decoder\n\nThis is a  implementation of simplified and modular version of pytorch [CHATBOT TUTORIAL](https://pytorch.org/tutorials/beginner/chatbot_tutorial.html)\n\n\n\n## Data\n\n`datasets/conversations.csv` contain formatted and preprocessed conversations from [Cornell Movie-Dialogs Corpus](https://www.cs.cornell.edu/~cristian/Cornell_Movie-Dialogs_Corpus.html).\n\n\n\n## train model\n\n`python3 main.py`\n\nYou can configure encoder-decoder model in `main.py`\n\n\n\n## Evaluate model\n\nModify `model_path` variable in `evaluate.py` into your trained model path\n\nRun `python3 evaluate.py` to chat with your trained model\n\n\n\n**output example**:\n\n```shell\nLoad checkpint...\nInput\u003e hello?\nChat_bot\u003e  hello .\nInput\u003e where am I?\nChat_bot\u003e  you re going to bed .\nInput\u003e how are you doing?\nChat_bot\u003e  fine .\nInput\u003e are you my friend?\nChat_bot\u003e  yes .\nInput\u003e you're under arrest\nChat_bot\u003e  you re not here .\nInput\u003e i'm just kidding\nChat_bot\u003e  no you re not .\nInput\u003e where are you from?\nChat_bot\u003e  i m here .\nInput\u003e it's time for me to leave\nChat_bot\u003e  i m sorry .\n\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluopeixiang%2Fsimple_chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluopeixiang%2Fsimple_chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluopeixiang%2Fsimple_chatbot/lists"}