{"id":47842397,"url":"https://github.com/xcapt0/gpt2_chatbot","last_synced_at":"2026-04-03T21:01:16.988Z","repository":{"id":191662902,"uuid":"442744147","full_name":"xcapt0/gpt2_chatbot","owner":"xcapt0","description":"☕ GPT-2 chatbot for daily conversation","archived":false,"fork":false,"pushed_at":"2022-02-14T09:31:27.000Z","size":23182,"stargazers_count":13,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-08-31T01:33:25.541Z","etag":null,"topics":["chatbot","gpt-2","nlp"],"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/xcapt0.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}},"created_at":"2021-12-29T10:56:49.000Z","updated_at":"2023-08-31T01:33:30.621Z","dependencies_parsed_at":"2023-08-31T01:45:53.783Z","dependency_job_id":null,"html_url":"https://github.com/xcapt0/gpt2_chatbot","commit_stats":null,"previous_names":["xcapt0/gpt2_chatbot"],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/xcapt0/gpt2_chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcapt0%2Fgpt2_chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcapt0%2Fgpt2_chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcapt0%2Fgpt2_chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcapt0%2Fgpt2_chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xcapt0","download_url":"https://codeload.github.com/xcapt0/gpt2_chatbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcapt0%2Fgpt2_chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31377113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["chatbot","gpt-2","nlp"],"created_at":"2026-04-03T21:01:11.244Z","updated_at":"2026-04-03T21:01:16.959Z","avatar_url":"https://github.com/xcapt0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ☕ GPT2 Chatbot\r\n\r\nGPT-2 chatbot for daily conversations trained on `Daily Dialogue`, `Empathetic Dialogues`, `PERSONA-CHAT`, `Blended Skill Talk` datasets. This chatbot is made based on GPT2 Model transformer with a language modeling head on top.\r\n\r\n![chatbot](https://user-images.githubusercontent.com/70326958/151570518-ce70261a-6e8e-47a0-92e5-2d7638e7aa68.jpg)\r\n\r\n\r\n## ⌛ Installation\r\n\r\nDownload the [model](https://gpt2chatbot.s3.us-east-2.amazonaws.com/model.h5) from AWS S3 storage and run the following command:\r\n\r\n```sh\r\ngit pull https://github.com/xcapt0/gpt2_chatbot.git\r\ndocker build -t gpt2_bot .\r\n```\r\n\r\n## 🤖 Usage\r\n\r\nRun the docker container:\r\n```sh\r\ndocker run --rm -it gpt2_bot\r\n```\r\n\r\nThere are 2 different ways to use the chatbot: `train` and `interact` mode\r\n\r\n### Interaction mode\r\nTo launch the chatbot run the following command. Specify `--checkpoint` path to your model\r\n```sh\r\npython chatbot.py --mode interact --checkpoint path/to/model.h5\r\n```\r\n\r\n### Train mode\r\nTo train the model run the following command. Specify `--checkpoint` if you needed\r\n```sh\r\npython chatbot.py --mode train\r\n```\r\n\r\n## 📝 License\r\n\r\nCopyright © 2022 [xcapt0](https://github.com/xcapt0).\u003cbr /\u003e\r\nThis project is [MIT](https://github.com/xcapt0/gpt2_chatbot/blob/master/LICENSE) licensed.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcapt0%2Fgpt2_chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxcapt0%2Fgpt2_chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcapt0%2Fgpt2_chatbot/lists"}