GloVe

用于流行分布式词表示模型 GloVe 的 C 语言软件及数据文件,即词向量或嵌入向量。「Software in C and data files for the popular GloVe model for distributed word representations, a.k.a. word vectors or embeddings」

  • 所有者: stanfordnlp/GloVe
  • 平台: Linux,Mac
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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.

主要指標

概覽
名稱與所有者stanfordnlp/GloVe
主編程語言C
編程語言Makefile (語言數: 5)
平台
許可證Apache License 2.0
所有者活动
創建於2015-09-01 17:21:18
推送於2025-07-27 18:05:10
最后一次提交2025-07-27 11:05:09
發布數2
最新版本名稱1.2 (發布於 )
第一版名稱1.1 (發布於 )
用户参与
星數7.1k
關注者數232
派生數1.5k
提交數186
已啟用問題?
問題數162
打開的問題數80
拉請求數48
打開的拉請求數2
關閉的拉請求數18
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?