glove-6B / README.md
davidmezzetti's picture
Initial version
a5d0cac
metadata
tags:
  - sentence-similarity
inference: false
license: pddl
language: en
library_name: staticvectors

GloVe-6B StaticVectors model

This model is an export of these GloVe-6B English Vectors (300d) 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/glove-6B")
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/glove-6B/model.sqlite")
model.embeddings(["word"])