中文聊天机器人,基于10万组对白训练而成,采用注意力机制,对一般问题都会生成一个有意义的答复。已上传模型,可直接运行。
程序 | 版本 |
---|---|
python | 3.68 |
tensorflow | 1.13.1 |
Keras | 2.2.4 |
windows10 | |
jupyter |
青云语料库10万组对话,在google colaboratory训练。
get_data
chatbot_train
(此为挂载到google colab版本,本地跑对路径等需略加修改)chatbot_inference_Attention
chatbot_inference_Attention
models/W--184-0.5949-.h5