-
Notifications
You must be signed in to change notification settings - Fork 147
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
如何输出词向量? #4
Comments
您可以参考这个issue。 |
谢谢,目前能输出word embedding了,但是这个应该是字的embedding吧?需要怎么将它组合成词的embedding呢?比如:‘民事’
Embedding(23283, 768, padding_idx=0)
|
Bert本身只能提供字的向量,他是基于词表的,如果训练一个基于词的词表才可能获得词向量。 |
非常感谢。请问下有哪些方法去训练词的向量呢?出来的效果会比字的好吗?是否可以在基于字的基础上训练出一个基于词的呢? |
可以直接作为embedding 来用吗? @zzy14 |
加载这个模型之后,如何输出词向量。Google的模型可以输出768维的向量,这个如何弄呢?
The text was updated successfully, but these errors were encountered: