Tonycoder11 r0b0tlab commited on
Commit
0de3a0d
·
0 Parent(s):

Duplicate from r0b0tlab/qwen3.8-max-distillation-50k

Browse files

Co-authored-by: Adam M <r0b0tlab@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
PROVENANCE.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Provenance and Terms Notice
2
+
3
+ This notice documents known provenance and usage constraints for `r0b0tlab/qwen3.8-max-distillation-50k`. It is informational and is not legal advice.
4
+
5
+ ## Model-provider terms
6
+
7
+ The traces were generated with `qwen3.8-max-preview` through Alibaba Cloud Model Studio.
8
+
9
+ Alibaba Cloud's current International Product Terms for Model Studio state in §4.48(d)(v) that users must not use Model Studio, AI models provided through Model Studio, **including output of those models**, to train or develop products or services that compete with Alibaba Cloud or its affiliates unless expressly authorized.
10
+
11
+ Section 4.48(e) says Model Studio does not claim ownership of output, but output use remains conditional on applicable law, the agreement, Alibaba Cloud rules, and third-party rights. Which agreement applies can depend on the account, endpoint region, and plan.
12
+
13
+ Official source:
14
+
15
+ - https://www.alibabacloud.com/help/en/legal/latest/alibaba-cloud-international-website-product-terms-of-service-v-3-8-0#d48a5c007bamp
16
+
17
+ **Practical consequence:** obtain authorization or qualified review before using these traces to train or develop a potentially competing model, product, or service. Public availability of this repository does not itself provide that authorization.
18
+
19
+ ## Verified upstream license metadata
20
+
21
+ The following license values were read from the current Hugging Face dataset cards on 2026-07-22. Counts are rows in this curated dataset.
22
+
23
+ | Curated source | Upstream repository | Rows | Current card license |
24
+ |---|---|---:|---|
25
+ | Evol-Code | `nickrosh/Evol-Instruct-Code-80k-v1` | 8,138 | CC BY-NC-SA 4.0 |
26
+ | MetaMathQA | `meta-math/MetaMathQA` | 6,406 | MIT |
27
+ | Tulu 3 | `allenai/tulu-3-sft-mixture` | 5,397 | ODC-BY 1.0; mixture provenance may impose additional terms |
28
+ | NuminaMath-CoT | `AI-MO/NuminaMath-CoT` | 4,247 | Apache 2.0 |
29
+ | SciQ | `allenai/sciq` | 3,968 | CC BY-NC 3.0 |
30
+ | Dolly | `databricks/databricks-dolly-15k` | 1,714 | CC BY-SA 3.0 |
31
+ | QASC | `allenai/qasc` | 2,418 | CC BY 4.0 |
32
+ | GSM8K | `openai/gsm8k` | 649 | MIT |
33
+ | IFEval | `google/IFEval` | 191 | Apache 2.0 |
34
+ | MBPP | `google-research-datasets/mbpp` | 184 | CC BY 4.0 |
35
+
36
+ At least **12,106 rows (24.3%)** come from sources explicitly marked noncommercial: Evol-Code and SciQ. Evol-Code also carries share-alike obligations. Dolly and other sources carry attribution/share-alike terms. A mixed derivative dataset cannot safely be treated as uniformly Apache-2.0 or unrestricted.
37
+
38
+ ## Sources requiring additional review
39
+
40
+ The following curated sources are present but are not exhaustively resolved by this notice:
41
+
42
+ - CodeAlpaca: 5,604 rows
43
+ - CommonsenseQA: 3,245 rows
44
+ - OrcaMath: 2,984 rows
45
+ - MATH subject configurations: 2,311 rows
46
+ - ARC-Easy and ARC-Challenge: 1,461 rows
47
+ - OpenBookQA: 598 rows
48
+ - HumanEval: 131 rows
49
+ - Synthetic tool-use prompts: 126 rows
50
+
51
+ For each source, review the exact upstream dataset card, original repository, source split, attribution requirements, and any embedded third-party content before redistribution or training.
52
+
53
+ ## Repository status
54
+
55
+ - Hugging Face metadata uses `license: other` because the source mixture is heterogeneous.
56
+ - This repository does not grant rights beyond those available under the applicable provider agreement and upstream licenses.
57
+ - The existing rows contain only a source label, not a complete per-record license, original item ID, attribution, or provider-terms manifest.
58
+ - Commercial use should be treated as **not cleared** unless the noncommercial rows are excluded and all remaining provider/source terms are reviewed.
59
+
60
+ ## Recommended remediation
61
+
62
+ 1. Obtain written clarification or authorization for the intended Model Studio output use.
63
+ 2. Create a per-record manifest containing source repository, original split, source item ID, license, attribution, and generation-provider terms.
64
+ 3. Produce separate license-compatible subsets instead of one mixed commercial dataset.
65
+ 4. Exclude CC BY-NC and CC BY-NC-SA rows from commercial variants.
66
+ 5. Preserve attribution and share-alike notices required by each included source.
67
+ 6. Re-run the rights review whenever upstream cards or provider terms change.
README.md ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ task_categories:
4
+ - text-generation
5
+ - question-answering
6
+ language:
7
+ - en
8
+ tags:
9
+ - distillation
10
+ - knowledge-distillation
11
+ - reasoning
12
+ - chain-of-thought
13
+ - supervised-fine-tuning
14
+ - math
15
+ - code
16
+ - instruction-following
17
+ - tool-use
18
+ - qwen
19
+ size_categories:
20
+ - 10K<n<100K
21
+ pretty_name: Qwen3.8-Max Distillation 50K
22
+ configs:
23
+ - config_name: default
24
+ data_files:
25
+ - split: train
26
+ path: data/train-*.parquet
27
+ - split: validation
28
+ path: data/validation-*.parquet
29
+ - split: test
30
+ path: data/test-*.parquet
31
+ ---
32
+
33
+ # Qwen3.8-Max Distillation 50K
34
+
35
+ A curated dataset of **49,772 teacher-generated traces** from `qwen3.8-max-preview`, prepared for supervised fine-tuning and off-policy knowledge distillation.
36
+
37
+ The teacher responses are preserved as returned by the API. Where the model emitted visible `<think>...</think>` blocks, those blocks remain in the assistant message. Some simpler prompts received direct answers without a thinking block.
38
+
39
+ > [!CAUTION]
40
+ > **Terms and provenance notice — not cleared for unrestricted commercial/model-training use.** This dataset was generated through Alibaba Cloud Model Studio. The current Alibaba Cloud International Product Terms, §4.48(d)(v), restrict using Model Studio, its hosted models, or their outputs to train or develop products or services that compete with Alibaba Cloud or its affiliates unless expressly authorized. In addition, at least 12,106 rows (24.3%) originate from explicitly noncommercial sources: Evol-Instruct-Code (CC BY-NC-SA 4.0) and SciQ (CC BY-NC 3.0). Other sources have heterogeneous attribution and share-alike obligations. Public availability of this repository is **not** a grant of rights. Before training, redistribution, or commercial use, review the agreement applicable to your account/region/plan and every upstream source license. See [`PROVENANCE.md`](PROVENANCE.md) and the [official Model Studio terms](https://www.alibabacloud.com/help/en/legal/latest/alibaba-cloud-international-website-product-terms-of-service-v-3-8-0#d48a5c007bamp).
41
+
42
+ ## Dataset summary
43
+
44
+ | Split | Rows |
45
+ |---|---:|
46
+ | Train | 44,796 |
47
+ | Validation | 2,488 |
48
+ | Test | 2,488 |
49
+ | **Total** | **49,772** |
50
+
51
+ ### Domain distribution
52
+
53
+ | Domain | Rows | Share |
54
+ |---|---:|---:|
55
+ | Math | 16,597 | 33.3% |
56
+ | Code | 14,057 | 28.2% |
57
+ | Reasoning | 11,690 | 23.5% |
58
+ | Instruction following | 7,302 | 14.7% |
59
+ | Tool use | 126 | 0.3% |
60
+
61
+ ### Source distribution
62
+
63
+ The prompt mixture includes:
64
+
65
+ - Math: MetaMathQA, NuminaMath-CoT, OrcaMath, GSM8K, and all seven MATH subject configurations
66
+ - Code: Evol-Instruct-Code, CodeAlpaca, MBPP, and HumanEval
67
+ - Reasoning: SciQ, CommonsenseQA, QASC, ARC-Challenge, ARC-Easy, and OpenBookQA
68
+ - Instruction following: Tulu 3, Dolly, and IFEval
69
+ - Tool use: synthetic multi-tool scenarios
70
+
71
+ The largest individual sources are Evol-Code (8,138), MetaMathQA (6,406), CodeAlpaca (5,604), Tulu 3 (5,397), and NuminaMath-CoT (4,247).
72
+
73
+ ## Generation
74
+
75
+ - **Teacher:** `qwen3.8-max-preview`
76
+ - **API:** Alibaba Cloud OpenAI-compatible endpoint
77
+ - **Temperature:** 0.7
78
+ - **Top-p:** 0.95
79
+ - **Maximum completion:** 8,192 tokens
80
+ - **Prompting:** domain-specific system prompts for structured reasoning, final answers, code, and tool calls
81
+ - **Reasoning budget:** a provider-supported thinking budget of 2,048 tokens was used for most of the generation run; early traces were generated before that cap was introduced
82
+ - **Raw output policy:** teacher outputs were not rewritten or normalized before curation
83
+
84
+ ## Curation
85
+
86
+ Raw generation produced 53,693 records. The curation pipeline:
87
+
88
+ 1. Required system/user/assistant message structure.
89
+ 2. Removed incomplete generations (`finish_reason != stop`).
90
+ 3. Removed empty, very short, and low-substance responses.
91
+ 4. Applied domain-specific checks, including boxed-answer checks for math and code-presence checks for code tasks.
92
+ 5. Removed tool-use refusals that did not attempt the task.
93
+ 6. Assigned a heuristic quality score.
94
+ 7. Removed exact response duplicates and duplicate prompt prefixes.
95
+ 8. Randomly created 90%/5%/5% train, validation, and test splits.
96
+
97
+ ### Curated quality indicators
98
+
99
+ | Indicator | Value |
100
+ |---|---:|
101
+ | Mean heuristic quality score | 8.59 / 10 |
102
+ | Score range | 4.5–10.0 |
103
+ | Responses containing `<think>` | 82.6% |
104
+ | Math responses containing `\\boxed{...}` | 99.4% |
105
+ | Code responses containing fenced code | 99.4% |
106
+ | Average completion length | 957 tokens |
107
+
108
+ The quality score is a **heuristic**, not a factual-correctness judgment.
109
+
110
+ ## Record schema
111
+
112
+ Each row contains:
113
+
114
+ ```python
115
+ {
116
+ "id": "stable 16-character trace identifier",
117
+ "domain": "math | code | reasoning | instruction | tool_use",
118
+ "source": "source dataset name",
119
+ "difficulty": "easy | medium | hard | unknown",
120
+ "messages": [
121
+ {"role": "system", "content": "..."},
122
+ {"role": "user", "content": "..."},
123
+ {"role": "assistant", "content": "..."},
124
+ ],
125
+ "ground_truth": "reference answer when available",
126
+ "quality_score": 8.5,
127
+ "teacher_model": "qwen3.8-max-preview",
128
+ "completion_tokens": 957,
129
+ "generation_time": "ISO-8601 timestamp",
130
+ }
131
+ ```
132
+
133
+ `ground_truth` is empty for open-ended sources and for some source datasets that did not expose a directly extractable answer. Approximately 19.6% of curated records have no ground-truth string.
134
+
135
+ ## Usage
136
+
137
+ ```python
138
+ from datasets import load_dataset
139
+
140
+ ds = load_dataset("r0b0tlab/qwen3.8-max-distillation-50k")
141
+ print(ds)
142
+ print(ds["train"][0]["messages"])
143
+ ```
144
+
145
+ For response-only SFT, mask the system and user tokens and compute loss only over the assistant response.
146
+
147
+ ## Intended uses
148
+
149
+ - Supervised fine-tuning of chat or reasoning models
150
+ - Off-policy teacher-to-student distillation
151
+ - Ablations on reasoning-format and direct-answer mixtures
152
+ - Research on math, code, scientific reasoning, and instruction following
153
+
154
+ ## Important limitations
155
+
156
+ - **Generated text can be wrong.** The responses were not independently verified problem-by-problem.
157
+ - `<think>` content is model-emitted visible reasoning prompted by the collection pipeline. It should not be interpreted as privileged access to hidden model state.
158
+ - The dataset includes prompts originating from standard benchmark splits, including GSM8K, MATH, HumanEval, MBPP, ARC, IFEval, and related sets. A model trained on this dataset must not be fairly evaluated on overlapping benchmark items without contamination controls.
159
+ - The source mixture is predominantly English but includes some multilingual instruction data.
160
+ - Tool-use data is only 126 rows after strict curation and is not sufficient by itself for robust function-calling training.
161
+ - Heuristic filtering favors structured responses and may introduce style bias.
162
+ - The random train/validation/test split is intended for pipeline development, not uncontaminated capability evaluation.
163
+
164
+ ## Licensing and attribution
165
+
166
+ This is a multi-source derived dataset. The repository does **not** claim to replace or override the licenses, terms, or attribution requirements of the underlying prompt datasets or the teacher-model provider. Users are responsible for reviewing and complying with the terms of every upstream source relevant to their use case.
167
+
168
+ Because the source mixture has heterogeneous upstream terms, the Hub metadata uses `license: other` rather than applying one blanket license to all records.
169
+
170
+ ## Citation
171
+
172
+ ```bibtex
173
+ @misc{r0b0tlab2026qwen38distillation50k,
174
+ title = {Qwen3.8-Max Distillation 50K},
175
+ author = {r0b0tlab},
176
+ year = {2026},
177
+ publisher = {Hugging Face},
178
+ howpublished = {\url{https://huggingface.co/datasets/r0b0tlab/qwen3.8-max-distillation-50k}}
179
+ }
180
+ ```
data/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57eb75365465ad134c8f934bd031ded1485962e6fce156f6316b088300335d23
3
+ size 3381178
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:406e4335f46fc960ea14459bde6d1ebab91001c4051abe057c9b1268dc5371b6
3
+ size 63940602
data/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cb00689251b1b2769ca5b3ac27d77e4895a7c15b659b4451495609e02477260
3
+ size 3428932
dataset_info.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qwen3.8-max-distillation-50k",
3
+ "description": "49,772 curated teacher-generated traces from qwen3.8-max-preview for supervised fine-tuning and off-policy knowledge distillation",
4
+ "teacher_model": "qwen3.8-max-preview",
5
+ "total_traces": 49772,
6
+ "domain_distribution": {
7
+ "math": 16597,
8
+ "code": 14057,
9
+ "reasoning": 11690,
10
+ "instruction": 7302,
11
+ "tool_use": 126
12
+ },
13
+ "splits": {
14
+ "train": 44796,
15
+ "validation": 2488,
16
+ "test": 2488
17
+ },
18
+ "quality_filter": ">= 4.0",
19
+ "mean_quality_score": 8.5923,
20
+ "creation_date": "2026-07-22T05:42:36.428151",
21
+ "license": "other",
22
+ "tags": [
23
+ "distillation",
24
+ "reasoning",
25
+ "qwen",
26
+ "sft",
27
+ "knowledge-distillation"
28
+ ]
29
+ }