Downloads · 30 days
138
93% of all-time downloads
fse/glove-wiki-gigaword-200
glove-wiki-gigaword-200 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
138
93% of all-time downloads
All-time downloads
149
Public
Repo size
341 MB
Likes
0
Public
Click a slice to open those files.
.npy320 MB · 94%
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-200")
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-200", mmap="r") memory-maps the vectors instead of loading them into RAM.
| File | Content |
|---|---|
glove-wiki-gigaword-200.model | gensim KeyedVectors (vocabulary and metadata) |
glove-wiki-gigaword-200.model.vectors.npy | 400,000 × 200 float32 vectors (320 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.