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

Various Co-occurrence Information 训练方式 #131

Open
wawltor opened this issue Dec 7, 2020 · 1 comment
Open

Various Co-occurrence Information 训练方式 #131

wawltor opened this issue Dec 7, 2020 · 1 comment

Comments

@wawltor
Copy link

wawltor commented Dec 7, 2020

Co-occurrence Type 中有涉及 Word → Character (1-4) ,Word → Word (left/right), Word → Word (distance) 协同的训练方式,具体的含义是什么了,能不能大概介绍一下上面列出那几种训练的方式? 谢谢!!

@shenshen-hungry
Copy link
Collaborator

shenshen-hungry commented Dec 20, 2020

这个可以参见ngram2vec项目。ngram2vec的target和context分开的模式,使得更容易修改context,比如增加更多的context类型。

简单来说,Word → Character (1-4)是用Word来预测Character ngram,Word → Word (left/right)是Word预测Word同时也预测这个Word是左边的还是右边的,Word → Word (distance)是在预测词的时候预测距离。

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