File size: 1,595 Bytes
199c3cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
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
```