Update README.md
Browse files
README.md
CHANGED
|
@@ -1,66 +1,72 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: odc-by
|
| 3 |
-
task_categories:
|
| 4 |
-
- text-generation
|
| 5 |
-
language:
|
| 6 |
-
- en
|
| 7 |
-
tags:
|
| 8 |
-
- redpajama
|
| 9 |
-
- v2
|
| 10 |
-
- 1B
|
| 11 |
-
- parquet
|
| 12 |
-
|
| 13 |
-
-
|
| 14 |
-
--
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
## Dataset
|
| 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 |
-
```
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: odc-by
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- redpajama
|
| 9 |
+
- v2
|
| 10 |
+
- 1B
|
| 11 |
+
- parquet
|
| 12 |
+
- redpajama
|
| 13 |
+
- reference-reproduction
|
| 14 |
+
- benchmark-subset
|
| 15 |
+
- open-pretraining-data
|
| 16 |
+
- reproducible-dataset
|
| 17 |
+
- data-slicing
|
| 18 |
+
size_categories:
|
| 19 |
+
- 1B<n<10B
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# RedPajama-Data-V2 1B
|
| 23 |
+
|
| 24 |
+
## Dataset Description
|
| 25 |
+
This is a **1.01 Billion token** subset of the [togethercomputer/RedPajama-Data-V2](https://huggingface.co/datasets/togethercomputer/RedPajama-Data-V2) dataset (specifically derived from the `sample-10B` config). It was created by randomly sampling the source data.
|
| 26 |
+
|
| 27 |
+
## Motivation
|
| 28 |
+
RedPajama V2 is a state-of-the-art web dataset with rich quality signals. This 1B token subset allows for rapid testing of these quality signals or other filtering experiments without needing to process the full multi-trillion token dataset.
|
| 29 |
+
|
| 30 |
+
## Dataset Details
|
| 31 |
+
- **Total Tokens:** 1,005,000,066 (~1.01B)
|
| 32 |
+
- **Source:** [togethercomputer/RedPajama-Data-V2](https://huggingface.co/datasets/togethercomputer/RedPajama-Data-V2) (config: `sample-10B`)
|
| 33 |
+
- **Structure:** Randomized slice of the source dataset.
|
| 34 |
+
- **Format:** Parquet (Snappy compression)
|
| 35 |
+
- **Producer:** Kris Bailey (kris@krisbailey.com)
|
| 36 |
+
|
| 37 |
+
## Usage
|
| 38 |
+
|
| 39 |
+
```python
|
| 40 |
+
from datasets import load_dataset
|
| 41 |
+
|
| 42 |
+
ds = load_dataset("krisbailey/RedPajama-Data-V2-1B", split="train")
|
| 43 |
+
print(ds[0])
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
## Subsets & Slicing
|
| 47 |
+
Since this dataset was randomly shuffled during creation, you can safely slice it to get smaller, representative datasets (e.g., for scaling laws experiments) without needing to download the full dataset.
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
# 100M Token Subset (approx 10%)
|
| 51 |
+
ds_100m = load_dataset("krisbailey/RedPajama-Data-V2-1B", split="train[:10%]")
|
| 52 |
+
|
| 53 |
+
# 500M Token Subset (approx 50%)
|
| 54 |
+
ds_500m = load_dataset("krisbailey/RedPajama-Data-V2-1B", split="train[:50%]")
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
## Citation
|
| 58 |
+
```bibtex
|
| 59 |
+
@article{together2023redpajama,
|
| 60 |
+
title={RedPajama: An Open Source Recipe to Reproduce LLaMA training dataset},
|
| 61 |
+
author={Together Computer},
|
| 62 |
+
journal={https://github.com/togethercomputer/RedPajama-Data},
|
| 63 |
+
year={2023}
|
| 64 |
+
}
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
## Data Mixture
|
| 68 |
+
|
| 69 |
+
| Subset | Tokens | % of Total |
|
| 70 |
+
| :--- | :--- | :--- |
|
| 71 |
+
| `redpajama-v2-sample` | 1,005,000,066 | 100.00% |
|
| 72 |
+
| **Total** | **1,005,000,066** | **100.00%** |
|