简体   繁体   English

我在哪里可以下载预训练的 word2vec 地图?

[英]where can i download a pretrained word2vec map?

I have been learning about NLP models and came across word embedding, and saw the examples in which it is possible to see relations between words by calculating their dot products and such.我一直在学习 NLP 模型并遇到了词嵌入,并看到了可以通过计算单词的点积等来查看单词之间关系的示例。

What I am looking for is just a dictionary, mapping words to their representative vectors, so I can play around with it.我正在寻找的只是一本字典,将单词映射到它们的代表向量,这样我就可以使用它了。 I know that I can build a model and train it and create my own map but I just want the already trained map as a python variable.我知道我可以建立一个模型并训练它并创建我自己的地图,但我只想要已经训练好的地图作为 python 变量。

You can try out google's word2vec model trained with about 100 billion words from various news articles.你可以试试用来自各种新闻文章的大约 1000 亿个单词训练的 google 的word2vec模型。

An interesting fact about word vectors, w2v(king) - w2v(man) + w2v(woman) = w2v(queen)关于词向量的一个有趣事实, w2v(king) - w2v(man) + w2v(woman) = w2v(queen)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM