hwangdoyeon commited on
Commit
e303a20
·
verified ·
1 Parent(s): 6f79504

feat: initial release

Browse files
Files changed (2) hide show
  1. README.md +101 -0
  2. train.jsonl +0 -0
README.md ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ko
4
+ license: apache-2.0
5
+ task_categories:
6
+ - text-generation
7
+ - question-answering
8
+ tags:
9
+ - korean
10
+ - reasoning
11
+ - chain-of-thought
12
+ - verified
13
+ - rejection-sampling
14
+ - synthetic
15
+ size_categories:
16
+ - 1K<n<10K
17
+ configs:
18
+ - config_name: default
19
+ data_files:
20
+ - split: train
21
+ path: train.jsonl
22
+ ---
23
+
24
+ # ko-verified-cot
25
+
26
+ **2,016 short Korean reasoning traces whose final answer was verified against a ground-truth
27
+ answer key.** Wrong reasoning was thrown away, not kept.
28
+
29
+ [![GitHub](https://img.shields.io/badge/GitHub-kogemma--e2b-181717?logo=github)](https://github.com/waylake/kogemma-e2b)
30
+ [![Model](https://img.shields.io/badge/model-KoGemma--E2B-4285F4)](https://huggingface.co/davek/KoGemma-E2B)
31
+
32
+ ## How it was built
33
+
34
+ 1. Sample multiple-choice questions from the **train split** of
35
+ [KMMLU](https://huggingface.co/datasets/HAERAE-HUB/KMMLU) (45 subjects) — test split is never
36
+ touched, so downstream evaluation stays clean.
37
+ 2. Ask the teacher (`ox-alpha-free`) for a **short** Korean chain of thought (3–4 sentences) ending
38
+ in `정답: X`. The teacher never sees the answer key.
39
+ 3. Extract the predicted letter and compare with the gold label. **Keep only matches.**
40
+ 4. Strip markdown, drop truncated traces, normalise the ending to `정답: X`.
41
+
42
+ Teacher accuracy on those questions was **80–85%**; the same base model we later fine-tuned scored
43
+ 53% (train) / 32% (test). So the released traces are a strictly better-than-base subset.
44
+
45
+ ## Why short traces
46
+
47
+ Small models (≤3B) get **worse** when trained on long/complex reasoning chains — see
48
+ [*Small Models Struggle to Learn from Strong Reasoners*](https://arxiv.org/abs/2502.12143)
49
+ (Qwen2.5-1.5B: 27.0 with long CoT vs 34.2 with short CoT). Traces here are deliberately capped at
50
+ 3–4 sentences to stay inside a small model's learnable range.
51
+
52
+ ## Schema
53
+
54
+ ```json
55
+ {
56
+ "messages": [
57
+ {"role": "system", "content": "너는 한국어로 정확하게 추론하고 답하는 AI 비서다."},
58
+ {"role": "user", "content": "<질문>\n\nA. …\nB. …\nC. …\nD. …\n\n핵심 근거만 3~4문장으로 …"},
59
+ {"role": "assistant", "content": "<3~4문장 추론>\n\n정답: B"}
60
+ ],
61
+ "source": "ox-alpha-free"
62
+ }
63
+ ```
64
+
65
+ The user turn keeps a fixed instruction suffix so that training and evaluation prompts match
66
+ exactly — misaligned prompt formats were the single largest source of measurement error in this
67
+ project.
68
+
69
+ ## What we learned using it (honest results)
70
+
71
+ Fine-tuning `gemma-4-E2B-it` (2.3B effective) on these traces mixed 1:1 with the model's own
72
+ verified CoT (the *Mix Distillation* recipe):
73
+
74
+ | Metric (KMMLU test, 600 questions) | base | after training |
75
+ |---|---|---|
76
+ | CoT accuracy | 0.3200 | 0.3250 |
77
+ | CoT format failures | 48 (8.0%) | **27 (4.5%)** |
78
+
79
+ Accuracy did **not** move outside sampling error; format compliance clearly improved. Verified
80
+ teacher traces fix *how* a small model answers, not *how much it knows* — the bottleneck at 2.3B
81
+ is capacity, not data.
82
+
83
+ Also worth recording: measuring on 200 questions showed a fake +3.0 pp gain that vanished at 600.
84
+
85
+ ## Limitations
86
+
87
+ - Multiple-choice reasoning only (KMMLU-style), Korean only.
88
+ - Verified means "final answer matched"; individual reasoning steps are not step-verified.
89
+ - Derived from KMMLU train questions — do not train and then claim KMMLU test gains without
90
+ checking split hygiene.
91
+
92
+ ## Citation
93
+
94
+ ```bibtex
95
+ @misc{ko-verified-cot-2026,
96
+ title = {ko-verified-cot: answer-verified short Korean reasoning traces},
97
+ author = {waylake},
98
+ year = {2026},
99
+ url = {https://huggingface.co/datasets/davek/ko-verified-cot}
100
+ }
101
+ ```
train.jsonl ADDED
The diff for this file is too large to render. See raw diff