vector-index-bench/vibe
This repository contains the datasets presented in VIBE: Vector Index Benchmark for Embeddings: https://github.com/vector-index-bench/vibe The datasets can be downloaded manually from this repository, but the benchmark framework also downloads them automatically. Datasets In-distribution datasets Name Type n d Distance agnews-mxbai-1024-euclidean Text 769,382 1024 euclidean arxiv-nomic-768-normalized Text 1,344,643 768 any dpr-jina-768-normalized… See the full description on the dataset page: https://huggingface.co/datasets/vector-index-bench/vibe.
This repository contains the datasets presented in VIBE: Vector Index Benchmark for Embeddings:
https://github.com/vector-index-bench/vibe
The datasets can be downloaded manually from this repository, but the benchmark framework also downloads them automatically.
Datasets
In-distribution datasets
Out-of-distribution datasets
Deprecated datasets
Deprecated datasets will remain available, but their benchmark results will not be updated in the future.
Credit
The glove-200-cosine dataset uses embeddings from Glove (released under PDDL 1.0): https://nlp.stanford.edu/projects/glove/
The laion-clip-512-normalized dataset uses a subset of embeddings from LAION-400M (released under CC-BY 4.0): https://laion.ai/blog/laion-400-open-dataset/
The yandex-200-cosine dataset uses a subset of embeddings from Yandex Text2Image (released under CC-BY 4.0): https://big-ann-benchmarks.com/neurips23.html
Dataset structure
Each dataset is distributed as an HDF5 file.
The HDF5 files contain the following attributes:
- dimension: The dimensionality of the data.
- distance: The distance metric to use.
- point_type: The precision of the vectors, one of "float", "uint8", or "binary".
The HDF5 files contain the following HDF5 datasets:
- train: numpy array of size (n_corpus, dim) containing the embeddings used to build the vector index
- test: numpy array of size (n_test, dim) containing the test query embeddings
- neighbors: numpy array of size (n_test, 100) containing the IDs of the true 100 k-nn of each test query
- distances: numpy array of size (n_test, 100) containing the distances of the true 100 k-nn of each test query
- avgdistances: numpy array of size ntest containing the average distance from each test query to the corpus points
Additionally, the HDF5 files of OOD datasets contain the following HDF5 datasets:
- learn: numpy array of size (n_learn, dim) containing a larger sample from the query distribution
- learnneighbors: numpy array of size (nlearn, 100) containing the true 100 k-nn (from the corpus) for each point in learn
