Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

GloVe

> 编程语言
Open source

Software in C and data files for the popular GloVe model for distributed word representations, a.k.a. word vectors or embeddings

7.2K stars0 likes1 views
WebsiteGitHub

About

Software in C and data files for the popular GloVe model for distributed word representations, a.k.a. word vectors or embeddings

GloVe: Global Vectors for Word Representation

nearest neighbors of
frog
Litoria Leptodactylidae Rana Eleutherodactylus
Pictures
Comparisons man -> woman city -> zip comparative -> superlative
GloVe Geometry

We provide an implementation of the GloVe model for learning word representations, and describe how to download web-dataset vectors or train your own. See the project page or the paper for more information on glove vectors. For documentation and analysis of 2024 vectors, please see the report

Download pre-trained word vectors **NEW 2024 VECTORS**

The links below contain word vectors obtained from the respective corpora. If you want word vectors trained on massive web datasets, you need only download one of these text files! Pre-trained word vectors are made available under the Public Domain Dedication and License.

Train word vectors on a new corpus

If the web datasets above don't match the semantics of your end use case, you can train word vectors on your own corpus.

$ git clone https://github.com/stanfordnlp/glove
$ cd glove && make
$ ./demo.sh

Make sure you have the following prerequisites installed when running the steps above:

  • GNU Make
  • GCC (Clang pretending to be GCC is fine)
  • Python and NumPy

The demo.sh script downloads a small corpus, consisting of the first 100M characters of Wikipedia. It collects unigram counts, constructs and shuffles cooccurrence data, and trains a simple version of the GloVe model. It also runs a word analogy evaluation script in python to verify word vector quality. More details about training on your own corpus can be found by reading demo.sh or the src/README.md

2024 Vector Documentation

The training scripts and data preprocessing pipeline used for training the 2024 vectors can be found in the Training_README.md

Analysis and more documentation for the new vectors can be found in this report

License

All work contained in this package is licensed under the Apache License, Version 2.0. See the include LICENSE file.

Issues· 83 open

View all issuesOpen on GitHub
  • #232

    Efficiency PR Inquiry

    Updated Feb 2, 2026
  • #154

    Does GloVe offer APIs to get the training vocabulary & word frequency?

    Updated Jan 11, 2026
  • #223

    GloVe running command 'make' is error

    Updated Aug 10, 2025
  • #230

    Rust Port of GloVe (GloVe-rs)

    Updated Jul 24, 2025
  • #221

    The website uses too low contrast.

    Updated Nov 21, 2023
  • #218

    there may be a bug in cooccur.c when the bin file is empty

    Updated Aug 23, 2023
  • #214

    How to speed up for large dataset

    Updated Apr 20, 2023
  • #210

    Poor Results on Large Corpus

    Updated Apr 11, 2023
  • #208

    Issues unzipping the Common Crawl Pretrained Vectors

    Updated Jan 3, 2023
  • #135

    make error

    Updated Dec 10, 2022

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 2, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言