File size: 1,648 Bytes
3d9b5e1
 
 
 
 
 
 
 
7ef6d22
3d9b5e1
dd7a87e
 
 
3d9b5e1
7ef6d22
 
 
 
3d9b5e1
 
 
 
 
7ef6d22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
234ba05
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
---
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 the embeddings and passages of the 1.4T-token datastore.
2. [MassiveDS-1.4T-raw-text](https://huggingface.co/datasets/rulins/MassiveDS-1.4T-raw-text), contains the raw text of the 1.4T-token datastore.
3. [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**: 
* 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
```