chatbot

所属分类:数值算法/人工智能
开发工具:Python
文件大小:38848KB
下载次数:0
上传日期:2023-03-19 15:03:50
上 传 者sh-1993
说明:  一个可以自己进行训练的中文聊天机器人, 根据自己的语料训练出自己想要的聊天机器人,可以用于智能客服、在线问答、智能聊天等场景。目前包含seq2seq、seqGAN版本、tf2.0版本、pytorch版本。 ,
(Chatbot, a Chinese chat robot that can be trained on its own, trains the desired chat robot based on its own corpus, and can be used in scenarios such as intelligent customer service, online Q&A, and intelligent chat. Currently includes seq2seq, seqGAN version, tf2.0 version, and pytorch version.)

文件列表:
Chatbot-tensowflow2.0 (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\config (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\config\getConfig.py (656, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\config\seq2seq.ini (774, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\data_util.py (2898, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\execute.py (7710, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\seq2seqModel.py (5441, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\css (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\css\normalize.css (2223, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\css\style.css (12934, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\js (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\js\index.js (1823, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\js\jquery-latest.js (282766, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\js\jquery.mCustomScrollbar.concat.min.js (44715, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\js\jquery.mCustomScrollbar.min.css (42839, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\js\jquery.min.js (84355, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\res (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\res\botim.png (712790, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\res\easybot.png (17119, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\scss (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\static\scss\style.scss (7041, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\templates (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\templates\index.html (1143, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\train_data (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\train_data\inp.vocab (9793295, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\train_data\seq.data (22634454, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\train_data\tar.vocab (8454817, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\web (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\web\app.py (1759, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\web\static (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\web\static\css (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\web\static\css\normalize.css (2223, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\web\static\css\style.css (12934, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\web\static\js (0, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\web\static\js\index.js (1823, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\web\static\js\jquery-latest.js (282766, 2022-07-18)
Chatbot-tensowflow2.0\Distribute_seq2seqchatbot\web\static\js\jquery.mCustomScrollbar.concat.min.js (44715, 2022-07-18)
... ...

# chatbot 这是一个可以使用自己语料进行训练的中文聊天机器人项目,包含tensorflow.2x版本和pytorch版本,欢迎大家实践交流以及Star。 #单机版训练效果(loss值在0.5左右): ![image](https://user-images.githubusercontent.com/12******43/178111215-930d9627-2397-44e8-9db2-3a6339b5786f.png) # ReleaseNote: V1.0: 1)重新整合了工程架构,实现全工程项目的统一,并正式发布1.0版本; 2)新增了大规模分布式训练版本,依托horovod分布式训练框架; 3)pytorch版本进行了更新,增加batch_size训练模式。 # RoadMap: V1.1:Update:2022-09-30 1)增加FAQ问答机器人模块,可以实现闲聊与FAQ问答之间的无缝切换; 2)增加大规模分布式训练的pytorch版本,同样依托horovod分布式训练框架; 3)优化pytorch版本的效果和代码,使代码结构更加合理。 V1.2:Update:2022-12-30 1)引入基于 Transformer的预训练模型作为聊天机器人的后台支撑模型,并实现基于自有语料的fine tune。 V1.3:Update:2023-03-30 1)发布SeqGAN版本 # seq2seq版本代码执行顺序 大家可以使用小黄鸡的语料,语料地址在train_data目录下,直接解压即可使用。 1)、在下载好代码和语料之后,将语料文件放入train_data目录下,超参配置在config/seq2seq.ini文件中配置,配置正确的语料文件名。 2)、按照数据预处理器(data_utls.py)-->execute.py(执行器)-->app.py(可视化对话模块)的顺序执行就可以了。 3)、大规模分布式训练版本,参照horovod的启动方式 horovodrun -np n -H host1_ip:port,host2_ip:port,hostn_ip:port python3 excute.py # 建议环境 ubuntu==18.04 python==3.6 TF2.X: tensorflow==2.6.0 flask==0.11.1 horovod==0.24(分布式训练) Pytorch: torch==1.11.0 flask==0.11.1 # 参考代码和文献 http://blog.topspeedsnail.com/archives/10735/comment-page-1#comment-1161。 http://www.easyapple.net/?p=1384&from=singlemessage&isappinstalled=0。 https://github.com/zpppy/seqGan_chatbot # 交流、联系方式 QQ:934389697

近期下载者

相关文件


收藏者