Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code #12

Open
xiao-ming-code opened this issue Oct 23, 2021 · 5 comments
Open

code #12

xiao-ming-code opened this issue Oct 23, 2021 · 5 comments

Comments

@xiao-ming-code
Copy link

代码中的 empty 是表示论文里面的 C 么?
info 这个特别字符表示的是什么意思呢?

}O}3ZG%6%G}OVH_T~)XS S8
在编码的时候只添加了history,后面的responsez这个后面是没有使用么?

@xiao-ming-code
Copy link
Author

麻烦问下在每句话中添加的特定字符,如何在隐藏向量中提取C ,然后如何使用 得到的 I 去控制生成我们要的回复,能告诉我具体的实现位置么,非常感谢

@xiao-ming-code
Copy link
Author

你好,所用的数据集都是一问一答(一句提问,多种回答),是这样么,那怎么提取后面的C呢,不是应该是多轮对话提取对话中的么????

@lizekang
Copy link
Collaborator

代码中的 empty 是表示论文里面的 C 么? info 这个特别字符表示的是什么意思呢?

}O}3ZG%6%G}OVH_T~)XS S8 在编码的时候只添加了history,后面的responsez这个后面是没有使用么?

代码中的empty是表示的论文中的C。
info这个特殊字符没有使用。
在解码的时候只使用了history,responses只是用来做评估的。

@lizekang
Copy link
Collaborator

麻烦问下在每句话中添加的特定字符,如何在隐藏向量中提取C ,然后如何使用 得到的 I 去控制生成我们要的回复,能告诉我具体的实现位置么,非常感谢

在model.py中,L265~L298。

@lizekang
Copy link
Collaborator

你好,所用的数据集都是一问一答(一句提问,多种回答),是这样么,那怎么提取后面的C呢,不是应该是多轮对话提取对话中的么????

是多轮对话,并不是一句提问,history有很多句的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants