{"id":13642862,"url":"https://github.com/zhaoyingjun/chatbot","last_synced_at":"2025-05-14T18:05:51.382Z","repository":{"id":37381851,"uuid":"116697549","full_name":"zhaoyingjun/chatbot","owner":"zhaoyingjun","description":"ChatGPT带火了聊天机器人，主流的趋势都调整到了GPT类模式，本项目也与时俱进，会在近期更新GPT类版本。基于本项目和自己的语料可以训练出自己想要的聊天机器人，用于智能客服、在线问答、闲聊等场景。","archived":false,"fork":false,"pushed_at":"2024-06-26T13:37:21.000Z","size":79315,"stargazers_count":3569,"open_issues_count":96,"forks_count":1024,"subscribers_count":112,"default_branch":"master","last_synced_at":"2025-04-10T04:53:48.578Z","etag":null,"topics":["ai","chatbot","nlp-machine-learning","python","pytorch","seq2seq-chatbot","seqgan","seqgan-tensorflow","tensorflow2"],"latest_commit_sha":null,"homepage":"","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/zhaoyingjun.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":"2018-01-08T16:00:08.000Z","updated_at":"2025-04-09T03:06:52.000Z","dependencies_parsed_at":"2022-07-22T06:18:02.534Z","dependency_job_id":"dac9a0d5-2e5c-494c-9466-13de85a02ae3","html_url":"https://github.com/zhaoyingjun/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/zhaoyingjun%2Fchatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaoyingjun%2Fchatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaoyingjun%2Fchatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaoyingjun%2Fchatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhaoyingjun","download_url":"https://codeload.github.com/zhaoyingjun/chatbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198514,"owners_count":22030965,"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":["ai","chatbot","nlp-machine-learning","python","pytorch","seq2seq-chatbot","seqgan","seqgan-tensorflow","tensorflow2"],"created_at":"2024-08-02T01:01:37.382Z","updated_at":"2025-05-14T18:05:46.371Z","avatar_url":"https://github.com/zhaoyingjun.png","language":"Python","readme":"# chatbot\nChatGPT带火了聊天机器人，主流的趋势都调整到了GPT类模式，本项目也与时俱进，会在近期更新更新GPT类版本。\n这是一个可以使用自己语料进行训练的中文聊天机器人项目，欢迎大家实践交流以及Star、Fork。\n# Seq2Seq版本效果参考（训练进度50%）\n![img_1.png](img_1.png) ![img_2.png](img_2.png)\n# RoadMap:\nV1.1:Update:2024-09-30\n\n1)增加MindSpore版本，优先在MindSpore版本上引入GPT模型，RLHF等特性。\n\n2）整体工程架构分为Seq2Seq和GPT两大分支，继续保持多AI框架版本演进。\n\n\nV1.2:Update:2024-12-30(Maybe)\n\n1）实现类似mini-GPT4的功能，可以进行图文多模态的对话，主要提升趣味性和丰富性。\n\n2）增强分布式集群训练相关能力和RLHF等特性。\n\n# seq2seq版本代码执行顺序\n大家可以使用小黄鸡的语料，下载地址https://github.com/zhaoyingjun/chatbot/blob/master/chineseChatbotWeb-tf2.0/seq2seqChatbot/train_data/xiaohuangji50w_nofenci.conv\n\n1）、在下载好代码和语料之后，将语料文件放入train_data目录下，超参配置在config/seq2seq.ini文件中配置。。\n\n2）、按照数据预处理器（data_utls.py)--\u003eexecute.py(执行器)--\u003eapp.py（可视化对话模块）的顺序执行就可以了。\n\n3）、大规模分布式训练版本，参照horovod的启动方式 horovodrun -np n -H host1_ip:port,host2_ip:port,hostn_ip:port python3 excute.py\n# 建议训练环境配置\nubuntu==18.04  \npython==3.6  \n\nTF2.X:\n\ntensorflow==2.6.0\n\nflask==0.11.1\n\nhorovod==0.24(分布式训练)\n\npytorch:\n\ntorch==1.11.0\n\nflask==0.11.1\n\n# 开源交流、联系方式\nQQ：934389697\n","funding_links":[],"categories":["A01_文本生成_文本对话","Chatbots","Natural Language Processing","Python"],"sub_categories":["大语言对话模型及数据","Conversation \u0026 Translation"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaoyingjun%2Fchatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhaoyingjun%2Fchatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaoyingjun%2Fchatbot/lists"}