Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/292.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 训练我的聊天机器人_Python_Machine Learning_Nlp_Chatbot - Fatal编程技术网

Python 训练我的聊天机器人

Python 训练我的聊天机器人,python,machine-learning,nlp,chatbot,Python,Machine Learning,Nlp,Chatbot,我目前正在用Python开发ChatterBot。在这样做的同时,我陷入了如何训练我的模特的困境。由于我的机器人中有一长串常见问题,所以有谁能帮我提供一个正确的代码,说明我如何通过手动编写每个问题和答案来训练我的模型。我建议你看看序列预测,也称为“序列到序列学习”。谷歌的TensorFlow实现了这个模型,称为。Suriyadeepan Ram写了一篇很好的文章,其中包含了代码,标题为What should help you start

我目前正在用Python开发ChatterBot。在这样做的同时,我陷入了如何训练我的模特的困境。由于我的机器人中有一长串常见问题,所以有谁能帮我提供一个正确的代码,说明我如何通过手动编写每个问题和答案来训练我的模型。

我建议你看看序列预测,也称为“序列到序列学习”。谷歌的TensorFlow实现了这个模型,称为。Suriyadeepan Ram写了一篇很好的文章,其中包含了代码,标题为What should help you start