{"id":22636492,"url":"https://github.com/mrdvince/pytorch_chatbot","last_synced_at":"2025-04-11T21:14:24.313Z","repository":{"id":106602728,"uuid":"159585728","full_name":"mrdvince/pytorch_chatbot","owner":"mrdvince","description":"A chatbot implemented using PyTorch, using Cornell Movie-Quotes Corpus which contains a large metadata-rich collection of fictional conversations extracted from raw movie scripts","archived":false,"fork":false,"pushed_at":"2018-11-29T15:47:48.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T21:14:20.160Z","etag":null,"topics":["bot","chatbot","deep-learning","machine-learning","machinelearning","python","pytorch"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrdvince.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-11-29T00:52:19.000Z","updated_at":"2022-07-25T20:22:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"777718eb-7c17-43bc-914d-a4192cf9fda4","html_url":"https://github.com/mrdvince/pytorch_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/mrdvince%2Fpytorch_chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdvince%2Fpytorch_chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdvince%2Fpytorch_chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdvince%2Fpytorch_chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrdvince","download_url":"https://codeload.github.com/mrdvince/pytorch_chatbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480426,"owners_count":21110937,"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","chatbot","deep-learning","machine-learning","machinelearning","python","pytorch"],"created_at":"2024-12-09T03:21:50.308Z","updated_at":"2025-04-11T21:14:24.303Z","avatar_url":"https://github.com/mrdvince.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Chatbot Built Using Pytorch\n\n## Getting Started\n------------\nTo start, Download the data ZIP file \n`here \u003chttps://www.cs.cornell.edu/~cristian/Cornell_Movie-Dialogs_Corpus.html\u003e`\nand put in a ``data/`` directory under the current directory.\n\n## Preparation\n```\nmkdir data\nwget http://www.cs.cornell.edu/~cristian/data/cornell_movie_dialogs_corpus.zip\nunzip cornell_movie_dialogs_corpus.zip\ncd ..\n```\n#### run python file using ipython kernel \n``` %run chatbot.py ```\n\n### Sample Chat\n```\n   \u003e hello?\n   bot: hello .\n   \u003e where am I?\n   bot: you re in a hospital .\n   \u003e who are you?\n   bot: i m a lawyer .\n   \u003e how are you doing?\n   bot: i m fine .\n   \u003e are you my friend?\n   bot: no .\n   \u003e you're under arrest\n   bot: i m trying to help you !\n   \u003e i'm just kidding\n   bot: i m sorry .\n   \u003e where are you from?\n   bot: san francisco .\n   \u003e it's time for me to leave\n   bot: i know .\n   \u003e goodbye\n   bot: goodbye .\n```\n## **Acknowledgements**\n\n 1) Yuan-Kuei Wu’s pytorch-chatbot implementation:\n    https://github.com/ywk991112/pytorch-chatbot\n\n 2) Sean Robertson’s practical-pytorch seq2seq-translation example:\n    https://github.com/spro/practical-pytorch/tree/master/seq2seq-translation\n\n 3) FloydHub’s Cornell Movie Corpus preprocessing code:\n    https://github.com/floydhub/textutil-preprocess-cornell-movie-corpus\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdvince%2Fpytorch_chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrdvince%2Fpytorch_chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdvince%2Fpytorch_chatbot/lists"}