zhaoyingjun / chatbot

ChatGPT带火了聊天机器人,主流的趋势都调整到了GPT类模式,本项目也与时俱进,会在近期更新GPT类版本。基于本项目和自己的语料可以训练出自己想要的聊天机器人,用于智能客服、在线问答、闲聊等场景。
3.51k stars 1.02k forks source link

pytorch 版本里有一个变量没有定义 #109

Open Python-time opened 3 years ago

Python-time commented 3 years ago

NameError: name 'max_length_tar' is not defined 请问找个变量名怎么定义变量 谢谢

t0o-yang commented 3 years ago

参照chatbot-master\chineseChatbotWeb-tf2.0\seq2seqChatbot中execute,加上“max_length_tar=20‘