j0no12 commited on
Commit
8999d18
·
verified ·
1 Parent(s): 95156b7

Rewrite card in transparent uniform format

Browse files

README-only documentation update: quick start, provenance, evaluation conditions, reproducibility, integrity identifiers, and limitations.

Files changed (1) hide show
  1. README.md +96 -34
README.md CHANGED
@@ -12,67 +12,129 @@ tags:
12
  - 4096-context
13
  ---
14
 
15
- # Qwen3.8-Kimi-Fable Distillation
16
 
17
- A curated SFT dataset composed of three teacher datasets, mixed and filtered for training compact agentic models like Nanbeige4.2-3B.
18
 
19
- ## Composition
20
 
21
- Three teacher datasets, curated and mixed:
 
22
 
23
- - **[Qwen3.8-Max Distillation 50K](https://huggingface.co/datasets/r0b0tlab/qwen3.8-max-distillation-50k)** — ~10,000 rows distilled from Alibaba's Qwen3.8-Max Preview via Model Studio API. Covers math (33%), code (28%), reasoning (24%), and instruction-following (15%).
 
 
 
 
24
 
25
- - **[Fable 5 Coding & Debugging Traces](https://huggingface.co/datasets/greghavens/fable-5-coding-and-debugging-traces)** — ~2,500 verified coding and debugging trajectories from Claude Fable 5, generated with moonshiner. Focus on tool-calling, multi-step planning, and build/test/fix loops. License: CC BY 4.0.
 
 
26
 
27
- - **[Kimi K3 Coding & Debugging Traces](https://huggingface.co/datasets/greghavens/kimi-k3-coding-and-debugging-traces)** — ~1,200 verified coding, tool-use, and instruction-following traces from Kimi K3. Focus on parallel tool calls, state tracking, and verification-driven completion. License: CC BY 4.0.
28
 
29
- **Total: 13,700 training rows**
 
 
 
 
 
 
 
30
 
31
- ## Context Cap
32
 
33
- All examples are constrained to a **4096-token context window** (measured with the Nanbeige4.2-3B tokenizer). The raw content is capped at ~3800 tokens to leave headroom for chat-template tokens (`<im_start>`, `<im_end>`, `<eos>`, BOS).
 
 
 
 
 
 
 
34
 
35
  ## Schema
36
 
37
- Each row is a JSON object with:
 
 
 
 
 
38
 
39
- - `messages` — list of `{role, content}` dicts (system/user/assistant)
40
- - `source` — one of `"qwen3.8-max"`, `"fable-5-trace"`, `"kimi-k3-trace"`
41
- - `domain` — domain tag (when available)
42
- - `difficulty` — difficulty tag (when available)
43
 
44
- ## Quality Filters
 
 
 
 
45
 
46
- Applied during curation:
47
 
48
- - Quality score >= 7.5 on Qwen3.8 traces (median 9.0, mean 8.6)
49
- - No refusals, no empty responses
50
- - Near-deduplication via SHA-256 hashing
51
- - Context length <= 3800 raw tokens
52
- - Minimum response length: 30 tokens (non-trace), 15 tokens (trace)
53
 
54
- ## License
 
 
 
 
 
 
 
 
 
 
55
 
56
- The component datasets carry different licenses:
57
 
58
- - Qwen3.8 traces: see original source terms (Alibaba Cloud Model Studio)
59
- - Fable 5 traces: CC BY 4.0
60
- - Kimi K3 traces: CC BY 4.0
61
 
62
- This curated collection is made available for research and personal use under the same terms as its components.
 
 
 
 
63
 
64
- ## Intended Use
65
 
66
- Supervised fine-tuning of compact agentic models, particularly those with novel architectures (Looped Transformer, etc.) that benefit from diverse, high-quality distilled traces.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
  ## Citation
69
 
70
  ```bibtex
71
- @misc{j0no2026qwen38kumifable-distillation,
72
- title = {Qwen3.8-Kimi-Fable Distillation},
73
- author = {j0no},
74
  year = {2026},
75
  publisher = {Hugging Face},
76
- howpublished = {\url{https://huggingface.co/datasets/j0no12/qwen38-kimi-fable-distillation}},
77
  }
78
  ```
 
 
 
 
 
 
 
12
  - 4096-context
13
  ---
14
 
15
+ # Qwen3.8KimiFable Distillation
16
 
17
+ A 13,700-row curated SFT mixture of reasoning, coding, instruction, and tool-use traces from three teacher datasets.
18
 
19
+ ## Quick start
20
 
21
+ ```python
22
+ from datasets import load_dataset
23
 
24
+ dataset = load_dataset(
25
+ "json",
26
+ data_files="hf://datasets/j0no12/qwen38-kimi-fable-distillation/curated.jsonl",
27
+ split="train",
28
+ )
29
 
30
+ print(dataset[0]["source"])
31
+ print(dataset[0]["messages"])
32
+ ```
33
 
34
+ ## Dataset summary
35
 
36
+ | Property | Value |
37
+ |---|---:|
38
+ | Rows | 13,700 |
39
+ | Split | Training collection only |
40
+ | Format | JSON Lines |
41
+ | Context policy | At most 4,096 tokens with the Nanbeige4.2-3B tokenizer |
42
+ | Main domains | Math, code, reasoning, instruction following, tool use |
43
+ | Intended use | SFT for compact agentic models |
44
 
45
+ ## Composition
46
 
47
+ | `source` | Rows | Share |
48
+ |---|---:|---:|
49
+ | `qwen3.8-max` | 10,000 | 73.0% |
50
+ | `fable-5-trace` | 2,500 | 18.2% |
51
+ | `kimi-k3-trace` | 1,200 | 8.8% |
52
+ | **Total** | **13,700** | **100%** |
53
+
54
+ Recorded domain counts are 3,912 math, 2,916 reasoning, 2,650 code, 522 instruction, and 3,700 rows without a domain label.
55
 
56
  ## Schema
57
 
58
+ | Field | Type | Description |
59
+ |---|---|---|
60
+ | `messages` | list of objects | Chat messages with `role` and `content` |
61
+ | `source` | string | One of the three source labels above |
62
+ | `domain` | string or null | Domain tag when available |
63
+ | `difficulty` | source-dependent / optional | Difficulty tag when supplied by the source |
64
 
65
+ Example access pattern:
 
 
 
66
 
67
+ ```python
68
+ row = dataset[0]
69
+ for message in row["messages"]:
70
+ print(f"{message['role']}: {message['content']}")
71
+ ```
72
 
73
+ ## Source lineage
74
 
75
+ | Source dataset | Role | Selected rows | Terms recorded by this card |
76
+ |---|---|---:|---|
77
+ | [`r0b0tlab/qwen3.8-max-distillation-50k`](https://huggingface.co/datasets/r0b0tlab/qwen3.8-max-distillation-50k) | General reasoning, math, code, instruction | 10,000 | See the source dataset and Alibaba Cloud Model Studio terms |
78
+ | [`greghavens/fable-5-coding-and-debugging-traces`](https://huggingface.co/datasets/greghavens/fable-5-coding-and-debugging-traces) | Coding/debugging trajectories | 2,500 | CC-BY-4.0 |
79
+ | [`greghavens/kimi-k3-coding-and-debugging-traces`](https://huggingface.co/datasets/greghavens/kimi-k3-coding-and-debugging-traces) | Coding/tool-use trajectories | 1,200 | CC-BY-4.0 |
80
 
81
+ ## Construction story
82
+
83
+ The curation report records 61,150 input rows: 44,796 Qwen, 12,448 Fable, and 3,906 Kimi. Quality and length filtering retained 40,689 candidate rows before source caps were applied. The final deterministic mixture contains the 13,700 rows shown above.
84
+
85
+ Recorded filtering outcomes:
86
+
87
+ | Source | Main recorded exclusions |
88
+ |---|---|
89
+ | Qwen | 7,413 low-quality scores, 711 over-length contexts, 132 refusals, 6 short assistant responses |
90
+ | Fable | 8,196 short assistant responses, 1,380 over-length contexts, 54 refusals |
91
+ | Kimi | 2,386 short assistant responses, 174 near-duplicates, 9 refusals |
92
 
93
+ The context check used the Nanbeige4.2-3B tokenizer. User messages range from 5 to 3,027 tokens (median 75), and assistant messages range from 15 to 3,625 tokens (median 259). The raw-content target was approximately 3,800 tokens to leave space for chat-template tokens inside a 4,096-token window.
94
 
95
+ ## Quality checks
 
 
96
 
97
+ - Qwen rows required a quality score of at least 7.5; the prior card reports median 9.0 and mean 8.6.
98
+ - Refusals and empty/very short completions were filtered.
99
+ - Context length was checked with the target tokenizer.
100
+ - Kimi processing records a near-duplicate filter; the previous card also described SHA-256 hashing, which should be understood as exact content hashing unless a separate similarity method is supplied.
101
+ - Source caps fix the final mixture at 10,000 / 2,500 / 1,200 rows.
102
 
103
+ ## Contamination screening
104
 
105
+ No benchmark-contamination report is included. Hash-based deduplication and source-specific near-duplicate filtering do not prove independence from HumanEval, MBPP, GSM8K, MATH, or other public evaluations. Run task-specific decontamination before reporting benchmark results from models trained on this collection.
106
+
107
+ ## Known limitations
108
+
109
+ - All responses are teacher-generated and may contain incorrect reasoning, insecure code, fabricated tool results, or stylistic artifacts.
110
+ - There is no held-out validation or test split.
111
+ - The 4,096-token guarantee is tokenizer-specific and may not hold under another tokenizer or chat template.
112
+ - Domain labels are missing for 3,700 rows, and optional metadata is source-dependent.
113
+ - The mixture intentionally oversamples Qwen relative to the two trajectory sources.
114
+ - Component licensing is mixed; no single permissive license is asserted for every row.
115
+
116
+ ## Files and integrity
117
+
118
+ | File | Size | Integrity identifier |
119
+ |---|---:|---|
120
+ | `curated.jsonl` | 64,322,634 bytes | SHA-256 `78d2d52229b49e057fad41cf3ec66a60e5be7914997b55938cb3ba863365bb8a` |
121
+ | `report.json` | 1,303 bytes | Git blob `095b1324ac986777402e3cb58a1fbfa792a67fd5` |
122
+ | Repository revision documented by this card update | — | `95156b7351b5a7689b5aa6eee037337d3ee5293f` |
123
 
124
  ## Citation
125
 
126
  ```bibtex
127
+ @misc{j0no12_qwen38_kimi_fable_2026,
128
+ author = {j0no12},
129
+ title = {Qwen3.8--Kimi--Fable Distillation},
130
  year = {2026},
131
  publisher = {Hugging Face},
132
+ howpublished = {\url{https://huggingface.co/datasets/j0no12/qwen38-kimi-fable-distillation}}
133
  }
134
  ```
135
+
136
+ Please also cite the three source datasets.
137
+
138
+ ## License
139
+
140
+ Mixed / other. Fable and Kimi components are recorded as CC-BY-4.0; Qwen-derived traces remain subject to their source dataset and Alibaba Cloud Model Studio terms. This card does not grant rights beyond those upstream terms.