|
Download README.md from NeuML/fasttext: direct link, hf CLI and curl.
- Browser
- Download file 883 Bytes
-
https://huggingface.co/NeuML/fasttext/resolve/main/README.md
- Command line
-
hf download hf://NeuML/fasttext/README.md
-
curl -L -o README.md https://huggingface.co/NeuML/fasttext/resolve/main/README.md
883 Bytes
metadata
tags:
- sentence-similarity
inference: false
license: cc-by-sa-3.0
language: en
library_name: staticvectors
FastText StaticVectors model
This model is an export of these FastText English Vectors (wiki-news-300d-1M-subword.vec.zip) 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/fasttext")
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/fasttext/model.sqlite")
model.embeddings(["word"])