Downloads · 30 days
1.3K
96% of all-time downloads
fse/glove-wiki-gigaword-100
glove-wiki-gigaword-100 is a machine learning model from fse. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for fse. The card lists the license as pddl.
Pre-trained GloVe vectors for 400,000 English words, trained on Wikipedia 2014 and Gigaword 5 (6 billion tokens), uncased.
Downloads · 30 days
1.3K
96% of all-time downloads
All-time downloads
1.3K
Public
Repo size
181 MB
Likes
4
Trending 1
Click a slice to open those files.
.npy160 MB · 88%
From the Hugging Face model README
Pre-trained GloVe vectors for 400,000 English words, trained on Wikipedia 2014 and Gigaword 5 (6 billion tokens), uncased.
This is a gensim model, packaged for fse (Fast Sentence Embeddings), which turns word vectors into sentence vectors with CBOW averaging, SIF and uSIF.
This repository uses the fse 1.x API and requires fse<2.
For fse 2.0, choose a finished encoder from the classic model catalog.
See the migration guide before upgrading.
pip install "fse<2"
from fse import SIF, IndexedList, Vectors
vectors = Vectors.from_pretrained("glove-wiki-gigaword-100")
model = SIF(vectors)
sentences = IndexedList([["hello", "world"], ["fast", "sentence", "embeddings"]])
model.train(sentences)
model.sv[0] # the vector of the first sentence
Vectors.from_pretrained("glove-wiki-gigaword-100", mmap="r") memory-maps the vectors instead of loading them into RAM.
| File | Content |
|---|---|
glove-wiki-gigaword-100.model | gensim KeyedVectors (vocabulary and metadata) |
glove-wiki-gigaword-100.model.vectors.npy | 400,000 × 100 float32 vectors (160 MB) |
The vectors were published by the Stanford NLP Group with GloVe under the Public Domain Dedication and License. This repository redistributes them in the gensim format.
fse is maintained by Dr. Oliver Borchers. Source code, documentation and the STS benchmark of all vector sets in this organization: github.com/oborchers/Fast_Sentence_Embeddings.