Datasets:
Update dataset card
Browse files
README.md
CHANGED
|
@@ -19,6 +19,8 @@ tags:
|
|
| 19 |
|
| 20 |
This is an archive distribution, not a row-based Hugging Face Datasets builder; download and extract it instead of using `datasets.load_dataset()` or the Dataset Viewer. Its main payload is `uint32` token-ID streams, with aligned label masks for the post-training stages. Extraction reconstructs a data-root directory that the corresponding OLMo-core training recipes can load directly.
|
| 21 |
|
|
|
|
|
|
|
| 22 |
## Layout
|
| 23 |
|
| 24 |
Layout of this Hugging Face repository:
|
|
@@ -65,13 +67,37 @@ Layout after extraction:
|
|
| 65 |
└── perplexity/v3_small_dolma2-tokenizer/... # Eval (Stages 1 and 2)
|
| 66 |
```
|
| 67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
## Official source and redistribution provenance
|
| 69 |
|
| 70 |
-
Stages 1-3 come from the official
|
| 71 |
[OLMo 3 pre-training artifacts](https://huggingface.co/collections/allenai/olmo-3-pre-training).
|
| 72 |
-
|
| 73 |
-
[OLMo 3 post-training artifacts](https://huggingface.co/collections/allenai/olmo-3-post-training).
|
| 74 |
-
Eval is the small multi-source OLMo-core perplexity-validation mix used by the training recipe.
|
| 75 |
|
| 76 |
| Group | Extracted data | Upstream provenance | Exact OLMo-core source manifest |
|
| 77 |
|---|---|---|---|
|
|
@@ -87,6 +113,38 @@ The Dolci groups have official dataset cards rather than OLMo-core text manifest
|
|
| 87 |
| Stage 4 | `Dolci-Think-SFT-7B/...` | [Dolci-Think-SFT-7B](https://huggingface.co/datasets/allenai/Dolci-Think-SFT-7B) | Processed SFT data for [Olmo-3-7B-Think-SFT](https://huggingface.co/allenai/Olmo-3-7B-Think-SFT) |
|
| 88 |
| Stage 5 | `Dolci-Instruct-SFT/...` | [Dolci-Instruct-SFT](https://huggingface.co/datasets/allenai/Dolci-Instruct-SFT) | Processed SFT mixture used for [Olmo-3-7B-Instruct-SFT](https://huggingface.co/allenai/Olmo-3-7B-Instruct-SFT) |
|
| 89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
## File Size
|
| 91 |
|
| 92 |
| Archive group | Archives | Files | Raw size | Compressed size | Compressed / raw |
|
|
@@ -99,31 +157,6 @@ The Dolci groups have official dataset cards rather than OLMo-core text manifest
|
|
| 99 |
| Eval | 1 | 11 | 0.027 GB | 0.008 GB | 30.627% |
|
| 100 |
| **Total** | **49** | **20,167** | **1,362.282 GB** | **220.219 GB** | **16.165%** |
|
| 101 |
|
| 102 |
-
## Download
|
| 103 |
-
|
| 104 |
-
```bash
|
| 105 |
-
pip install -U huggingface_hub
|
| 106 |
-
|
| 107 |
-
repo_id=ArchSpace-Collection/OLMo3-1B-Dataset
|
| 108 |
-
hf download "$repo_id" --repo-type dataset --local-dir ./olmo3-hf
|
| 109 |
-
```
|
| 110 |
-
|
| 111 |
-
For a single training stage, download only the required archive groups plus this README and the extraction script. Stage 1 and Stage 2 configurations also use the perplexity-evaluation data:
|
| 112 |
-
|
| 113 |
-
```bash
|
| 114 |
-
hf download "$repo_id" --repo-type dataset --local-dir ./olmo3-hf \
|
| 115 |
-
--include README.md extract.sh 'archives/stage1/*' 'archives/eval/*'
|
| 116 |
-
# modify `stage1` for other stages
|
| 117 |
-
```
|
| 118 |
-
|
| 119 |
-
## Extract into an OLMo data root
|
| 120 |
-
|
| 121 |
-
```bash
|
| 122 |
-
bash ./olmo3-hf/extract.sh /path/to/olmo3_data_root
|
| 123 |
-
```
|
| 124 |
-
|
| 125 |
-
Use `/path/to/olmo3_data_root` as the OLMo-core data root. Downloading and extracting only one stage creates just that stage's branches of the extracted layout shown above; later runs can safely merge additional groups into the same root.
|
| 126 |
-
|
| 127 |
## License
|
| 128 |
|
| 129 |
This redistribution is made available under the same [Open Data Commons Attribution License v1.0 (ODC-By)](https://opendatacommons.org/licenses/by/1-0/) as the official OLMo 3 datasets. Credit for the underlying datasets belongs to Ai2/AllenAI and Team OLMo; downstream redistribution and use must preserve the attribution and notices required by ODC-By. See the official dataset cards linked above and Ai2's [Responsible Use Guidelines](https://allenai.org/responsible-use).
|
|
|
|
| 19 |
|
| 20 |
This is an archive distribution, not a row-based Hugging Face Datasets builder; download and extract it instead of using `datasets.load_dataset()` or the Dataset Viewer. Its main payload is `uint32` token-ID streams, with aligned label masks for the post-training stages. Extraction reconstructs a data-root directory that the corresponding OLMo-core training recipes can load directly.
|
| 21 |
|
| 22 |
+
All token-ID streams use the 100,278-entry OLMo 3 tokenizer family. Stages 1-3 and Eval use [`allenai/dolma2-tokenizer`](https://huggingface.co/allenai/dolma2-tokenizer); [OLMo-core documents](https://github.com/allenai/OLMo-core/blob/14b15cc2d836a37bc47b4824ed6b542b39a2632c/src/olmo_core/data/mixes/__init__.py#L92-L104) that the `allenai/dolma3-tokenizer` name in the Stage 2/3 paths is the same tokenizer. Stages 4-5 use [`allenai/olmo-3-tokenizer-instruct-dev@55f211d`](https://huggingface.co/allenai/olmo-3-tokenizer-instruct-dev/tree/55f211dfda3974963b869e490617447045069a64), see details below.
|
| 23 |
+
|
| 24 |
## Layout
|
| 25 |
|
| 26 |
Layout of this Hugging Face repository:
|
|
|
|
| 67 |
└── perplexity/v3_small_dolma2-tokenizer/... # Eval (Stages 1 and 2)
|
| 68 |
```
|
| 69 |
|
| 70 |
+
## Download
|
| 71 |
+
|
| 72 |
+
```bash
|
| 73 |
+
pip install -U huggingface_hub
|
| 74 |
+
|
| 75 |
+
repo_id=ArchSpace-Collection/OLMo3-1B-Dataset
|
| 76 |
+
hf download "$repo_id" --repo-type dataset --local-dir ./olmo3-hf
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
For a single training stage, download only the required archive groups plus this README and the extraction script. Stage 1 and Stage 2 configurations also use the perplexity-evaluation data:
|
| 80 |
+
|
| 81 |
+
```bash
|
| 82 |
+
hf download "$repo_id" --repo-type dataset --local-dir ./olmo3-hf \
|
| 83 |
+
--include README.md extract.sh 'archives/stage1/*' 'archives/eval/*'
|
| 84 |
+
# modify `stage1` for other stages
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
## Extract into an OLMo data root
|
| 88 |
+
|
| 89 |
+
```bash
|
| 90 |
+
bash ./olmo3-hf/extract.sh /path/to/olmo3_data_root
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
Use `/path/to/olmo3_data_root` as the OLMo-core data root. Downloading and extracting only one stage creates just that stage's branches of the extracted layout shown above; later runs can safely merge additional groups into the same root.
|
| 94 |
+
|
| 95 |
## Official source and redistribution provenance
|
| 96 |
|
| 97 |
+
Stages 1-3 and Eval directly redistribute the official pre-tokenized files selected by the pinned manifests below, without retokenization or content transformation. The original corpus come from the official
|
| 98 |
[OLMo 3 pre-training artifacts](https://huggingface.co/collections/allenai/olmo-3-pre-training).
|
| 99 |
+
|
| 100 |
+
Stages 4-5 derive from the official [OLMo 3 post-training artifacts](https://huggingface.co/collections/allenai/olmo-3-post-training).
|
|
|
|
| 101 |
|
| 102 |
| Group | Extracted data | Upstream provenance | Exact OLMo-core source manifest |
|
| 103 |
|---|---|---|---|
|
|
|
|
| 113 |
| Stage 4 | `Dolci-Think-SFT-7B/...` | [Dolci-Think-SFT-7B](https://huggingface.co/datasets/allenai/Dolci-Think-SFT-7B) | Processed SFT data for [Olmo-3-7B-Think-SFT](https://huggingface.co/allenai/Olmo-3-7B-Think-SFT) |
|
| 114 |
| Stage 5 | `Dolci-Instruct-SFT/...` | [Dolci-Instruct-SFT](https://huggingface.co/datasets/allenai/Dolci-Instruct-SFT) | Processed SFT mixture used for [Olmo-3-7B-Instruct-SFT](https://huggingface.co/allenai/Olmo-3-7B-Instruct-SFT) |
|
| 115 |
|
| 116 |
+
## Stage 4/5 preparation
|
| 117 |
+
|
| 118 |
+
Stages 4 and 5 use Open-Instruct's [`convert_sft_data_for_olmocore.py`](https://github.com/allenai/open-instruct/blob/5fb2acc161b572201628d50cc7145d109edac140/scripts/data/convert_sft_data_for_olmocore.py) with [`allenai/olmo-3-tokenizer-instruct-dev@55f211d`](https://huggingface.co/allenai/olmo-3-tokenizer-instruct-dev/tree/55f211dfda3974963b869e490617447045069a64).
|
| 119 |
+
|
| 120 |
+
This tokenizer choice follows [Open-Instruct's official guidance](https://github.com/allenai/open-instruct/blob/5fb2acc161b572201628d50cc7145d109edac140/docs/olmo3.md#tokenizer-settings) for both stages: Stage 5 uses the tokenizer as recommended, and Stage 4 uses the same Instruct template for Think SFT to prevent `<think>` spans from being incorrectly masked.
|
| 121 |
+
|
| 122 |
+
The following script runs both conversions from an installed Open-Instruct checkout:
|
| 123 |
+
|
| 124 |
+
```bash
|
| 125 |
+
#!/usr/bin/env bash
|
| 126 |
+
set -euo pipefail
|
| 127 |
+
|
| 128 |
+
open_instruct_dir=/path/to/open-instruct
|
| 129 |
+
output_root=/path/to/olmo3_data_root
|
| 130 |
+
cache_dir=/path/to/open-instruct-cache
|
| 131 |
+
tokenizer=allenai/olmo-3-tokenizer-instruct-dev
|
| 132 |
+
revision=55f211dfda3974963b869e490617447045069a64
|
| 133 |
+
|
| 134 |
+
cd "$open_instruct_dir"
|
| 135 |
+
for dataset in Dolci-Think-SFT-7B Dolci-Instruct-SFT; do
|
| 136 |
+
python scripts/data/convert_sft_data_for_olmocore.py \
|
| 137 |
+
--dataset_mixer_list "allenai/$dataset" 1.0 \
|
| 138 |
+
--tokenizer_name_or_path "$tokenizer" \
|
| 139 |
+
--tokenizer_revision "$revision" \
|
| 140 |
+
--output_dir "$output_root/$dataset" \
|
| 141 |
+
--dataset_local_cache_dir "$cache_dir" \
|
| 142 |
+
--max_seq_length 32768 \
|
| 143 |
+
--shuffle_seed 42 \
|
| 144 |
+
--resume True
|
| 145 |
+
done
|
| 146 |
+
```
|
| 147 |
+
|
| 148 |
## File Size
|
| 149 |
|
| 150 |
| Archive group | Archives | Files | Raw size | Compressed size | Compressed / raw |
|
|
|
|
| 157 |
| Eval | 1 | 11 | 0.027 GB | 0.008 GB | 30.627% |
|
| 158 |
| **Total** | **49** | **20,167** | **1,362.282 GB** | **220.219 GB** | **16.165%** |
|
| 159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
## License
|
| 161 |
|
| 162 |
This redistribution is made available under the same [Open Data Commons Attribution License v1.0 (ODC-By)](https://opendatacommons.org/licenses/by/1-0/) as the official OLMo 3 datasets. Credit for the underlying datasets belongs to Ai2/AllenAI and Team OLMo; downstream redistribution and use must preserve the attribution and notices required by ODC-By. See the official dataset cards linked above and Ai2's [Responsible Use Guidelines](https://allenai.org/responsible-use).
|