December 2018
Beginner to intermediate
684 pages
21h 9m
English
GloVe is an unsupervised algorithm developed at the Stanford NLP lab that learns vector representations for words from aggregated global word-word co-occurrence statistics (see references). Vectors pretrained on the following web-scale sources are available:
We can use gensim to convert and load the vector text files into the KeyedVector object:
from gensim.models import Word2vec, KeyedVectors from gensim.scripts.glove2Word2vec import glove2Word2vecglove2Word2vec(glove_input_file=glove_file, ...