Datasets:
Tags:
arxiv:2407.12854
License:
license: mit | |
We release the raw passages, embeddings, and index of MassiveDS. | |
Website: https://retrievalscaling.github.io | |
## Versions | |
We release two versions of MassiveDS: | |
1. [MassiveDS-1.4T](https://huggingface.co/datasets/rulins/MassiveDS-1.4T), which contains 1.4T tokens in the datastore. | |
2. [MassiveDS-140B](https://huggingface.co/datasets/rulins/MassiveDS-140B), which is a subsampled version containing 140B tokens in the datastore. | |
**Note**: | |
* Due to large data volume, **we are still uploading the data for MassiveDS-1.4T** (ETA: July 31). | |
* MassiveDS-140B is ready to go. Please try our 10% subsampled version first! | |
* Code support to run with MassiveDS is in https://github.com/RulinShao/retrieval-scaling. | |
## File structure | |
* `raw_data`: plain data in JSONL files. | |
* `passages`: chunked raw passages with passage IDs. Each passage is chunked to have no more than 256 words. | |
* `embeddings`: embeddings of the passages encoded with Contriever-MSMACRO. | |
* `index`: flat index built with embeddings. | |
## Download | |
We recommend using Git LFS to download large files. We provide an example script below. | |
First, clone the Git history only to start working with it. | |
```bash | |
git clone --filter=blob:none https://huggingface.co/datasets/rulins/MassiveDS-1.4T | |
cd MassiveDS-1.4T/ | |
``` | |
(Optionally) Specify the directory that you want to partially download, e.g., the `embeddings` only. Skip this step if you want to download everything. | |
```bash | |
git sparse-checkout init --cone | |
git sparse-checkout set embeddings | |
``` | |
Finally, pull the data. | |
```bash | |
git lfs install | |
git lfs pull | |
``` | |