Datasets:
Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,3 +1,38 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: other
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
size_categories:
|
| 8 |
+
- 1B<n<10B
|
| 9 |
---
|
| 10 |
+
|
| 11 |
+
# Stew-10B
|
| 12 |
+
|
| 13 |
+
10,000,000,000 GPT-2 tokens (`gpt2` fast tokenizer), pre-tokenized into raw
|
| 14 |
+
`np.uint16` little-endian binary shards of 500,000,000 tokens
|
| 15 |
+
(~1 GB) each. Every document is followed by `<|endoftext|>` (id 50256).
|
| 16 |
+
|
| 17 |
+
| Source | Config | Share | Tokens |
|
| 18 |
+
|---|---|---|---|
|
| 19 |
+
| wikimedia/wikipedia | 20231101.en | 25% | 2,500,000,000 |
|
| 20 |
+
| openbmb/Ultra-FineWeb | - | 50% | 5,000,000,000 |
|
| 21 |
+
| mlfoundations/dclm-baseline-1.0 | - | 25% | 2,500,000,000 |
|
| 22 |
+
|
| 23 |
+
## Usage
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
+
import numpy as np
|
| 27 |
+
from huggingface_hub import hf_hub_download
|
| 28 |
+
|
| 29 |
+
path = hf_hub_download(
|
| 30 |
+
"wonder-ai/Stew-10B",
|
| 31 |
+
"data/train-00000-of-00020.bin",
|
| 32 |
+
repo_type="dataset",
|
| 33 |
+
)
|
| 34 |
+
tokens = np.memmap(path, dtype=np.uint16, mode="r")
|
| 35 |
+
print(tokens.shape, tokens[:16])
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
Each source retains the licensing of its upstream dataset.
|