File size: 2,160 Bytes
199c3cc
 
a461d5c
 
199c3cc
 
 
 
 
 
 
 
 
d9d45ea
 
 
 
 
 
199c3cc
 
e404b14
199c3cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a461d5c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
license: mit
tags:
- arxiv:2407.12854
---

We release the raw passages, embeddings, and index of MassiveDS.

Website: https://retrievalscaling.github.io

## Versions
We release two versions of MassiveDS:

* MassiveDS-1.4T
  * [MassiveDS-1.4T](https://huggingface.co/datasets/rulins/MassiveDS-1.4T), which contains the embeddings and passages of the 1.4T-token datastore.
  * [MassiveDS-1.4T-raw-text](https://huggingface.co/datasets/rulins/MassiveDS-1.4T-raw-text), which contains the raw text of the 1.4T-token datastore.
* MassiveDS-140B
  * [MassiveDS-140B](https://huggingface.co/datasets/rulins/MassiveDS-140B), which contains the **index, embeddings, passages, and raw text** of a subsampled version containing 140B tokens in the datastore.
 
**Note**: 

* We have uploaded all passages and embeddings for MassiveDS-1.4T. Please refer to the Github repo for detailed usage. You can rebuild the flat index directly using the embedding without doing extra computation. Due to file size limit by HF, we are looking for an althernative place to serve the indices. For direct access, please contact [email protected].
* 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
```