Papers › Leader: Prefixing a Length for Faster Word Vector Serialization

Leader: Prefixing a Length for Faster Word Vector Serialization

29 Sep 2020arXiv:2009.13699archive 2025-07-28

Brian Lester

Two competing file formats have become the de facto standards for distributing pre-trained word embeddings. Both are named after the most popular pre-trained embeddings that are distributed in that format. The GloVe format is an entirely text based format that suffers from huge file sizes and slow reads, and the word2vec format is a smaller binary format that mixes a textual representation of words with a binary representation of the vectors themselves. Both formats have problems that we solve with a new format we call the Leader format. We include a word length prefix for faster reads while maintaining the smaller file size a binary format offers. We also created a minimalist library to facilitate the reading and writing of various word vector formats, as well as tools for converting pre-trained embeddings to our new Leader format.

PaperPDFCode

Code

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Word Embeddings

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

GloVe

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections