深度学习聊天机器人资源集合 Awesome chatbot resource list

At 2019-03-14 fate wrote in 博客. 2489 viewer.

cover

Contributions Welcome

Know a resource that isn't listed below? Feel free to create a new pull request, or open an issue.Seq2seq/chatbot/聊天机器人相关资源收集列表。

在原来的chatbot-links的基础上,添加了一些更多的中文资源而组建的一个List,主要用于个人收集。感兴趣,一起建设完善的资源列表,方便萌新入门,请发送PR或Issue添加更多资源,各层面不限,欢迎添加自己的作品。


Codes

chatbot-rnn

Framework tensorflow

A toy chatbot powered by deep learning and trained on data from Reddit.

> Hi, how are you? I'm not the only one here that's having fun with you, it's all me. > Who else is with you? Haha. I'm not the one who made the comment. I'm the one who said that and didn't think that much of anything. > Oh, I see. So what's new? Nothing. I just thought it was a bit of an overreaction. It's been a while since I've read it. > It's all good It's all good. It's one of those things that makes me smile :) > That's great. This is actually my demo chat, so it's nice that you're keeping things positive! Thank you :)

DeepQA

Framework: Tensorflow Demo result:

Hi                          → Hi.
What is your name ?         → Laura.
What does that mean ?       → I dunno.
How old are you ?           → thirty-five.
Who is Laura ?              → My brother.
Say 'goodbye'               → Alright.
Two plus two                → manny...

tf_seq2seq_chatbot

Framework: Tensorflow

No answering randomisation is implemented in this code, so the models answers with the same phrase way each time: 未实现回答的是随机化,仅对模型的末尾加入了稀疏层。

hello baby                  → hello
how old are you ?           → twenty .
i am lonely                 → i am not
nice                        → you ' re not going to be okay .
so rude                     → i ' m sorry .
are you a robot or human?   → no .
are you better than siri?   → yes .

machine translation model

Framework: Tensorflow

Google Official seq2seq implementation, attention included. Originlly for translation, can be used as Q/A; Google官方的seq2seq实现,采用了注意力机制(Luong et al., 2015),原本用于语言翻译,也适用于简单Q/A。