NeuML/word2vec

🤗 Hugging Face 来源sentence-similarityapache-2.0900M 参数3.6 GBsafetensors✓ 3 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo NeuML/word2vec ./model-folder
需要做种者 →

Word2Vec StaticVectors model

This model is an export of these Word2Vec Vectors for staticvectors. staticvectors enables running inference in Python with NumPy. This helps it maintain solid runtime performance.

Usage with StaticVectors

from staticvectors import StaticVectors

model = StaticVectors("neuml/word2vec")
model.embeddings(["word"])

Given that pre-trained embeddings models can get quite large, there is also a SQLite version that lazily loads vectors.

from staticvectors import StaticVectors

model = StaticVectors("neuml/word2vec/model.sqlite")
model.embeddings(["word"])