Native-ML commited on
Commit
b6fa8b9
·
verified ·
1 Parent(s): 5f8cd0f

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +189 -1
README.md CHANGED
@@ -1,3 +1,191 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ license_name: per-source
4
+ pretty_name: SmaulData
5
+ task_categories:
6
+ - text-generation
7
+ tags:
8
+ - pretraining
9
+ - sft
10
+ - code
11
+ - math
12
+ - reasoning
13
+ - biology
14
+ - medical
15
+ - parquet
16
+ configs:
17
+ - config_name: starcoderdata
18
+ data_files: "starcoderdata/*/*.parquet"
19
+ - config_name: APPS-train
20
+ data_files: "data/APPS-train/*.parquet"
21
+ - config_name: CodeAlpaca-20K
22
+ data_files: "data/CodeAlpaca-20K/*.parquet"
23
+ - config_name: OpenCodeInstruct
24
+ data_files: "data/OpenCodeInstruct/*.parquet"
25
+ - config_name: AgentTrove
26
+ data_files: "data/AgentTrove/*.parquet"
27
+ - config_name: OpenThoughts-Agent-SFT-100K
28
+ data_files: "data/OpenThoughts-Agent-SFT-100K/*.parquet"
29
+ - config_name: TaskTrove
30
+ data_files: "data/TaskTrove/*.parquet"
31
+ - config_name: ToolACE
32
+ data_files: "data/ToolACE/*.parquet"
33
+ - config_name: WebTerminal-clean
34
+ data_files: "data/WebTerminal-clean/*.parquet"
35
+ - config_name: Mixture-of-Thoughts
36
+ data_files: "data/Mixture-of-Thoughts/*.parquet"
37
+ - config_name: OpenMathInstruct-2
38
+ data_files: "data/OpenMathInstruct-2/*.parquet"
39
+ - config_name: OpenR1-Math-220k
40
+ data_files: "data/OpenR1-Math-220k/*.parquet"
41
+ - config_name: OpenThoughts2-1M
42
+ data_files: "data/OpenThoughts2-1M/*.parquet"
43
+ - config_name: OpenThoughts3-1-2M
44
+ data_files: "data/OpenThoughts3-1.2M/*.parquet"
45
+ - config_name: WebInstruct-Sub
46
+ data_files: "data/WebInstruct-Sub/*.parquet"
47
+ - config_name: No-Robots
48
+ data_files: "data/No-Robots/*.parquet"
49
+ - config_name: OpenAssistant-OASST1
50
+ data_files: "data/OpenAssistant-OASST1/*.parquet"
51
+ - config_name: Tulu-3-SFT-Mixture
52
+ data_files: "data/Tulu-3-SFT-Mixture/*.parquet"
53
+ - config_name: SmolLM-FineWeb-Edu-Dedup
54
+ data_files: "data/SmolLM-FineWeb-Edu-Dedup/*.parquet"
55
+ - config_name: MedMCQA
56
+ data_files: "data/MedMCQA/*.parquet"
57
+ - config_name: MedQA-Pretrain-Corpus
58
+ data_files: "data/MedQA-Pretrain-Corpus/*.parquet"
59
+ - config_name: PubMedQA-artificial
60
+ data_files: "data/PubMedQA-artificial/*.parquet"
61
+ - config_name: PubMedQA-labeled
62
+ data_files: "data/PubMedQA-labeled/*.parquet"
63
+ - config_name: PubMedQA-unlabeled
64
+ data_files: "data/PubMedQA-unlabeled/*.parquet"
65
+ - config_name: Nemotron-Science-RQA
66
+ data_files: "data/Nemotron-Science-RQA/*.parquet"
67
+ - config_name: Nemotron-Science-StackExchange-MCQ
68
+ data_files: "data/Nemotron-Science-StackExchange-MCQ/*.parquet"
69
+ - config_name: Nemotron-Science-Synthetic-MCQ
70
+ data_files: "data/Nemotron-Science-Synthetic-MCQ/*.parquet"
71
+ - config_name: Nemotron-Science-Vendor
72
+ data_files: "data/Nemotron-Science-Vendor/*.parquet"
73
+ - config_name: Gene-Ontology
74
+ data_files: "data/Gene-Ontology/*.parquet"
75
+ - config_name: OpenGenome-stage1
76
+ data_files: "data/OpenGenome-stage1/*.parquet"
77
+ - config_name: UniProt-SwissProt
78
+ data_files: "data/UniProt-SwissProt/*.parquet"
79
  ---
80
+
81
+ # SmaulData
82
+
83
+ A multi-source pretraining + SFT mixture, stored as Parquet (ZSTD, up to 1M rows per file). Each source is its own folder and its own dataset config, since schemas differ between sources.
84
+
85
+ ## Layout
86
+
87
+ ```
88
+ SmaulData/
89
+ ├── data/<Source>/part-00000.parquet ... # 30 sources
90
+ │ ├── manifest.json # build record (source repo, subset, rows)
91
+ │ └── stream_state.json # resume state
92
+ └── starcoderdata/<language>/part-00000.parquet ...
93
+ ```
94
+
95
+ The JSON files are build bookkeeping, not data. The `configs` in this card point the viewer and `datasets` at the parquet files only.
96
+
97
+ ## Sources
98
+
99
+ ### Code & agentic
100
+
101
+ | Folder | Source | Subset | Rows | GiB |
102
+ |---|---|---|---:|---:|
103
+ | `APPS-train` | APPS (local json) | - | 5,000 | <0.1 |
104
+ | `CodeAlpaca-20K` | [sahil2801/CodeAlpaca-20k](https://huggingface.co/datasets/sahil2801/CodeAlpaca-20k) | - | 20,022 | <0.1 |
105
+ | `OpenCodeInstruct` | [nvidia/OpenCodeInstruct](https://huggingface.co/datasets/nvidia/OpenCodeInstruct) | - | 5,000,000 | 3.0 |
106
+ | `AgentTrove` | [open-thoughts/AgentTrove](https://huggingface.co/datasets/open-thoughts/AgentTrove) | - | 1,696,847 | 7.9 |
107
+ | `OpenThoughts-Agent-SFT-100K` | [open-thoughts/OpenThoughts-Agent-SFT-100K](https://huggingface.co/datasets/open-thoughts/OpenThoughts-Agent-SFT-100K) | - | 94,334 | 0.8 |
108
+ | `TaskTrove` | [open-thoughts/TaskTrove](https://huggingface.co/datasets/open-thoughts/TaskTrove) | default | 1,610,838 | 5.6 |
109
+ | `ToolACE` | [Team-ACE/ToolACE](https://huggingface.co/datasets/Team-ACE/ToolACE) | - | 11,300 | <0.1 |
110
+ | `WebTerminal-clean` | [AdaMLLab/WebTerminal](https://huggingface.co/datasets/AdaMLLab/WebTerminal) | clean | 2,334,414 | 5.8 |
111
+
112
+ ### Math & reasoning
113
+
114
+ | Folder | Source | Subset | Rows | GiB |
115
+ |---|---|---|---:|---:|
116
+ | `Mixture-of-Thoughts` | [open-r1/Mixture-of-Thoughts](https://huggingface.co/datasets/open-r1/Mixture-of-Thoughts) | all | 349,317 | 1.5 |
117
+ | `OpenMathInstruct-2` | [nvidia/OpenMathInstruct-2](https://huggingface.co/datasets/nvidia/OpenMathInstruct-2) | - | 13,972,791 | 3.6 |
118
+ | `OpenR1-Math-220k` | [open-r1/OpenR1-Math-220k](https://huggingface.co/datasets/open-r1/OpenR1-Math-220k) | default | 93,733 | 1.1 |
119
+ | `OpenThoughts2-1M` | [open-thoughts/OpenThoughts2-1M](https://huggingface.co/datasets/open-thoughts/OpenThoughts2-1M) | - | 1,143,205 | 4.2 |
120
+ | `OpenThoughts3-1.2M` | [open-thoughts/OpenThoughts3-1.2M](https://huggingface.co/datasets/open-thoughts/OpenThoughts3-1.2M) | - | 1,200,000 | 14.4 |
121
+ | `WebInstruct-Sub` | [TIGER-Lab/WebInstructSub](https://huggingface.co/datasets/TIGER-Lab/WebInstructSub) | - | 2,335,220 | 1.8 |
122
+
123
+ ### General chat & instruction
124
+
125
+ | Folder | Source | Subset | Rows | GiB |
126
+ |---|---|---|---:|---:|
127
+ | `No-Robots` | [HuggingFaceH4/no_robots](https://huggingface.co/datasets/HuggingFaceH4/no_robots) | - | 9,500 | <0.1 |
128
+ | `OpenAssistant-OASST1` | [OpenAssistant/oasst1](https://huggingface.co/datasets/OpenAssistant/oasst1) | - | 84,437 | <0.1 |
129
+ | `Tulu-3-SFT-Mixture` | [allenai/tulu-3-sft-mixture](https://huggingface.co/datasets/allenai/tulu-3-sft-mixture) | - | 939,343 | 0.7 |
130
+
131
+ ### Web text
132
+
133
+ | Folder | Source | Subset | Rows | GiB |
134
+ |---|---|---|---:|---:|
135
+ | `SmolLM-FineWeb-Edu-Dedup` | [HuggingFaceTB/smollm-corpus](https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus) | fineweb-edu-dedup | 50,000,000 | 73.3 |
136
+
137
+ ### Science & medical
138
+
139
+ | Folder | Source | Subset | Rows | GiB |
140
+ |---|---|---|---:|---:|
141
+ | `MedMCQA` | [openlifescienceai/medmcqa](https://huggingface.co/datasets/openlifescienceai/medmcqa) | - | 182,822 | <0.1 |
142
+ | `MedQA-Pretrain-Corpus` | [salisai/MedQA-Pretrain-Corpus](https://huggingface.co/datasets/salisai/MedQA-Pretrain-Corpus) | - | 7,262,100 | 0.3 |
143
+ | `PubMedQA-artificial` | [qiaojin/PubMedQA](https://huggingface.co/datasets/qiaojin/PubMedQA) | pqa_artificial | 211,269 | 0.1 |
144
+ | `PubMedQA-labeled` | [qiaojin/PubMedQA](https://huggingface.co/datasets/qiaojin/PubMedQA) | pqa_labeled | 1,000 | <0.1 |
145
+ | `PubMedQA-unlabeled` | [qiaojin/PubMedQA](https://huggingface.co/datasets/qiaojin/PubMedQA) | pqa_unlabeled | 61,249 | <0.1 |
146
+ | `Nemotron-Science-RQA` | [nvidia/Nemotron-SFT-Science-v2](https://huggingface.co/datasets/nvidia/Nemotron-SFT-Science-v2) | rqa | 413,519 | 1.9 |
147
+ | `Nemotron-Science-StackExchange-MCQ` | [nvidia/Nemotron-SFT-Science-v2](https://huggingface.co/datasets/nvidia/Nemotron-SFT-Science-v2) | so | 2,105,985 | 3.2 |
148
+ | `Nemotron-Science-Synthetic-MCQ` | [nvidia/Nemotron-SFT-Science-v2](https://huggingface.co/datasets/nvidia/Nemotron-SFT-Science-v2) | syn_mcq | 96,610 | 0.1 |
149
+ | `Nemotron-Science-Vendor` | [nvidia/Nemotron-SFT-Science-v2](https://huggingface.co/datasets/nvidia/Nemotron-SFT-Science-v2) | vendor | 221,598 | 5.4 |
150
+
151
+ ### Biology & genomics
152
+
153
+ | Folder | Source | Subset | Rows | GiB |
154
+ |---|---|---|---:|---:|
155
+ | `Gene-Ontology` | [CleverThis/gene-ontology](https://huggingface.co/datasets/CleverThis/gene-ontology) | data (split) | 1,425,391 | <0.1 |
156
+ | `OpenGenome-stage1` | [LongSafari/open-genome](https://huggingface.co/datasets/LongSafari/open-genome) | stage1 | 12,199,752 | 72.8 |
157
+ | `UniProt-SwissProt` | [damlab/uniprot](https://huggingface.co/datasets/damlab/uniprot) | - | 566,996 | 0.1 |
158
+
159
+ ### StarCoderData (`starcoderdata/`)
160
+
161
+ Subset of [bigcode/starcoderdata](https://huggingface.co/datasets/bigcode/starcoderdata), re-chunked with content unchanged. Languages: assembly, batchfile, c, c-sharp, clojure, cmake, cpp, css, cuda, dockerfile, f-sharp, fortran, go, html, java, javascript, json, kotlin, lean, lua, makefile, markdown, php, powershell, python, rust, shell, sql, typescript, visual-basic, yaml. Upload is in progress, so some languages may be missing.
162
+
163
+ Row counts come from each folder's `manifest.json`. Some sources were capped when built (for example OpenCodeInstruct at 5M rows and SmolLM FineWeb-Edu-Dedup at 50M), so they may be subsets of the upstream dataset.
164
+
165
+ ## Format
166
+
167
+ - Compression: ZSTD level 12 (StarCoderData); other sources follow their `manifest.json`
168
+ - Up to 1M rows per file, numbered sequentially
169
+ - Schemas follow each upstream source and are **not** unified; normalize in your own training code
170
+
171
+ ## Usage
172
+
173
+ ```python
174
+ from datasets import load_dataset
175
+
176
+ # one source
177
+ ds = load_dataset("Native-ML/SmaulData", "OpenMathInstruct-2", split="train", streaming=True)
178
+
179
+ # one StarCoderData language
180
+ ds = load_dataset("Native-ML/SmaulData", data_files="starcoderdata/rust/*.parquet", split="train")
181
+ ```
182
+
183
+ Config names match folder names, except `OpenThoughts3-1.2M`, whose config is `OpenThoughts3-1-2M`.
184
+
185
+ ## Licensing
186
+
187
+ Each source keeps its original license; see the linked upstream card for terms.
188
+
189
+ ## Citation
190
+
191
+ Cite the upstream datasets for the portions you use.