Leader: Prefixing a Length for Faster Word Vector Serialization

09/29/2020
by   Brian Lester, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/17/2016

The polymake XML file format

We describe an XML file format for storing data from computations in alg...
research
10/25/2020

Autoencoding Improves Pre-trained Word Embeddings

Prior work investigating the geometry of pre-trained word embeddings hav...
research
07/13/2023

scda: A Minimal, Serial-Equivalent Format for Parallel I/O

We specify a file-oriented data format suitable for parallel, partition-...
research
04/17/2018

When and Why are Pre-trained Word Embeddings Useful for Neural Machine Translation?

The performance of Neural Machine Translation (NMT) systems often suffer...
research
01/27/2020

The POLAR Framework: Polar Opposites Enable Interpretability of Pre-Trained Word Embeddings

We introduce POLAR - a framework that adds interpretability to pre-train...
research
11/30/2021

RawArray: A Simple, Fast, and Extensible Archival Format for Numeric Data

Raw data sizes are growing and proliferating in scientific research, dri...
research
10/17/2019

Unshuffling fields in data formats

Data format reverse engineering commonly involves identifying conserved ...

Please sign up or login with your details

Forgot password? Click here to reset