argo11 commited on
Commit
1e6f073
·
verified ·
1 Parent(s): 4dbf1fe

Add detailed 0399 model card with W&B and issue links

Browse files
Files changed (1) hide show
  1. README.md +248 -0
README.md ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ja
4
+ - en
5
+ license: other
6
+ library_name: transformers
7
+ pipeline_tag: text-generation
8
+ base_model:
9
+ - llm-jp/llm-jp-4-8b-thinking
10
+ - llm-jp/llm-jp-4-8b-base
11
+ tags:
12
+ - llm-jp
13
+ - math
14
+ - sft
15
+ - full-parameter-finetuning
16
+ - team-victory
17
+ - experiment-0399
18
+ - wandb
19
+ datasets:
20
+ - HayatoHongoEveryonesAI/qa_verify_cot_new_6M_v6
21
+ - argo11/0399-tv-valid-clean-sft-tokenized-llmjp4-8b
22
+ ---
23
+
24
+ # 0399 Team Victory Full-Parameter SFT Checkpoint
25
+
26
+ This repository contains intermediate/full-parameter SFT checkpoints from LLM-jp experiment `0399`, using Team Victory valid-clean math reasoning data.
27
+
28
+ ## Model Variants
29
+
30
+ Two model repositories were trained under the same data and training recipe, differing only in initialization:
31
+
32
+ | Repo | Initialization | W&B Run |
33
+ |---|---|---|
34
+ | [`argo11/0399-tv-full-thinking-fp`](https://huggingface.co/argo11/0399-tv-full-thinking-fp) | [`llm-jp/llm-jp-4-8b-thinking`](https://huggingface.co/llm-jp/llm-jp-4-8b-thinking) | [`0399_tv-full-thinking_fp`](https://wandb.ai/argo-lab/llmjp4-8b-teamvictory-sft-difficulty-20260629/runs/4d9n7h6v) |
35
+ | [`argo11/0399-tv-full-base-fp`](https://huggingface.co/argo11/0399-tv-full-base-fp) | [`llm-jp/llm-jp-4-8b-base`](https://huggingface.co/llm-jp/llm-jp-4-8b-base) | [`0399_tv-full-base_fp`](https://wandb.ai/argo-lab/llmjp4-8b-teamvictory-sft-difficulty-20260629/runs/6spyiapq) |
36
+
37
+ Current uploaded checkpoint:
38
+
39
+ - `checkpoint-500/`
40
+ - Upload excludes large optimizer/FSDP duplicate states from Hub.
41
+ - Local full training state, including optimizer state, is retained under the ABCI experiment directory.
42
+
43
+ ## Experiment Links
44
+
45
+ - GitHub issue: [llm-jp/experiments#399](https://github.com/llm-jp/experiments/issues/399)
46
+ - W&B project: [argo-lab/llmjp4-8b-teamvictory-sft-difficulty-20260629](https://wandb.ai/argo-lab/llmjp4-8b-teamvictory-sft-difficulty-20260629)
47
+ - Thinking W&B run: [0399_tv-full-thinking_fp](https://wandb.ai/argo-lab/llmjp4-8b-teamvictory-sft-difficulty-20260629/runs/4d9n7h6v)
48
+ - Base W&B run: [0399_tv-full-base_fp](https://wandb.ai/argo-lab/llmjp4-8b-teamvictory-sft-difficulty-20260629/runs/6spyiapq)
49
+ - Tokenized dataset: [argo11/0399-tv-valid-clean-sft-tokenized-llmjp4-8b](https://huggingface.co/datasets/argo11/0399-tv-valid-clean-sft-tokenized-llmjp4-8b)
50
+
51
+ ## Intended Use
52
+
53
+ These checkpoints are intended for research on Japanese/English mathematical reasoning and reinforcement-learning initialization.
54
+
55
+ Primary intended uses:
56
+
57
+ - Compare `thinking` initialization vs `base` initialization after identical Team Victory SFT.
58
+ - Use as candidate initial checkpoints for later RL / GRPO-style math reasoning experiments.
59
+ - Evaluate whether Team Victory SFT improves AIME-style pass@1 while preserving broader ability.
60
+
61
+ Not intended uses:
62
+
63
+ - Production deployment without additional evaluation.
64
+ - Safety-critical mathematical, financial, legal, medical, or educational grading decisions.
65
+ - Claims of benchmark superiority before full evaluation is complete.
66
+
67
+ ## Training Data
68
+
69
+ Source dataset:
70
+
71
+ - [`HayatoHongoEveryonesAI/qa_verify_cot_new_6M_v6`](https://huggingface.co/datasets/HayatoHongoEveryonesAI/qa_verify_cot_new_6M_v6)
72
+
73
+ Filtered dataset:
74
+
75
+ - `TV_valid_clean`
76
+ - Rows: `5,461,079`
77
+ - Clean parquet SHA-256: `b1fbc4d5c05dbacbf9366055200a034551a46d70bfb2bff4c6432f2175a10d9b`
78
+ - Filter rule:
79
+ - `is_valid == 1`
80
+ - contamination quarantine applied against target benchmark problems
81
+ - Tokenized reusable dataset:
82
+ - [`argo11/0399-tv-valid-clean-sft-tokenized-llmjp4-8b`](https://huggingface.co/datasets/argo11/0399-tv-valid-clean-sft-tokenized-llmjp4-8b)
83
+ - Rows: `5,461,079`
84
+ - Shards: `110`
85
+ - Max length: `4096`
86
+ - Columns: `input_ids`, `attention_mask`, `labels`, `prompt_len`, `seq_len`
87
+
88
+ The tokenized dataset was prepared on CPU and uploaded to Hugging Face to avoid repeated expensive tokenization on GPU nodes.
89
+
90
+ ## Training Procedure
91
+
92
+ Training mode:
93
+
94
+ - Full-parameter SFT
95
+ - No LoRA / PEFT
96
+ - Hugging Face `Trainer`
97
+ - FSDP: `full_shard auto_wrap`
98
+ - Assistant response tokens only are trained.
99
+ - Prompt tokens are masked with `-100`.
100
+
101
+ Core hyperparameters:
102
+
103
+ | Parameter | Value |
104
+ |---|---:|
105
+ | Epochs | `1` |
106
+ | Max length | `4096` |
107
+ | Per-device train batch size | `1` |
108
+ | Gradient accumulation steps | `16` |
109
+ | Learning rate | `2.0e-5` |
110
+ | Warmup ratio | `0.03` |
111
+ | LR scheduler | `cosine` |
112
+ | Precision | `bf16` |
113
+ | Optimizer | `adamw_torch` |
114
+ | Save steps | `500` |
115
+ | Save total limit | `3` |
116
+ | Seed | `20260629` |
117
+
118
+ Infrastructure:
119
+
120
+ - ABCI 3.0
121
+ - Group: `gcg51557`
122
+ - Reserved queue: `R9920261000`
123
+ - Experiment directory: `/groups/gcg51557/experiments/0399_tv_sft`
124
+ - SFT jobs:
125
+ - Thinking: `2004401.pbs1`
126
+ - Base: `2004402.pbs1`
127
+ - HF checkpoint sync job:
128
+ - `2004479.pbs1`
129
+
130
+ ## Monitoring Status
131
+
132
+ The initial production SFT run was monitored past `checkpoint-500`.
133
+
134
+ Observed stability:
135
+
136
+ | Run | Step observed | Memory plateau | Error status |
137
+ |---|---:|---:|---|
138
+ | Thinking | `600+` | ~`303GB` / `1.92TB` | No OOM/NCCL/Traceback observed |
139
+ | Base | `590+` | ~`294GB` / `1.92TB` | No OOM/NCCL/Traceback observed |
140
+
141
+ Notes:
142
+
143
+ - Both runs skipped GPU-side JSONL regeneration.
144
+ - Both runs used the uploaded tokenized dataset.
145
+ - W&B online logging was confirmed.
146
+ - `checkpoint-500` was written locally and uploaded to Hugging Face Hub.
147
+ - Base run showed `grad_norm=inf` in early logs while loss remained finite. This should be considered during downstream quality review.
148
+
149
+ ## Uploaded Checkpoint Contents
150
+
151
+ Each `checkpoint-500/` directory on Hub contains:
152
+
153
+ - `model.safetensors`
154
+ - `config.json`
155
+ - `generation_config.json`
156
+ - tokenizer files
157
+ - `trainer_state.json`
158
+ - `training_args.bin`
159
+ - RNG states
160
+ - `scheduler.pt`
161
+
162
+ The following large local training-state files are intentionally not uploaded to Hub:
163
+
164
+ - `optimizer.bin`
165
+ - `pytorch_model_fsdp.bin`
166
+
167
+ They are retained in the ABCI experiment directory for local recovery/debugging.
168
+
169
+ ## Evaluation
170
+
171
+ Full benchmark evaluation is not yet included in this model card.
172
+
173
+ Planned gates for experiment `0399`:
174
+
175
+ Primary math gates:
176
+
177
+ - AIME 2024
178
+ - AIME 2025
179
+ - AIME 2026
180
+ - MATH-500
181
+
182
+ Regression gates:
183
+
184
+ - LiveCodeBench
185
+ - IFEval
186
+ - MT-Bench
187
+
188
+ Final-candidate-only gates:
189
+
190
+ - GPQA Diamond
191
+ - BBH
192
+ - MMLU-Pro
193
+
194
+ Do not treat this checkpoint as validated until these evaluations are complete.
195
+
196
+ ## Limitations
197
+
198
+ - This is an intermediate/full-param SFT checkpoint from an active experiment.
199
+ - The checkpoint is optimized for math reasoning style data and may regress in non-math tasks.
200
+ - Training data may contain long chain-of-thought style solutions; generated outputs may be verbose.
201
+ - Benchmark contamination mitigation was applied, but no contamination process is perfect.
202
+ - The uploaded `checkpoint-500` is early in a longer training run and should not be interpreted as final model quality.
203
+ - Safety alignment was not the primary target of this experiment.
204
+
205
+ ## Citation / Attribution
206
+
207
+ Base models:
208
+
209
+ ```bibtex
210
+ @misc{llmjp4,
211
+ title = {LLM-jp-4 8B Models},
212
+ author = {LLM-jp},
213
+ year = {2026},
214
+ url = {https://huggingface.co/llm-jp}
215
+ }
216
+ ```
217
+
218
+ Experiment tracking:
219
+
220
+ - GitHub issue: https://github.com/llm-jp/experiments/issues/399
221
+ - W&B project: https://wandb.ai/argo-lab/llmjp4-8b-teamvictory-sft-difficulty-20260629
222
+
223
+ ## Reproducibility Metadata
224
+
225
+ Experiment ID: `0399`
226
+
227
+ Experiment slug: `tv_sft`
228
+
229
+ Canonical experiment directory:
230
+
231
+ ```text
232
+ /groups/gcg51557/experiments/0399_tv_sft
233
+ ```
234
+
235
+ Key manifests:
236
+
237
+ ```text
238
+ /groups/gcg51557/experiments/0399_tv_sft/manifests/tokenized_sft_tv_valid_clean_llmjp4_8b.json
239
+ /groups/gcg51557/experiments/0399_tv_sft/manifests/sft_stability_monitor_20260701.json
240
+ /groups/gcg51557/experiments/0399_tv_sft/manifests/hf_checkpoint_sync_2004479.pbs1.json
241
+ ```
242
+
243
+ Training configs:
244
+
245
+ ```text
246
+ /groups/gcg51557/experiments/0399_tv_sft/configs/sft_full_thinking.yaml
247
+ /groups/gcg51557/experiments/0399_tv_sft/configs/sft_full_base.yaml
248
+ ```