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

您好,怎么使用上传的已训练模型呢 #3

Open
ShengXiaoXiao opened this issue Sep 2, 2020 · 4 comments
Open

您好,怎么使用上传的已训练模型呢 #3

ShengXiaoXiao opened this issue Sep 2, 2020 · 4 comments

Comments

@ShengXiaoXiao
Copy link

No description provided.

@mawentao277
Copy link
Owner

你好:
PR-Embedding一般有两种使用方式:
1、特征计算:基于BOW和cosine的特征计算,P-Emb用于表示上文,R-Emb表示候选回复,类似论文中单轮实验;
2、神经网络:分别为上文context和下文reply新建一个Embedding layer,其权重分别用P-Emb和R-Emb初始化,网络其他结构不变,类似于论文中基于KVMenn模型的多轮实验。
谢谢!

@ShengXiaoXiao
Copy link
Author

您好,感谢回复。
就是上传的代码里面,怎么加载模型使用,具体这块信息说明没看到。

@mawentao277
Copy link
Owner

你好:
上传的代码主要用于Embedding的训练,不涉及模型加载,不太懂你的需求~

@ShengXiaoXiao
Copy link
Author

你好:
上传的代码主要用于Embedding的训练,不涉及模型加载,不太懂你的需求~

恩,就是想问下模型加载这块的代码,试用下

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