Jerry999 commited on
Commit
0578645
·
verified ·
1 Parent(s): d96ffd9

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/config.yaml +261 -0
  2. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/added_tokens.json +28 -0
  3. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/chat_template.jinja +61 -0
  4. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/merges.txt +0 -0
  5. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/special_tokens_map.json +31 -0
  6. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/tokenizer_config.json +239 -0
  7. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/vocab.json +0 -0
  8. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/weights/model/.hf_metadata/config.json +70 -0
  9. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/weights/model/.hf_metadata/fqn_to_file_index_mapping.json +400 -0
  10. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/weights/model/.hf_metadata/generation_config.json +13 -0
  11. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/training_info.json +1 -0
  12. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/config.yaml +261 -0
  13. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/added_tokens.json +28 -0
  14. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/chat_template.jinja +61 -0
  15. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/merges.txt +0 -0
  16. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/special_tokens_map.json +31 -0
  17. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/tokenizer_config.json +239 -0
  18. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/vocab.json +0 -0
  19. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/weights/model/.hf_metadata/config.json +70 -0
  20. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/weights/model/.hf_metadata/fqn_to_file_index_mapping.json +400 -0
  21. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/weights/model/.hf_metadata/generation_config.json +13 -0
  22. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/training_info.json +1 -0
  23. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_40/config.yaml +261 -0
  24. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_40/policy/tokenizer/added_tokens.json +28 -0
  25. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_40/policy/tokenizer/chat_template.jinja +61 -0
  26. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_40/policy/tokenizer/tokenizer_config.json +239 -0
  27. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_40/training_info.json +1 -0
  28. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/config.yaml +261 -0
  29. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/added_tokens.json +28 -0
  30. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/chat_template.jinja +61 -0
  31. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/merges.txt +0 -0
  32. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/special_tokens_map.json +31 -0
  33. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/tokenizer_config.json +239 -0
  34. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/vocab.json +0 -0
  35. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/weights/model/.hf_metadata/config.json +70 -0
  36. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/weights/model/.hf_metadata/fqn_to_file_index_mapping.json +400 -0
  37. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/weights/model/.hf_metadata/generation_config.json +13 -0
  38. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/training_info.json +1 -0
  39. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/config.yaml +261 -0
  40. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/added_tokens.json +28 -0
  41. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/chat_template.jinja +61 -0
  42. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/merges.txt +0 -0
  43. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/special_tokens_map.json +31 -0
  44. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/tokenizer_config.json +239 -0
  45. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/vocab.json +0 -0
  46. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/weights/model/.hf_metadata/config.json +70 -0
  47. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/weights/model/.hf_metadata/fqn_to_file_index_mapping.json +400 -0
  48. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/weights/model/.hf_metadata/generation_config.json +13 -0
  49. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/training_info.json +1 -0
  50. checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/train_log_20260430.211830.txt +0 -0
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/config.yaml ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpointing:
2
+ checkpoint_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830
3
+ checkpoint_must_save_by: null
4
+ enabled: true
5
+ higher_is_better: true
6
+ keep_top_k: null
7
+ metric_name: null
8
+ model_save_format: safetensors
9
+ save_consolidated: false
10
+ save_optimizer: false
11
+ save_per_epoch: false
12
+ save_period: 20
13
+ cluster:
14
+ gpus_per_node: 4
15
+ num_nodes: 1
16
+ data:
17
+ default:
18
+ env_name: math
19
+ prompt_file: null
20
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
21
+ max_input_seq_length: 10000
22
+ shuffle: true
23
+ train:
24
+ - dataset_name: math_ops_opsd
25
+ env_name: math
26
+ processor: math_ops_opsd
27
+ prompt_file: null
28
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
29
+ validation:
30
+ - dataset_name: math_ops_opsd_val
31
+ env_name: math
32
+ processor: math_ops_opsd
33
+ prompt_file: null
34
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
35
+ distillation:
36
+ ema_decay: 1.0
37
+ max_num_epochs: 1
38
+ max_num_steps: 100
39
+ max_rollout_turns: 1
40
+ max_val_samples: 200
41
+ num_generations_per_prompt: 1
42
+ num_prompts_per_step: 16
43
+ rollout_policy: student
44
+ seed: 42
45
+ topk_logits_k: 64
46
+ val_at_end: true
47
+ val_at_start: true
48
+ val_batch_size: 32
49
+ val_period: 20
50
+ env:
51
+ math:
52
+ num_workers: 8
53
+ logger:
54
+ gpu_monitoring:
55
+ collection_interval: 10
56
+ flush_interval: 10
57
+ log_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/logs/exp_001
58
+ mlflow_enabled: false
59
+ monitor_gpus: true
60
+ num_val_samples_to_print: 5
61
+ swanlab_enabled: false
62
+ tensorboard:
63
+ log_dir: tb_logs-opsd-math-nll-teacher-top1-gt-qwen3-4b-n1-t0
64
+ tensorboard_enabled: true
65
+ wandb:
66
+ entity: mathrl-jiarui
67
+ name: opsd-math-ops-nll-teacher-top1-gt-n1-t0-20260429-Qwen3-4B-Instruct-2507
68
+ project: mix-teachers-opsd
69
+ wandb_enabled: true
70
+ loss_fn:
71
+ kl_type: forward
72
+ mixed_kl_weight: 0.5
73
+ zero_outside_topk: false
74
+ paths:
75
+ base_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd
76
+ checkpoint_dir: /home/fs01/yw2349/jiarui/mathrl_data/mix_teachers/checkpoints/math_operations/opsd_nemo_rl
77
+ data_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/data/math_operations/primitive_atomic_balanced_sft_50k
78
+ log_dir: /home/fs01/yw2349/jiarui/mathrl_data/mix_teachers/checkpoints/math_operations/opsd_nemo_rl/logs
79
+ model_search_dirs:
80
+ - /home/fs01/yw2349/jiarui/mathrl_data/models
81
+ policy:
82
+ dtensor_cfg:
83
+ _v2: true
84
+ activation_checkpointing: true
85
+ context_parallel_size: 1
86
+ cpu_offload: true
87
+ custom_parallel_plan: null
88
+ enabled: true
89
+ sequence_parallel: false
90
+ tensor_parallel_size: 4
91
+ dynamic_batching:
92
+ enabled: true
93
+ logprob_mb_tokens: 10000
94
+ sequence_length_round: 64
95
+ train_mb_tokens: 10000
96
+ generation:
97
+ _pad_token_id: 151643
98
+ backend: vllm
99
+ colocated:
100
+ enabled: true
101
+ resources:
102
+ gpus_per_node: null
103
+ num_nodes: null
104
+ max_new_tokens: 8192
105
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
106
+ stop_strings: null
107
+ stop_token_ids:
108
+ - 151645
109
+ temperature: 0.0
110
+ top_k: null
111
+ top_p: 1.0
112
+ vllm_cfg:
113
+ async_engine: false
114
+ distributed_executor_backend: null
115
+ enforce_eager: false
116
+ expert_parallel_size: 1
117
+ gpu_memory_utilization: 0.7
118
+ hf_overrides: {}
119
+ kv_cache_dtype: auto
120
+ load_format: dummy
121
+ max_model_len: 10000
122
+ num_first_layers_in_bf16: 0
123
+ num_last_layers_in_bf16: 0
124
+ pipeline_parallel_size: 1
125
+ precision: bfloat16
126
+ skip_tokenizer_init: true
127
+ tensor_parallel_size: 4
128
+ use_deep_gemm: false
129
+ generation_batch_size: 16
130
+ logprob_batch_size: 1
131
+ logprob_chunk_size: null
132
+ make_sequence_length_divisible_by: 8
133
+ max_grad_norm: 1.0
134
+ max_total_sequence_length: 10000
135
+ megatron_cfg:
136
+ enabled: false
137
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
138
+ offload_optimizer_for_logprob: false
139
+ optimizer:
140
+ kwargs:
141
+ betas:
142
+ - 0.9
143
+ - 0.95
144
+ eps: 1.0e-08
145
+ foreach: false
146
+ fused: false
147
+ lr: 1.0e-05
148
+ weight_decay: 0.01
149
+ name: torch.optim.AdamW
150
+ precision: bfloat16
151
+ scheduler:
152
+ - kwargs:
153
+ end_factor: 1.0
154
+ start_factor: 0.1
155
+ total_iters: 20
156
+ name: torch.optim.lr_scheduler.LinearLR
157
+ - kwargs:
158
+ factor: 1.0
159
+ total_iters: 10000000000
160
+ name: torch.optim.lr_scheduler.ConstantLR
161
+ - milestones:
162
+ - 20
163
+ sequence_packing:
164
+ algorithm: modified_first_fit_decreasing
165
+ enabled: false
166
+ logprob_mb_tokens: 10000
167
+ sequence_length_round: 64
168
+ train_mb_tokens: 10000
169
+ tokenizer:
170
+ chat_template_kwargs:
171
+ enable_thinking: false
172
+ name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
173
+ train_global_batch_size: 16
174
+ train_micro_batch_size: 1
175
+ teacher:
176
+ dtensor_cfg:
177
+ _v2: true
178
+ activation_checkpointing: true
179
+ context_parallel_size: 1
180
+ cpu_offload: true
181
+ custom_parallel_plan: null
182
+ enabled: true
183
+ sequence_parallel: false
184
+ tensor_parallel_size: 4
185
+ dynamic_batching:
186
+ enabled: true
187
+ logprob_mb_tokens: 10000
188
+ sequence_length_round: 64
189
+ train_mb_tokens: 10000
190
+ generation:
191
+ backend: vllm
192
+ colocated:
193
+ enabled: true
194
+ resources:
195
+ gpus_per_node: null
196
+ num_nodes: null
197
+ max_new_tokens: 8192
198
+ stop_strings: null
199
+ stop_token_ids: null
200
+ temperature: 1.0
201
+ top_k: null
202
+ top_p: 1.0
203
+ vllm_cfg:
204
+ async_engine: false
205
+ distributed_executor_backend: null
206
+ enforce_eager: false
207
+ expert_parallel_size: 1
208
+ gpu_memory_utilization: 0.7
209
+ kv_cache_dtype: auto
210
+ max_model_len: 10000
211
+ num_first_layers_in_bf16: 0
212
+ num_last_layers_in_bf16: 0
213
+ pipeline_parallel_size: 1
214
+ precision: bfloat16
215
+ tensor_parallel_size: 4
216
+ use_deep_gemm: false
217
+ generation_batch_size: 16
218
+ logprob_batch_size: 1
219
+ logprob_chunk_size: null
220
+ make_sequence_length_divisible_by: 8
221
+ max_grad_norm: 1.0
222
+ max_total_sequence_length: 10000
223
+ megatron_cfg:
224
+ enabled: false
225
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
226
+ offload_optimizer_for_logprob: false
227
+ optimizer:
228
+ kwargs:
229
+ betas:
230
+ - 0.9
231
+ - 0.95
232
+ eps: 1.0e-08
233
+ foreach: false
234
+ fused: false
235
+ lr: 5.0e-06
236
+ weight_decay: 0.01
237
+ name: torch.optim.AdamW
238
+ precision: bfloat16
239
+ scheduler:
240
+ - kwargs:
241
+ end_factor: 1.0
242
+ start_factor: 0.1
243
+ total_iters: 20
244
+ name: torch.optim.lr_scheduler.LinearLR
245
+ - kwargs:
246
+ factor: 1.0
247
+ total_iters: 10000000000
248
+ name: torch.optim.lr_scheduler.ConstantLR
249
+ - milestones: []
250
+ sequence_packing:
251
+ algorithm: modified_first_fit_decreasing
252
+ enabled: false
253
+ logprob_mb_tokens: 10000
254
+ sequence_length_round: 64
255
+ train_mb_tokens: 10000
256
+ tokenizer:
257
+ chat_template_kwargs:
258
+ enable_thinking: false
259
+ name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
260
+ train_global_batch_size: 16
261
+ train_micro_batch_size: 1
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- for message in messages %}
18
+ {%- if message.content is string %}
19
+ {%- set content = message.content %}
20
+ {%- else %}
21
+ {%- set content = '' %}
22
+ {%- endif %}
23
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
24
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
25
+ {%- elif message.role == "assistant" %}
26
+ {{- '<|im_start|>' + message.role + '\n' + content }}
27
+ {%- if message.tool_calls %}
28
+ {%- for tool_call in message.tool_calls %}
29
+ {%- if (loop.first and content) or (not loop.first) %}
30
+ {{- '\n' }}
31
+ {%- endif %}
32
+ {%- if tool_call.function %}
33
+ {%- set tool_call = tool_call.function %}
34
+ {%- endif %}
35
+ {{- '<tool_call>\n{"name": "' }}
36
+ {{- tool_call.name }}
37
+ {{- '", "arguments": ' }}
38
+ {%- if tool_call.arguments is string %}
39
+ {{- tool_call.arguments }}
40
+ {%- else %}
41
+ {{- tool_call.arguments | tojson }}
42
+ {%- endif %}
43
+ {{- '}\n</tool_call>' }}
44
+ {%- endfor %}
45
+ {%- endif %}
46
+ {{- '<|im_end|>\n' }}
47
+ {%- elif message.role == "tool" %}
48
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
49
+ {{- '<|im_start|>user' }}
50
+ {%- endif %}
51
+ {{- '\n<tool_response>\n' }}
52
+ {{- content }}
53
+ {{- '\n</tool_response>' }}
54
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
55
+ {{- '<|im_end|>\n' }}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- endfor %}
59
+ {%- if add_generation_prompt %}
60
+ {{- '<|im_start|>assistant\n' }}
61
+ {%- endif %}
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 1010000,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/weights/model/.hf_metadata/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "dtype": "float32",
9
+ "eos_token_id": 151645,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 2560,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 9728,
15
+ "layer_types": [
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention"
52
+ ],
53
+ "max_position_embeddings": 262144,
54
+ "max_window_layers": 36,
55
+ "model_type": "qwen3",
56
+ "nemo_version": "0.2.0",
57
+ "num_attention_heads": 32,
58
+ "num_hidden_layers": 36,
59
+ "num_key_value_heads": 8,
60
+ "pad_token_id": 151643,
61
+ "rms_norm_eps": 1e-06,
62
+ "rope_scaling": null,
63
+ "rope_theta": 5000000,
64
+ "sliding_window": null,
65
+ "tie_word_embeddings": true,
66
+ "transformers_version": "4.57.1",
67
+ "use_cache": false,
68
+ "use_sliding_window": false,
69
+ "vocab_size": 151936
70
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/weights/model/.hf_metadata/fqn_to_file_index_mapping.json ADDED
@@ -0,0 +1,400 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model.embed_tokens.weight": 1,
3
+ "model.layers.0.input_layernorm.weight": 1,
4
+ "model.layers.0.mlp.down_proj.weight": 1,
5
+ "model.layers.0.mlp.gate_proj.weight": 1,
6
+ "model.layers.0.mlp.up_proj.weight": 1,
7
+ "model.layers.0.post_attention_layernorm.weight": 1,
8
+ "model.layers.0.self_attn.k_norm.weight": 1,
9
+ "model.layers.0.self_attn.k_proj.weight": 1,
10
+ "model.layers.0.self_attn.o_proj.weight": 1,
11
+ "model.layers.0.self_attn.q_norm.weight": 1,
12
+ "model.layers.0.self_attn.q_proj.weight": 1,
13
+ "model.layers.0.self_attn.v_proj.weight": 1,
14
+ "model.layers.1.input_layernorm.weight": 1,
15
+ "model.layers.1.mlp.down_proj.weight": 1,
16
+ "model.layers.1.mlp.gate_proj.weight": 1,
17
+ "model.layers.1.mlp.up_proj.weight": 1,
18
+ "model.layers.1.post_attention_layernorm.weight": 1,
19
+ "model.layers.1.self_attn.k_norm.weight": 1,
20
+ "model.layers.1.self_attn.k_proj.weight": 1,
21
+ "model.layers.1.self_attn.o_proj.weight": 1,
22
+ "model.layers.1.self_attn.q_norm.weight": 1,
23
+ "model.layers.1.self_attn.q_proj.weight": 1,
24
+ "model.layers.1.self_attn.v_proj.weight": 1,
25
+ "model.layers.10.input_layernorm.weight": 1,
26
+ "model.layers.10.mlp.down_proj.weight": 1,
27
+ "model.layers.10.mlp.gate_proj.weight": 1,
28
+ "model.layers.10.mlp.up_proj.weight": 1,
29
+ "model.layers.10.post_attention_layernorm.weight": 1,
30
+ "model.layers.10.self_attn.k_norm.weight": 1,
31
+ "model.layers.10.self_attn.k_proj.weight": 1,
32
+ "model.layers.10.self_attn.o_proj.weight": 1,
33
+ "model.layers.10.self_attn.q_norm.weight": 1,
34
+ "model.layers.10.self_attn.q_proj.weight": 1,
35
+ "model.layers.10.self_attn.v_proj.weight": 1,
36
+ "model.layers.11.input_layernorm.weight": 1,
37
+ "model.layers.11.mlp.down_proj.weight": 1,
38
+ "model.layers.11.mlp.gate_proj.weight": 1,
39
+ "model.layers.11.mlp.up_proj.weight": 1,
40
+ "model.layers.11.post_attention_layernorm.weight": 1,
41
+ "model.layers.11.self_attn.k_norm.weight": 1,
42
+ "model.layers.11.self_attn.k_proj.weight": 1,
43
+ "model.layers.11.self_attn.o_proj.weight": 1,
44
+ "model.layers.11.self_attn.q_norm.weight": 1,
45
+ "model.layers.11.self_attn.q_proj.weight": 1,
46
+ "model.layers.11.self_attn.v_proj.weight": 1,
47
+ "model.layers.12.input_layernorm.weight": 1,
48
+ "model.layers.12.mlp.down_proj.weight": 1,
49
+ "model.layers.12.mlp.gate_proj.weight": 1,
50
+ "model.layers.12.mlp.up_proj.weight": 1,
51
+ "model.layers.12.post_attention_layernorm.weight": 1,
52
+ "model.layers.12.self_attn.k_norm.weight": 1,
53
+ "model.layers.12.self_attn.k_proj.weight": 1,
54
+ "model.layers.12.self_attn.o_proj.weight": 1,
55
+ "model.layers.12.self_attn.q_norm.weight": 1,
56
+ "model.layers.12.self_attn.q_proj.weight": 1,
57
+ "model.layers.12.self_attn.v_proj.weight": 1,
58
+ "model.layers.13.input_layernorm.weight": 1,
59
+ "model.layers.13.mlp.down_proj.weight": 1,
60
+ "model.layers.13.mlp.gate_proj.weight": 1,
61
+ "model.layers.13.mlp.up_proj.weight": 1,
62
+ "model.layers.13.post_attention_layernorm.weight": 1,
63
+ "model.layers.13.self_attn.k_norm.weight": 1,
64
+ "model.layers.13.self_attn.k_proj.weight": 1,
65
+ "model.layers.13.self_attn.o_proj.weight": 1,
66
+ "model.layers.13.self_attn.q_norm.weight": 1,
67
+ "model.layers.13.self_attn.q_proj.weight": 1,
68
+ "model.layers.13.self_attn.v_proj.weight": 1,
69
+ "model.layers.14.input_layernorm.weight": 1,
70
+ "model.layers.14.mlp.down_proj.weight": 1,
71
+ "model.layers.14.mlp.gate_proj.weight": 1,
72
+ "model.layers.14.mlp.up_proj.weight": 1,
73
+ "model.layers.14.post_attention_layernorm.weight": 1,
74
+ "model.layers.14.self_attn.k_norm.weight": 1,
75
+ "model.layers.14.self_attn.k_proj.weight": 1,
76
+ "model.layers.14.self_attn.o_proj.weight": 1,
77
+ "model.layers.14.self_attn.q_norm.weight": 1,
78
+ "model.layers.14.self_attn.q_proj.weight": 1,
79
+ "model.layers.14.self_attn.v_proj.weight": 1,
80
+ "model.layers.15.input_layernorm.weight": 2,
81
+ "model.layers.15.mlp.down_proj.weight": 2,
82
+ "model.layers.15.mlp.gate_proj.weight": 1,
83
+ "model.layers.15.mlp.up_proj.weight": 1,
84
+ "model.layers.15.post_attention_layernorm.weight": 2,
85
+ "model.layers.15.self_attn.k_norm.weight": 1,
86
+ "model.layers.15.self_attn.k_proj.weight": 1,
87
+ "model.layers.15.self_attn.o_proj.weight": 1,
88
+ "model.layers.15.self_attn.q_norm.weight": 1,
89
+ "model.layers.15.self_attn.q_proj.weight": 1,
90
+ "model.layers.15.self_attn.v_proj.weight": 1,
91
+ "model.layers.16.input_layernorm.weight": 2,
92
+ "model.layers.16.mlp.down_proj.weight": 2,
93
+ "model.layers.16.mlp.gate_proj.weight": 2,
94
+ "model.layers.16.mlp.up_proj.weight": 2,
95
+ "model.layers.16.post_attention_layernorm.weight": 2,
96
+ "model.layers.16.self_attn.k_norm.weight": 2,
97
+ "model.layers.16.self_attn.k_proj.weight": 2,
98
+ "model.layers.16.self_attn.o_proj.weight": 2,
99
+ "model.layers.16.self_attn.q_norm.weight": 2,
100
+ "model.layers.16.self_attn.q_proj.weight": 2,
101
+ "model.layers.16.self_attn.v_proj.weight": 2,
102
+ "model.layers.17.input_layernorm.weight": 2,
103
+ "model.layers.17.mlp.down_proj.weight": 2,
104
+ "model.layers.17.mlp.gate_proj.weight": 2,
105
+ "model.layers.17.mlp.up_proj.weight": 2,
106
+ "model.layers.17.post_attention_layernorm.weight": 2,
107
+ "model.layers.17.self_attn.k_norm.weight": 2,
108
+ "model.layers.17.self_attn.k_proj.weight": 2,
109
+ "model.layers.17.self_attn.o_proj.weight": 2,
110
+ "model.layers.17.self_attn.q_norm.weight": 2,
111
+ "model.layers.17.self_attn.q_proj.weight": 2,
112
+ "model.layers.17.self_attn.v_proj.weight": 2,
113
+ "model.layers.18.input_layernorm.weight": 2,
114
+ "model.layers.18.mlp.down_proj.weight": 2,
115
+ "model.layers.18.mlp.gate_proj.weight": 2,
116
+ "model.layers.18.mlp.up_proj.weight": 2,
117
+ "model.layers.18.post_attention_layernorm.weight": 2,
118
+ "model.layers.18.self_attn.k_norm.weight": 2,
119
+ "model.layers.18.self_attn.k_proj.weight": 2,
120
+ "model.layers.18.self_attn.o_proj.weight": 2,
121
+ "model.layers.18.self_attn.q_norm.weight": 2,
122
+ "model.layers.18.self_attn.q_proj.weight": 2,
123
+ "model.layers.18.self_attn.v_proj.weight": 2,
124
+ "model.layers.19.input_layernorm.weight": 2,
125
+ "model.layers.19.mlp.down_proj.weight": 2,
126
+ "model.layers.19.mlp.gate_proj.weight": 2,
127
+ "model.layers.19.mlp.up_proj.weight": 2,
128
+ "model.layers.19.post_attention_layernorm.weight": 2,
129
+ "model.layers.19.self_attn.k_norm.weight": 2,
130
+ "model.layers.19.self_attn.k_proj.weight": 2,
131
+ "model.layers.19.self_attn.o_proj.weight": 2,
132
+ "model.layers.19.self_attn.q_norm.weight": 2,
133
+ "model.layers.19.self_attn.q_proj.weight": 2,
134
+ "model.layers.19.self_attn.v_proj.weight": 2,
135
+ "model.layers.2.input_layernorm.weight": 1,
136
+ "model.layers.2.mlp.down_proj.weight": 1,
137
+ "model.layers.2.mlp.gate_proj.weight": 1,
138
+ "model.layers.2.mlp.up_proj.weight": 1,
139
+ "model.layers.2.post_attention_layernorm.weight": 1,
140
+ "model.layers.2.self_attn.k_norm.weight": 1,
141
+ "model.layers.2.self_attn.k_proj.weight": 1,
142
+ "model.layers.2.self_attn.o_proj.weight": 1,
143
+ "model.layers.2.self_attn.q_norm.weight": 1,
144
+ "model.layers.2.self_attn.q_proj.weight": 1,
145
+ "model.layers.2.self_attn.v_proj.weight": 1,
146
+ "model.layers.20.input_layernorm.weight": 2,
147
+ "model.layers.20.mlp.down_proj.weight": 2,
148
+ "model.layers.20.mlp.gate_proj.weight": 2,
149
+ "model.layers.20.mlp.up_proj.weight": 2,
150
+ "model.layers.20.post_attention_layernorm.weight": 2,
151
+ "model.layers.20.self_attn.k_norm.weight": 2,
152
+ "model.layers.20.self_attn.k_proj.weight": 2,
153
+ "model.layers.20.self_attn.o_proj.weight": 2,
154
+ "model.layers.20.self_attn.q_norm.weight": 2,
155
+ "model.layers.20.self_attn.q_proj.weight": 2,
156
+ "model.layers.20.self_attn.v_proj.weight": 2,
157
+ "model.layers.21.input_layernorm.weight": 2,
158
+ "model.layers.21.mlp.down_proj.weight": 2,
159
+ "model.layers.21.mlp.gate_proj.weight": 2,
160
+ "model.layers.21.mlp.up_proj.weight": 2,
161
+ "model.layers.21.post_attention_layernorm.weight": 2,
162
+ "model.layers.21.self_attn.k_norm.weight": 2,
163
+ "model.layers.21.self_attn.k_proj.weight": 2,
164
+ "model.layers.21.self_attn.o_proj.weight": 2,
165
+ "model.layers.21.self_attn.q_norm.weight": 2,
166
+ "model.layers.21.self_attn.q_proj.weight": 2,
167
+ "model.layers.21.self_attn.v_proj.weight": 2,
168
+ "model.layers.22.input_layernorm.weight": 2,
169
+ "model.layers.22.mlp.down_proj.weight": 2,
170
+ "model.layers.22.mlp.gate_proj.weight": 2,
171
+ "model.layers.22.mlp.up_proj.weight": 2,
172
+ "model.layers.22.post_attention_layernorm.weight": 2,
173
+ "model.layers.22.self_attn.k_norm.weight": 2,
174
+ "model.layers.22.self_attn.k_proj.weight": 2,
175
+ "model.layers.22.self_attn.o_proj.weight": 2,
176
+ "model.layers.22.self_attn.q_norm.weight": 2,
177
+ "model.layers.22.self_attn.q_proj.weight": 2,
178
+ "model.layers.22.self_attn.v_proj.weight": 2,
179
+ "model.layers.23.input_layernorm.weight": 2,
180
+ "model.layers.23.mlp.down_proj.weight": 2,
181
+ "model.layers.23.mlp.gate_proj.weight": 2,
182
+ "model.layers.23.mlp.up_proj.weight": 2,
183
+ "model.layers.23.post_attention_layernorm.weight": 2,
184
+ "model.layers.23.self_attn.k_norm.weight": 2,
185
+ "model.layers.23.self_attn.k_proj.weight": 2,
186
+ "model.layers.23.self_attn.o_proj.weight": 2,
187
+ "model.layers.23.self_attn.q_norm.weight": 2,
188
+ "model.layers.23.self_attn.q_proj.weight": 2,
189
+ "model.layers.23.self_attn.v_proj.weight": 2,
190
+ "model.layers.24.input_layernorm.weight": 2,
191
+ "model.layers.24.mlp.down_proj.weight": 2,
192
+ "model.layers.24.mlp.gate_proj.weight": 2,
193
+ "model.layers.24.mlp.up_proj.weight": 2,
194
+ "model.layers.24.post_attention_layernorm.weight": 2,
195
+ "model.layers.24.self_attn.k_norm.weight": 2,
196
+ "model.layers.24.self_attn.k_proj.weight": 2,
197
+ "model.layers.24.self_attn.o_proj.weight": 2,
198
+ "model.layers.24.self_attn.q_norm.weight": 2,
199
+ "model.layers.24.self_attn.q_proj.weight": 2,
200
+ "model.layers.24.self_attn.v_proj.weight": 2,
201
+ "model.layers.25.input_layernorm.weight": 2,
202
+ "model.layers.25.mlp.down_proj.weight": 2,
203
+ "model.layers.25.mlp.gate_proj.weight": 2,
204
+ "model.layers.25.mlp.up_proj.weight": 2,
205
+ "model.layers.25.post_attention_layernorm.weight": 2,
206
+ "model.layers.25.self_attn.k_norm.weight": 2,
207
+ "model.layers.25.self_attn.k_proj.weight": 2,
208
+ "model.layers.25.self_attn.o_proj.weight": 2,
209
+ "model.layers.25.self_attn.q_norm.weight": 2,
210
+ "model.layers.25.self_attn.q_proj.weight": 2,
211
+ "model.layers.25.self_attn.v_proj.weight": 2,
212
+ "model.layers.26.input_layernorm.weight": 2,
213
+ "model.layers.26.mlp.down_proj.weight": 2,
214
+ "model.layers.26.mlp.gate_proj.weight": 2,
215
+ "model.layers.26.mlp.up_proj.weight": 2,
216
+ "model.layers.26.post_attention_layernorm.weight": 2,
217
+ "model.layers.26.self_attn.k_norm.weight": 2,
218
+ "model.layers.26.self_attn.k_proj.weight": 2,
219
+ "model.layers.26.self_attn.o_proj.weight": 2,
220
+ "model.layers.26.self_attn.q_norm.weight": 2,
221
+ "model.layers.26.self_attn.q_proj.weight": 2,
222
+ "model.layers.26.self_attn.v_proj.weight": 2,
223
+ "model.layers.27.input_layernorm.weight": 2,
224
+ "model.layers.27.mlp.down_proj.weight": 2,
225
+ "model.layers.27.mlp.gate_proj.weight": 2,
226
+ "model.layers.27.mlp.up_proj.weight": 2,
227
+ "model.layers.27.post_attention_layernorm.weight": 2,
228
+ "model.layers.27.self_attn.k_norm.weight": 2,
229
+ "model.layers.27.self_attn.k_proj.weight": 2,
230
+ "model.layers.27.self_attn.o_proj.weight": 2,
231
+ "model.layers.27.self_attn.q_norm.weight": 2,
232
+ "model.layers.27.self_attn.q_proj.weight": 2,
233
+ "model.layers.27.self_attn.v_proj.weight": 2,
234
+ "model.layers.28.input_layernorm.weight": 2,
235
+ "model.layers.28.mlp.down_proj.weight": 2,
236
+ "model.layers.28.mlp.gate_proj.weight": 2,
237
+ "model.layers.28.mlp.up_proj.weight": 2,
238
+ "model.layers.28.post_attention_layernorm.weight": 2,
239
+ "model.layers.28.self_attn.k_norm.weight": 2,
240
+ "model.layers.28.self_attn.k_proj.weight": 2,
241
+ "model.layers.28.self_attn.o_proj.weight": 2,
242
+ "model.layers.28.self_attn.q_norm.weight": 2,
243
+ "model.layers.28.self_attn.q_proj.weight": 2,
244
+ "model.layers.28.self_attn.v_proj.weight": 2,
245
+ "model.layers.29.input_layernorm.weight": 2,
246
+ "model.layers.29.mlp.down_proj.weight": 2,
247
+ "model.layers.29.mlp.gate_proj.weight": 2,
248
+ "model.layers.29.mlp.up_proj.weight": 2,
249
+ "model.layers.29.post_attention_layernorm.weight": 2,
250
+ "model.layers.29.self_attn.k_norm.weight": 2,
251
+ "model.layers.29.self_attn.k_proj.weight": 2,
252
+ "model.layers.29.self_attn.o_proj.weight": 2,
253
+ "model.layers.29.self_attn.q_norm.weight": 2,
254
+ "model.layers.29.self_attn.q_proj.weight": 2,
255
+ "model.layers.29.self_attn.v_proj.weight": 2,
256
+ "model.layers.3.input_layernorm.weight": 1,
257
+ "model.layers.3.mlp.down_proj.weight": 1,
258
+ "model.layers.3.mlp.gate_proj.weight": 1,
259
+ "model.layers.3.mlp.up_proj.weight": 1,
260
+ "model.layers.3.post_attention_layernorm.weight": 1,
261
+ "model.layers.3.self_attn.k_norm.weight": 1,
262
+ "model.layers.3.self_attn.k_proj.weight": 1,
263
+ "model.layers.3.self_attn.o_proj.weight": 1,
264
+ "model.layers.3.self_attn.q_norm.weight": 1,
265
+ "model.layers.3.self_attn.q_proj.weight": 1,
266
+ "model.layers.3.self_attn.v_proj.weight": 1,
267
+ "model.layers.30.input_layernorm.weight": 2,
268
+ "model.layers.30.mlp.down_proj.weight": 2,
269
+ "model.layers.30.mlp.gate_proj.weight": 2,
270
+ "model.layers.30.mlp.up_proj.weight": 2,
271
+ "model.layers.30.post_attention_layernorm.weight": 2,
272
+ "model.layers.30.self_attn.k_norm.weight": 2,
273
+ "model.layers.30.self_attn.k_proj.weight": 2,
274
+ "model.layers.30.self_attn.o_proj.weight": 2,
275
+ "model.layers.30.self_attn.q_norm.weight": 2,
276
+ "model.layers.30.self_attn.q_proj.weight": 2,
277
+ "model.layers.30.self_attn.v_proj.weight": 2,
278
+ "model.layers.31.input_layernorm.weight": 2,
279
+ "model.layers.31.mlp.down_proj.weight": 2,
280
+ "model.layers.31.mlp.gate_proj.weight": 2,
281
+ "model.layers.31.mlp.up_proj.weight": 2,
282
+ "model.layers.31.post_attention_layernorm.weight": 2,
283
+ "model.layers.31.self_attn.k_norm.weight": 2,
284
+ "model.layers.31.self_attn.k_proj.weight": 2,
285
+ "model.layers.31.self_attn.o_proj.weight": 2,
286
+ "model.layers.31.self_attn.q_norm.weight": 2,
287
+ "model.layers.31.self_attn.q_proj.weight": 2,
288
+ "model.layers.31.self_attn.v_proj.weight": 2,
289
+ "model.layers.32.input_layernorm.weight": 2,
290
+ "model.layers.32.mlp.down_proj.weight": 2,
291
+ "model.layers.32.mlp.gate_proj.weight": 2,
292
+ "model.layers.32.mlp.up_proj.weight": 2,
293
+ "model.layers.32.post_attention_layernorm.weight": 2,
294
+ "model.layers.32.self_attn.k_norm.weight": 2,
295
+ "model.layers.32.self_attn.k_proj.weight": 2,
296
+ "model.layers.32.self_attn.o_proj.weight": 2,
297
+ "model.layers.32.self_attn.q_norm.weight": 2,
298
+ "model.layers.32.self_attn.q_proj.weight": 2,
299
+ "model.layers.32.self_attn.v_proj.weight": 2,
300
+ "model.layers.33.input_layernorm.weight": 2,
301
+ "model.layers.33.mlp.down_proj.weight": 2,
302
+ "model.layers.33.mlp.gate_proj.weight": 2,
303
+ "model.layers.33.mlp.up_proj.weight": 2,
304
+ "model.layers.33.post_attention_layernorm.weight": 2,
305
+ "model.layers.33.self_attn.k_norm.weight": 2,
306
+ "model.layers.33.self_attn.k_proj.weight": 2,
307
+ "model.layers.33.self_attn.o_proj.weight": 2,
308
+ "model.layers.33.self_attn.q_norm.weight": 2,
309
+ "model.layers.33.self_attn.q_proj.weight": 2,
310
+ "model.layers.33.self_attn.v_proj.weight": 2,
311
+ "model.layers.34.input_layernorm.weight": 2,
312
+ "model.layers.34.mlp.down_proj.weight": 2,
313
+ "model.layers.34.mlp.gate_proj.weight": 2,
314
+ "model.layers.34.mlp.up_proj.weight": 2,
315
+ "model.layers.34.post_attention_layernorm.weight": 2,
316
+ "model.layers.34.self_attn.k_norm.weight": 2,
317
+ "model.layers.34.self_attn.k_proj.weight": 2,
318
+ "model.layers.34.self_attn.o_proj.weight": 2,
319
+ "model.layers.34.self_attn.q_norm.weight": 2,
320
+ "model.layers.34.self_attn.q_proj.weight": 2,
321
+ "model.layers.34.self_attn.v_proj.weight": 2,
322
+ "model.layers.35.input_layernorm.weight": 3,
323
+ "model.layers.35.mlp.down_proj.weight": 3,
324
+ "model.layers.35.mlp.gate_proj.weight": 2,
325
+ "model.layers.35.mlp.up_proj.weight": 3,
326
+ "model.layers.35.post_attention_layernorm.weight": 3,
327
+ "model.layers.35.self_attn.k_norm.weight": 2,
328
+ "model.layers.35.self_attn.k_proj.weight": 2,
329
+ "model.layers.35.self_attn.o_proj.weight": 2,
330
+ "model.layers.35.self_attn.q_norm.weight": 2,
331
+ "model.layers.35.self_attn.q_proj.weight": 2,
332
+ "model.layers.35.self_attn.v_proj.weight": 2,
333
+ "model.layers.4.input_layernorm.weight": 1,
334
+ "model.layers.4.mlp.down_proj.weight": 1,
335
+ "model.layers.4.mlp.gate_proj.weight": 1,
336
+ "model.layers.4.mlp.up_proj.weight": 1,
337
+ "model.layers.4.post_attention_layernorm.weight": 1,
338
+ "model.layers.4.self_attn.k_norm.weight": 1,
339
+ "model.layers.4.self_attn.k_proj.weight": 1,
340
+ "model.layers.4.self_attn.o_proj.weight": 1,
341
+ "model.layers.4.self_attn.q_norm.weight": 1,
342
+ "model.layers.4.self_attn.q_proj.weight": 1,
343
+ "model.layers.4.self_attn.v_proj.weight": 1,
344
+ "model.layers.5.input_layernorm.weight": 1,
345
+ "model.layers.5.mlp.down_proj.weight": 1,
346
+ "model.layers.5.mlp.gate_proj.weight": 1,
347
+ "model.layers.5.mlp.up_proj.weight": 1,
348
+ "model.layers.5.post_attention_layernorm.weight": 1,
349
+ "model.layers.5.self_attn.k_norm.weight": 1,
350
+ "model.layers.5.self_attn.k_proj.weight": 1,
351
+ "model.layers.5.self_attn.o_proj.weight": 1,
352
+ "model.layers.5.self_attn.q_norm.weight": 1,
353
+ "model.layers.5.self_attn.q_proj.weight": 1,
354
+ "model.layers.5.self_attn.v_proj.weight": 1,
355
+ "model.layers.6.input_layernorm.weight": 1,
356
+ "model.layers.6.mlp.down_proj.weight": 1,
357
+ "model.layers.6.mlp.gate_proj.weight": 1,
358
+ "model.layers.6.mlp.up_proj.weight": 1,
359
+ "model.layers.6.post_attention_layernorm.weight": 1,
360
+ "model.layers.6.self_attn.k_norm.weight": 1,
361
+ "model.layers.6.self_attn.k_proj.weight": 1,
362
+ "model.layers.6.self_attn.o_proj.weight": 1,
363
+ "model.layers.6.self_attn.q_norm.weight": 1,
364
+ "model.layers.6.self_attn.q_proj.weight": 1,
365
+ "model.layers.6.self_attn.v_proj.weight": 1,
366
+ "model.layers.7.input_layernorm.weight": 1,
367
+ "model.layers.7.mlp.down_proj.weight": 1,
368
+ "model.layers.7.mlp.gate_proj.weight": 1,
369
+ "model.layers.7.mlp.up_proj.weight": 1,
370
+ "model.layers.7.post_attention_layernorm.weight": 1,
371
+ "model.layers.7.self_attn.k_norm.weight": 1,
372
+ "model.layers.7.self_attn.k_proj.weight": 1,
373
+ "model.layers.7.self_attn.o_proj.weight": 1,
374
+ "model.layers.7.self_attn.q_norm.weight": 1,
375
+ "model.layers.7.self_attn.q_proj.weight": 1,
376
+ "model.layers.7.self_attn.v_proj.weight": 1,
377
+ "model.layers.8.input_layernorm.weight": 1,
378
+ "model.layers.8.mlp.down_proj.weight": 1,
379
+ "model.layers.8.mlp.gate_proj.weight": 1,
380
+ "model.layers.8.mlp.up_proj.weight": 1,
381
+ "model.layers.8.post_attention_layernorm.weight": 1,
382
+ "model.layers.8.self_attn.k_norm.weight": 1,
383
+ "model.layers.8.self_attn.k_proj.weight": 1,
384
+ "model.layers.8.self_attn.o_proj.weight": 1,
385
+ "model.layers.8.self_attn.q_norm.weight": 1,
386
+ "model.layers.8.self_attn.q_proj.weight": 1,
387
+ "model.layers.8.self_attn.v_proj.weight": 1,
388
+ "model.layers.9.input_layernorm.weight": 1,
389
+ "model.layers.9.mlp.down_proj.weight": 1,
390
+ "model.layers.9.mlp.gate_proj.weight": 1,
391
+ "model.layers.9.mlp.up_proj.weight": 1,
392
+ "model.layers.9.post_attention_layernorm.weight": 1,
393
+ "model.layers.9.self_attn.k_norm.weight": 1,
394
+ "model.layers.9.self_attn.k_proj.weight": 1,
395
+ "model.layers.9.self_attn.o_proj.weight": 1,
396
+ "model.layers.9.self_attn.q_norm.weight": 1,
397
+ "model.layers.9.self_attn.q_proj.weight": 1,
398
+ "model.layers.9.self_attn.v_proj.weight": 1,
399
+ "model.norm.weight": 3
400
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/policy/weights/model/.hf_metadata/generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "temperature": 0.7,
10
+ "top_k": 20,
11
+ "top_p": 0.8,
12
+ "transformers_version": "4.57.1"
13
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_100/training_info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"current_epoch": 0, "current_step": 100, "total_steps": 100, "val_reward": 0.9771428571428571, "consumed_samples": 1600, "total_valid_tokens": 6091324.0}
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/config.yaml ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpointing:
2
+ checkpoint_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830
3
+ checkpoint_must_save_by: null
4
+ enabled: true
5
+ higher_is_better: true
6
+ keep_top_k: null
7
+ metric_name: null
8
+ model_save_format: safetensors
9
+ save_consolidated: false
10
+ save_optimizer: false
11
+ save_per_epoch: false
12
+ save_period: 20
13
+ cluster:
14
+ gpus_per_node: 4
15
+ num_nodes: 1
16
+ data:
17
+ default:
18
+ env_name: math
19
+ prompt_file: null
20
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
21
+ max_input_seq_length: 10000
22
+ shuffle: true
23
+ train:
24
+ - dataset_name: math_ops_opsd
25
+ env_name: math
26
+ processor: math_ops_opsd
27
+ prompt_file: null
28
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
29
+ validation:
30
+ - dataset_name: math_ops_opsd_val
31
+ env_name: math
32
+ processor: math_ops_opsd
33
+ prompt_file: null
34
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
35
+ distillation:
36
+ ema_decay: 1.0
37
+ max_num_epochs: 1
38
+ max_num_steps: 100
39
+ max_rollout_turns: 1
40
+ max_val_samples: 200
41
+ num_generations_per_prompt: 1
42
+ num_prompts_per_step: 16
43
+ rollout_policy: student
44
+ seed: 42
45
+ topk_logits_k: 64
46
+ val_at_end: true
47
+ val_at_start: true
48
+ val_batch_size: 32
49
+ val_period: 20
50
+ env:
51
+ math:
52
+ num_workers: 8
53
+ logger:
54
+ gpu_monitoring:
55
+ collection_interval: 10
56
+ flush_interval: 10
57
+ log_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/logs/exp_001
58
+ mlflow_enabled: false
59
+ monitor_gpus: true
60
+ num_val_samples_to_print: 5
61
+ swanlab_enabled: false
62
+ tensorboard:
63
+ log_dir: tb_logs-opsd-math-nll-teacher-top1-gt-qwen3-4b-n1-t0
64
+ tensorboard_enabled: true
65
+ wandb:
66
+ entity: mathrl-jiarui
67
+ name: opsd-math-ops-nll-teacher-top1-gt-n1-t0-20260429-Qwen3-4B-Instruct-2507
68
+ project: mix-teachers-opsd
69
+ wandb_enabled: true
70
+ loss_fn:
71
+ kl_type: forward
72
+ mixed_kl_weight: 0.5
73
+ zero_outside_topk: false
74
+ paths:
75
+ base_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd
76
+ checkpoint_dir: /home/fs01/yw2349/jiarui/mathrl_data/mix_teachers/checkpoints/math_operations/opsd_nemo_rl
77
+ data_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/data/math_operations/primitive_atomic_balanced_sft_50k
78
+ log_dir: /home/fs01/yw2349/jiarui/mathrl_data/mix_teachers/checkpoints/math_operations/opsd_nemo_rl/logs
79
+ model_search_dirs:
80
+ - /home/fs01/yw2349/jiarui/mathrl_data/models
81
+ policy:
82
+ dtensor_cfg:
83
+ _v2: true
84
+ activation_checkpointing: true
85
+ context_parallel_size: 1
86
+ cpu_offload: true
87
+ custom_parallel_plan: null
88
+ enabled: true
89
+ sequence_parallel: false
90
+ tensor_parallel_size: 4
91
+ dynamic_batching:
92
+ enabled: true
93
+ logprob_mb_tokens: 10000
94
+ sequence_length_round: 64
95
+ train_mb_tokens: 10000
96
+ generation:
97
+ _pad_token_id: 151643
98
+ backend: vllm
99
+ colocated:
100
+ enabled: true
101
+ resources:
102
+ gpus_per_node: null
103
+ num_nodes: null
104
+ max_new_tokens: 8192
105
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
106
+ stop_strings: null
107
+ stop_token_ids:
108
+ - 151645
109
+ temperature: 0.0
110
+ top_k: null
111
+ top_p: 1.0
112
+ vllm_cfg:
113
+ async_engine: false
114
+ distributed_executor_backend: null
115
+ enforce_eager: false
116
+ expert_parallel_size: 1
117
+ gpu_memory_utilization: 0.7
118
+ hf_overrides: {}
119
+ kv_cache_dtype: auto
120
+ load_format: dummy
121
+ max_model_len: 10000
122
+ num_first_layers_in_bf16: 0
123
+ num_last_layers_in_bf16: 0
124
+ pipeline_parallel_size: 1
125
+ precision: bfloat16
126
+ skip_tokenizer_init: true
127
+ tensor_parallel_size: 4
128
+ use_deep_gemm: false
129
+ generation_batch_size: 16
130
+ logprob_batch_size: 1
131
+ logprob_chunk_size: null
132
+ make_sequence_length_divisible_by: 8
133
+ max_grad_norm: 1.0
134
+ max_total_sequence_length: 10000
135
+ megatron_cfg:
136
+ enabled: false
137
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
138
+ offload_optimizer_for_logprob: false
139
+ optimizer:
140
+ kwargs:
141
+ betas:
142
+ - 0.9
143
+ - 0.95
144
+ eps: 1.0e-08
145
+ foreach: false
146
+ fused: false
147
+ lr: 1.0e-05
148
+ weight_decay: 0.01
149
+ name: torch.optim.AdamW
150
+ precision: bfloat16
151
+ scheduler:
152
+ - kwargs:
153
+ end_factor: 1.0
154
+ start_factor: 0.1
155
+ total_iters: 20
156
+ name: torch.optim.lr_scheduler.LinearLR
157
+ - kwargs:
158
+ factor: 1.0
159
+ total_iters: 10000000000
160
+ name: torch.optim.lr_scheduler.ConstantLR
161
+ - milestones:
162
+ - 20
163
+ sequence_packing:
164
+ algorithm: modified_first_fit_decreasing
165
+ enabled: false
166
+ logprob_mb_tokens: 10000
167
+ sequence_length_round: 64
168
+ train_mb_tokens: 10000
169
+ tokenizer:
170
+ chat_template_kwargs:
171
+ enable_thinking: false
172
+ name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
173
+ train_global_batch_size: 16
174
+ train_micro_batch_size: 1
175
+ teacher:
176
+ dtensor_cfg:
177
+ _v2: true
178
+ activation_checkpointing: true
179
+ context_parallel_size: 1
180
+ cpu_offload: true
181
+ custom_parallel_plan: null
182
+ enabled: true
183
+ sequence_parallel: false
184
+ tensor_parallel_size: 4
185
+ dynamic_batching:
186
+ enabled: true
187
+ logprob_mb_tokens: 10000
188
+ sequence_length_round: 64
189
+ train_mb_tokens: 10000
190
+ generation:
191
+ backend: vllm
192
+ colocated:
193
+ enabled: true
194
+ resources:
195
+ gpus_per_node: null
196
+ num_nodes: null
197
+ max_new_tokens: 8192
198
+ stop_strings: null
199
+ stop_token_ids: null
200
+ temperature: 1.0
201
+ top_k: null
202
+ top_p: 1.0
203
+ vllm_cfg:
204
+ async_engine: false
205
+ distributed_executor_backend: null
206
+ enforce_eager: false
207
+ expert_parallel_size: 1
208
+ gpu_memory_utilization: 0.7
209
+ kv_cache_dtype: auto
210
+ max_model_len: 10000
211
+ num_first_layers_in_bf16: 0
212
+ num_last_layers_in_bf16: 0
213
+ pipeline_parallel_size: 1
214
+ precision: bfloat16
215
+ tensor_parallel_size: 4
216
+ use_deep_gemm: false
217
+ generation_batch_size: 16
218
+ logprob_batch_size: 1
219
+ logprob_chunk_size: null
220
+ make_sequence_length_divisible_by: 8
221
+ max_grad_norm: 1.0
222
+ max_total_sequence_length: 10000
223
+ megatron_cfg:
224
+ enabled: false
225
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
226
+ offload_optimizer_for_logprob: false
227
+ optimizer:
228
+ kwargs:
229
+ betas:
230
+ - 0.9
231
+ - 0.95
232
+ eps: 1.0e-08
233
+ foreach: false
234
+ fused: false
235
+ lr: 5.0e-06
236
+ weight_decay: 0.01
237
+ name: torch.optim.AdamW
238
+ precision: bfloat16
239
+ scheduler:
240
+ - kwargs:
241
+ end_factor: 1.0
242
+ start_factor: 0.1
243
+ total_iters: 20
244
+ name: torch.optim.lr_scheduler.LinearLR
245
+ - kwargs:
246
+ factor: 1.0
247
+ total_iters: 10000000000
248
+ name: torch.optim.lr_scheduler.ConstantLR
249
+ - milestones: []
250
+ sequence_packing:
251
+ algorithm: modified_first_fit_decreasing
252
+ enabled: false
253
+ logprob_mb_tokens: 10000
254
+ sequence_length_round: 64
255
+ train_mb_tokens: 10000
256
+ tokenizer:
257
+ chat_template_kwargs:
258
+ enable_thinking: false
259
+ name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
260
+ train_global_batch_size: 16
261
+ train_micro_batch_size: 1
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- for message in messages %}
18
+ {%- if message.content is string %}
19
+ {%- set content = message.content %}
20
+ {%- else %}
21
+ {%- set content = '' %}
22
+ {%- endif %}
23
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
24
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
25
+ {%- elif message.role == "assistant" %}
26
+ {{- '<|im_start|>' + message.role + '\n' + content }}
27
+ {%- if message.tool_calls %}
28
+ {%- for tool_call in message.tool_calls %}
29
+ {%- if (loop.first and content) or (not loop.first) %}
30
+ {{- '\n' }}
31
+ {%- endif %}
32
+ {%- if tool_call.function %}
33
+ {%- set tool_call = tool_call.function %}
34
+ {%- endif %}
35
+ {{- '<tool_call>\n{"name": "' }}
36
+ {{- tool_call.name }}
37
+ {{- '", "arguments": ' }}
38
+ {%- if tool_call.arguments is string %}
39
+ {{- tool_call.arguments }}
40
+ {%- else %}
41
+ {{- tool_call.arguments | tojson }}
42
+ {%- endif %}
43
+ {{- '}\n</tool_call>' }}
44
+ {%- endfor %}
45
+ {%- endif %}
46
+ {{- '<|im_end|>\n' }}
47
+ {%- elif message.role == "tool" %}
48
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
49
+ {{- '<|im_start|>user' }}
50
+ {%- endif %}
51
+ {{- '\n<tool_response>\n' }}
52
+ {{- content }}
53
+ {{- '\n</tool_response>' }}
54
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
55
+ {{- '<|im_end|>\n' }}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- endfor %}
59
+ {%- if add_generation_prompt %}
60
+ {{- '<|im_start|>assistant\n' }}
61
+ {%- endif %}
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 1010000,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/weights/model/.hf_metadata/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "dtype": "float32",
9
+ "eos_token_id": 151645,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 2560,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 9728,
15
+ "layer_types": [
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention"
52
+ ],
53
+ "max_position_embeddings": 262144,
54
+ "max_window_layers": 36,
55
+ "model_type": "qwen3",
56
+ "nemo_version": "0.2.0",
57
+ "num_attention_heads": 32,
58
+ "num_hidden_layers": 36,
59
+ "num_key_value_heads": 8,
60
+ "pad_token_id": 151643,
61
+ "rms_norm_eps": 1e-06,
62
+ "rope_scaling": null,
63
+ "rope_theta": 5000000,
64
+ "sliding_window": null,
65
+ "tie_word_embeddings": true,
66
+ "transformers_version": "4.57.1",
67
+ "use_cache": false,
68
+ "use_sliding_window": false,
69
+ "vocab_size": 151936
70
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/weights/model/.hf_metadata/fqn_to_file_index_mapping.json ADDED
@@ -0,0 +1,400 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model.embed_tokens.weight": 1,
3
+ "model.layers.0.input_layernorm.weight": 1,
4
+ "model.layers.0.mlp.down_proj.weight": 1,
5
+ "model.layers.0.mlp.gate_proj.weight": 1,
6
+ "model.layers.0.mlp.up_proj.weight": 1,
7
+ "model.layers.0.post_attention_layernorm.weight": 1,
8
+ "model.layers.0.self_attn.k_norm.weight": 1,
9
+ "model.layers.0.self_attn.k_proj.weight": 1,
10
+ "model.layers.0.self_attn.o_proj.weight": 1,
11
+ "model.layers.0.self_attn.q_norm.weight": 1,
12
+ "model.layers.0.self_attn.q_proj.weight": 1,
13
+ "model.layers.0.self_attn.v_proj.weight": 1,
14
+ "model.layers.1.input_layernorm.weight": 1,
15
+ "model.layers.1.mlp.down_proj.weight": 1,
16
+ "model.layers.1.mlp.gate_proj.weight": 1,
17
+ "model.layers.1.mlp.up_proj.weight": 1,
18
+ "model.layers.1.post_attention_layernorm.weight": 1,
19
+ "model.layers.1.self_attn.k_norm.weight": 1,
20
+ "model.layers.1.self_attn.k_proj.weight": 1,
21
+ "model.layers.1.self_attn.o_proj.weight": 1,
22
+ "model.layers.1.self_attn.q_norm.weight": 1,
23
+ "model.layers.1.self_attn.q_proj.weight": 1,
24
+ "model.layers.1.self_attn.v_proj.weight": 1,
25
+ "model.layers.10.input_layernorm.weight": 1,
26
+ "model.layers.10.mlp.down_proj.weight": 1,
27
+ "model.layers.10.mlp.gate_proj.weight": 1,
28
+ "model.layers.10.mlp.up_proj.weight": 1,
29
+ "model.layers.10.post_attention_layernorm.weight": 1,
30
+ "model.layers.10.self_attn.k_norm.weight": 1,
31
+ "model.layers.10.self_attn.k_proj.weight": 1,
32
+ "model.layers.10.self_attn.o_proj.weight": 1,
33
+ "model.layers.10.self_attn.q_norm.weight": 1,
34
+ "model.layers.10.self_attn.q_proj.weight": 1,
35
+ "model.layers.10.self_attn.v_proj.weight": 1,
36
+ "model.layers.11.input_layernorm.weight": 1,
37
+ "model.layers.11.mlp.down_proj.weight": 1,
38
+ "model.layers.11.mlp.gate_proj.weight": 1,
39
+ "model.layers.11.mlp.up_proj.weight": 1,
40
+ "model.layers.11.post_attention_layernorm.weight": 1,
41
+ "model.layers.11.self_attn.k_norm.weight": 1,
42
+ "model.layers.11.self_attn.k_proj.weight": 1,
43
+ "model.layers.11.self_attn.o_proj.weight": 1,
44
+ "model.layers.11.self_attn.q_norm.weight": 1,
45
+ "model.layers.11.self_attn.q_proj.weight": 1,
46
+ "model.layers.11.self_attn.v_proj.weight": 1,
47
+ "model.layers.12.input_layernorm.weight": 1,
48
+ "model.layers.12.mlp.down_proj.weight": 1,
49
+ "model.layers.12.mlp.gate_proj.weight": 1,
50
+ "model.layers.12.mlp.up_proj.weight": 1,
51
+ "model.layers.12.post_attention_layernorm.weight": 1,
52
+ "model.layers.12.self_attn.k_norm.weight": 1,
53
+ "model.layers.12.self_attn.k_proj.weight": 1,
54
+ "model.layers.12.self_attn.o_proj.weight": 1,
55
+ "model.layers.12.self_attn.q_norm.weight": 1,
56
+ "model.layers.12.self_attn.q_proj.weight": 1,
57
+ "model.layers.12.self_attn.v_proj.weight": 1,
58
+ "model.layers.13.input_layernorm.weight": 1,
59
+ "model.layers.13.mlp.down_proj.weight": 1,
60
+ "model.layers.13.mlp.gate_proj.weight": 1,
61
+ "model.layers.13.mlp.up_proj.weight": 1,
62
+ "model.layers.13.post_attention_layernorm.weight": 1,
63
+ "model.layers.13.self_attn.k_norm.weight": 1,
64
+ "model.layers.13.self_attn.k_proj.weight": 1,
65
+ "model.layers.13.self_attn.o_proj.weight": 1,
66
+ "model.layers.13.self_attn.q_norm.weight": 1,
67
+ "model.layers.13.self_attn.q_proj.weight": 1,
68
+ "model.layers.13.self_attn.v_proj.weight": 1,
69
+ "model.layers.14.input_layernorm.weight": 1,
70
+ "model.layers.14.mlp.down_proj.weight": 1,
71
+ "model.layers.14.mlp.gate_proj.weight": 1,
72
+ "model.layers.14.mlp.up_proj.weight": 1,
73
+ "model.layers.14.post_attention_layernorm.weight": 1,
74
+ "model.layers.14.self_attn.k_norm.weight": 1,
75
+ "model.layers.14.self_attn.k_proj.weight": 1,
76
+ "model.layers.14.self_attn.o_proj.weight": 1,
77
+ "model.layers.14.self_attn.q_norm.weight": 1,
78
+ "model.layers.14.self_attn.q_proj.weight": 1,
79
+ "model.layers.14.self_attn.v_proj.weight": 1,
80
+ "model.layers.15.input_layernorm.weight": 2,
81
+ "model.layers.15.mlp.down_proj.weight": 2,
82
+ "model.layers.15.mlp.gate_proj.weight": 1,
83
+ "model.layers.15.mlp.up_proj.weight": 1,
84
+ "model.layers.15.post_attention_layernorm.weight": 2,
85
+ "model.layers.15.self_attn.k_norm.weight": 1,
86
+ "model.layers.15.self_attn.k_proj.weight": 1,
87
+ "model.layers.15.self_attn.o_proj.weight": 1,
88
+ "model.layers.15.self_attn.q_norm.weight": 1,
89
+ "model.layers.15.self_attn.q_proj.weight": 1,
90
+ "model.layers.15.self_attn.v_proj.weight": 1,
91
+ "model.layers.16.input_layernorm.weight": 2,
92
+ "model.layers.16.mlp.down_proj.weight": 2,
93
+ "model.layers.16.mlp.gate_proj.weight": 2,
94
+ "model.layers.16.mlp.up_proj.weight": 2,
95
+ "model.layers.16.post_attention_layernorm.weight": 2,
96
+ "model.layers.16.self_attn.k_norm.weight": 2,
97
+ "model.layers.16.self_attn.k_proj.weight": 2,
98
+ "model.layers.16.self_attn.o_proj.weight": 2,
99
+ "model.layers.16.self_attn.q_norm.weight": 2,
100
+ "model.layers.16.self_attn.q_proj.weight": 2,
101
+ "model.layers.16.self_attn.v_proj.weight": 2,
102
+ "model.layers.17.input_layernorm.weight": 2,
103
+ "model.layers.17.mlp.down_proj.weight": 2,
104
+ "model.layers.17.mlp.gate_proj.weight": 2,
105
+ "model.layers.17.mlp.up_proj.weight": 2,
106
+ "model.layers.17.post_attention_layernorm.weight": 2,
107
+ "model.layers.17.self_attn.k_norm.weight": 2,
108
+ "model.layers.17.self_attn.k_proj.weight": 2,
109
+ "model.layers.17.self_attn.o_proj.weight": 2,
110
+ "model.layers.17.self_attn.q_norm.weight": 2,
111
+ "model.layers.17.self_attn.q_proj.weight": 2,
112
+ "model.layers.17.self_attn.v_proj.weight": 2,
113
+ "model.layers.18.input_layernorm.weight": 2,
114
+ "model.layers.18.mlp.down_proj.weight": 2,
115
+ "model.layers.18.mlp.gate_proj.weight": 2,
116
+ "model.layers.18.mlp.up_proj.weight": 2,
117
+ "model.layers.18.post_attention_layernorm.weight": 2,
118
+ "model.layers.18.self_attn.k_norm.weight": 2,
119
+ "model.layers.18.self_attn.k_proj.weight": 2,
120
+ "model.layers.18.self_attn.o_proj.weight": 2,
121
+ "model.layers.18.self_attn.q_norm.weight": 2,
122
+ "model.layers.18.self_attn.q_proj.weight": 2,
123
+ "model.layers.18.self_attn.v_proj.weight": 2,
124
+ "model.layers.19.input_layernorm.weight": 2,
125
+ "model.layers.19.mlp.down_proj.weight": 2,
126
+ "model.layers.19.mlp.gate_proj.weight": 2,
127
+ "model.layers.19.mlp.up_proj.weight": 2,
128
+ "model.layers.19.post_attention_layernorm.weight": 2,
129
+ "model.layers.19.self_attn.k_norm.weight": 2,
130
+ "model.layers.19.self_attn.k_proj.weight": 2,
131
+ "model.layers.19.self_attn.o_proj.weight": 2,
132
+ "model.layers.19.self_attn.q_norm.weight": 2,
133
+ "model.layers.19.self_attn.q_proj.weight": 2,
134
+ "model.layers.19.self_attn.v_proj.weight": 2,
135
+ "model.layers.2.input_layernorm.weight": 1,
136
+ "model.layers.2.mlp.down_proj.weight": 1,
137
+ "model.layers.2.mlp.gate_proj.weight": 1,
138
+ "model.layers.2.mlp.up_proj.weight": 1,
139
+ "model.layers.2.post_attention_layernorm.weight": 1,
140
+ "model.layers.2.self_attn.k_norm.weight": 1,
141
+ "model.layers.2.self_attn.k_proj.weight": 1,
142
+ "model.layers.2.self_attn.o_proj.weight": 1,
143
+ "model.layers.2.self_attn.q_norm.weight": 1,
144
+ "model.layers.2.self_attn.q_proj.weight": 1,
145
+ "model.layers.2.self_attn.v_proj.weight": 1,
146
+ "model.layers.20.input_layernorm.weight": 2,
147
+ "model.layers.20.mlp.down_proj.weight": 2,
148
+ "model.layers.20.mlp.gate_proj.weight": 2,
149
+ "model.layers.20.mlp.up_proj.weight": 2,
150
+ "model.layers.20.post_attention_layernorm.weight": 2,
151
+ "model.layers.20.self_attn.k_norm.weight": 2,
152
+ "model.layers.20.self_attn.k_proj.weight": 2,
153
+ "model.layers.20.self_attn.o_proj.weight": 2,
154
+ "model.layers.20.self_attn.q_norm.weight": 2,
155
+ "model.layers.20.self_attn.q_proj.weight": 2,
156
+ "model.layers.20.self_attn.v_proj.weight": 2,
157
+ "model.layers.21.input_layernorm.weight": 2,
158
+ "model.layers.21.mlp.down_proj.weight": 2,
159
+ "model.layers.21.mlp.gate_proj.weight": 2,
160
+ "model.layers.21.mlp.up_proj.weight": 2,
161
+ "model.layers.21.post_attention_layernorm.weight": 2,
162
+ "model.layers.21.self_attn.k_norm.weight": 2,
163
+ "model.layers.21.self_attn.k_proj.weight": 2,
164
+ "model.layers.21.self_attn.o_proj.weight": 2,
165
+ "model.layers.21.self_attn.q_norm.weight": 2,
166
+ "model.layers.21.self_attn.q_proj.weight": 2,
167
+ "model.layers.21.self_attn.v_proj.weight": 2,
168
+ "model.layers.22.input_layernorm.weight": 2,
169
+ "model.layers.22.mlp.down_proj.weight": 2,
170
+ "model.layers.22.mlp.gate_proj.weight": 2,
171
+ "model.layers.22.mlp.up_proj.weight": 2,
172
+ "model.layers.22.post_attention_layernorm.weight": 2,
173
+ "model.layers.22.self_attn.k_norm.weight": 2,
174
+ "model.layers.22.self_attn.k_proj.weight": 2,
175
+ "model.layers.22.self_attn.o_proj.weight": 2,
176
+ "model.layers.22.self_attn.q_norm.weight": 2,
177
+ "model.layers.22.self_attn.q_proj.weight": 2,
178
+ "model.layers.22.self_attn.v_proj.weight": 2,
179
+ "model.layers.23.input_layernorm.weight": 2,
180
+ "model.layers.23.mlp.down_proj.weight": 2,
181
+ "model.layers.23.mlp.gate_proj.weight": 2,
182
+ "model.layers.23.mlp.up_proj.weight": 2,
183
+ "model.layers.23.post_attention_layernorm.weight": 2,
184
+ "model.layers.23.self_attn.k_norm.weight": 2,
185
+ "model.layers.23.self_attn.k_proj.weight": 2,
186
+ "model.layers.23.self_attn.o_proj.weight": 2,
187
+ "model.layers.23.self_attn.q_norm.weight": 2,
188
+ "model.layers.23.self_attn.q_proj.weight": 2,
189
+ "model.layers.23.self_attn.v_proj.weight": 2,
190
+ "model.layers.24.input_layernorm.weight": 2,
191
+ "model.layers.24.mlp.down_proj.weight": 2,
192
+ "model.layers.24.mlp.gate_proj.weight": 2,
193
+ "model.layers.24.mlp.up_proj.weight": 2,
194
+ "model.layers.24.post_attention_layernorm.weight": 2,
195
+ "model.layers.24.self_attn.k_norm.weight": 2,
196
+ "model.layers.24.self_attn.k_proj.weight": 2,
197
+ "model.layers.24.self_attn.o_proj.weight": 2,
198
+ "model.layers.24.self_attn.q_norm.weight": 2,
199
+ "model.layers.24.self_attn.q_proj.weight": 2,
200
+ "model.layers.24.self_attn.v_proj.weight": 2,
201
+ "model.layers.25.input_layernorm.weight": 2,
202
+ "model.layers.25.mlp.down_proj.weight": 2,
203
+ "model.layers.25.mlp.gate_proj.weight": 2,
204
+ "model.layers.25.mlp.up_proj.weight": 2,
205
+ "model.layers.25.post_attention_layernorm.weight": 2,
206
+ "model.layers.25.self_attn.k_norm.weight": 2,
207
+ "model.layers.25.self_attn.k_proj.weight": 2,
208
+ "model.layers.25.self_attn.o_proj.weight": 2,
209
+ "model.layers.25.self_attn.q_norm.weight": 2,
210
+ "model.layers.25.self_attn.q_proj.weight": 2,
211
+ "model.layers.25.self_attn.v_proj.weight": 2,
212
+ "model.layers.26.input_layernorm.weight": 2,
213
+ "model.layers.26.mlp.down_proj.weight": 2,
214
+ "model.layers.26.mlp.gate_proj.weight": 2,
215
+ "model.layers.26.mlp.up_proj.weight": 2,
216
+ "model.layers.26.post_attention_layernorm.weight": 2,
217
+ "model.layers.26.self_attn.k_norm.weight": 2,
218
+ "model.layers.26.self_attn.k_proj.weight": 2,
219
+ "model.layers.26.self_attn.o_proj.weight": 2,
220
+ "model.layers.26.self_attn.q_norm.weight": 2,
221
+ "model.layers.26.self_attn.q_proj.weight": 2,
222
+ "model.layers.26.self_attn.v_proj.weight": 2,
223
+ "model.layers.27.input_layernorm.weight": 2,
224
+ "model.layers.27.mlp.down_proj.weight": 2,
225
+ "model.layers.27.mlp.gate_proj.weight": 2,
226
+ "model.layers.27.mlp.up_proj.weight": 2,
227
+ "model.layers.27.post_attention_layernorm.weight": 2,
228
+ "model.layers.27.self_attn.k_norm.weight": 2,
229
+ "model.layers.27.self_attn.k_proj.weight": 2,
230
+ "model.layers.27.self_attn.o_proj.weight": 2,
231
+ "model.layers.27.self_attn.q_norm.weight": 2,
232
+ "model.layers.27.self_attn.q_proj.weight": 2,
233
+ "model.layers.27.self_attn.v_proj.weight": 2,
234
+ "model.layers.28.input_layernorm.weight": 2,
235
+ "model.layers.28.mlp.down_proj.weight": 2,
236
+ "model.layers.28.mlp.gate_proj.weight": 2,
237
+ "model.layers.28.mlp.up_proj.weight": 2,
238
+ "model.layers.28.post_attention_layernorm.weight": 2,
239
+ "model.layers.28.self_attn.k_norm.weight": 2,
240
+ "model.layers.28.self_attn.k_proj.weight": 2,
241
+ "model.layers.28.self_attn.o_proj.weight": 2,
242
+ "model.layers.28.self_attn.q_norm.weight": 2,
243
+ "model.layers.28.self_attn.q_proj.weight": 2,
244
+ "model.layers.28.self_attn.v_proj.weight": 2,
245
+ "model.layers.29.input_layernorm.weight": 2,
246
+ "model.layers.29.mlp.down_proj.weight": 2,
247
+ "model.layers.29.mlp.gate_proj.weight": 2,
248
+ "model.layers.29.mlp.up_proj.weight": 2,
249
+ "model.layers.29.post_attention_layernorm.weight": 2,
250
+ "model.layers.29.self_attn.k_norm.weight": 2,
251
+ "model.layers.29.self_attn.k_proj.weight": 2,
252
+ "model.layers.29.self_attn.o_proj.weight": 2,
253
+ "model.layers.29.self_attn.q_norm.weight": 2,
254
+ "model.layers.29.self_attn.q_proj.weight": 2,
255
+ "model.layers.29.self_attn.v_proj.weight": 2,
256
+ "model.layers.3.input_layernorm.weight": 1,
257
+ "model.layers.3.mlp.down_proj.weight": 1,
258
+ "model.layers.3.mlp.gate_proj.weight": 1,
259
+ "model.layers.3.mlp.up_proj.weight": 1,
260
+ "model.layers.3.post_attention_layernorm.weight": 1,
261
+ "model.layers.3.self_attn.k_norm.weight": 1,
262
+ "model.layers.3.self_attn.k_proj.weight": 1,
263
+ "model.layers.3.self_attn.o_proj.weight": 1,
264
+ "model.layers.3.self_attn.q_norm.weight": 1,
265
+ "model.layers.3.self_attn.q_proj.weight": 1,
266
+ "model.layers.3.self_attn.v_proj.weight": 1,
267
+ "model.layers.30.input_layernorm.weight": 2,
268
+ "model.layers.30.mlp.down_proj.weight": 2,
269
+ "model.layers.30.mlp.gate_proj.weight": 2,
270
+ "model.layers.30.mlp.up_proj.weight": 2,
271
+ "model.layers.30.post_attention_layernorm.weight": 2,
272
+ "model.layers.30.self_attn.k_norm.weight": 2,
273
+ "model.layers.30.self_attn.k_proj.weight": 2,
274
+ "model.layers.30.self_attn.o_proj.weight": 2,
275
+ "model.layers.30.self_attn.q_norm.weight": 2,
276
+ "model.layers.30.self_attn.q_proj.weight": 2,
277
+ "model.layers.30.self_attn.v_proj.weight": 2,
278
+ "model.layers.31.input_layernorm.weight": 2,
279
+ "model.layers.31.mlp.down_proj.weight": 2,
280
+ "model.layers.31.mlp.gate_proj.weight": 2,
281
+ "model.layers.31.mlp.up_proj.weight": 2,
282
+ "model.layers.31.post_attention_layernorm.weight": 2,
283
+ "model.layers.31.self_attn.k_norm.weight": 2,
284
+ "model.layers.31.self_attn.k_proj.weight": 2,
285
+ "model.layers.31.self_attn.o_proj.weight": 2,
286
+ "model.layers.31.self_attn.q_norm.weight": 2,
287
+ "model.layers.31.self_attn.q_proj.weight": 2,
288
+ "model.layers.31.self_attn.v_proj.weight": 2,
289
+ "model.layers.32.input_layernorm.weight": 2,
290
+ "model.layers.32.mlp.down_proj.weight": 2,
291
+ "model.layers.32.mlp.gate_proj.weight": 2,
292
+ "model.layers.32.mlp.up_proj.weight": 2,
293
+ "model.layers.32.post_attention_layernorm.weight": 2,
294
+ "model.layers.32.self_attn.k_norm.weight": 2,
295
+ "model.layers.32.self_attn.k_proj.weight": 2,
296
+ "model.layers.32.self_attn.o_proj.weight": 2,
297
+ "model.layers.32.self_attn.q_norm.weight": 2,
298
+ "model.layers.32.self_attn.q_proj.weight": 2,
299
+ "model.layers.32.self_attn.v_proj.weight": 2,
300
+ "model.layers.33.input_layernorm.weight": 2,
301
+ "model.layers.33.mlp.down_proj.weight": 2,
302
+ "model.layers.33.mlp.gate_proj.weight": 2,
303
+ "model.layers.33.mlp.up_proj.weight": 2,
304
+ "model.layers.33.post_attention_layernorm.weight": 2,
305
+ "model.layers.33.self_attn.k_norm.weight": 2,
306
+ "model.layers.33.self_attn.k_proj.weight": 2,
307
+ "model.layers.33.self_attn.o_proj.weight": 2,
308
+ "model.layers.33.self_attn.q_norm.weight": 2,
309
+ "model.layers.33.self_attn.q_proj.weight": 2,
310
+ "model.layers.33.self_attn.v_proj.weight": 2,
311
+ "model.layers.34.input_layernorm.weight": 2,
312
+ "model.layers.34.mlp.down_proj.weight": 2,
313
+ "model.layers.34.mlp.gate_proj.weight": 2,
314
+ "model.layers.34.mlp.up_proj.weight": 2,
315
+ "model.layers.34.post_attention_layernorm.weight": 2,
316
+ "model.layers.34.self_attn.k_norm.weight": 2,
317
+ "model.layers.34.self_attn.k_proj.weight": 2,
318
+ "model.layers.34.self_attn.o_proj.weight": 2,
319
+ "model.layers.34.self_attn.q_norm.weight": 2,
320
+ "model.layers.34.self_attn.q_proj.weight": 2,
321
+ "model.layers.34.self_attn.v_proj.weight": 2,
322
+ "model.layers.35.input_layernorm.weight": 3,
323
+ "model.layers.35.mlp.down_proj.weight": 3,
324
+ "model.layers.35.mlp.gate_proj.weight": 2,
325
+ "model.layers.35.mlp.up_proj.weight": 3,
326
+ "model.layers.35.post_attention_layernorm.weight": 3,
327
+ "model.layers.35.self_attn.k_norm.weight": 2,
328
+ "model.layers.35.self_attn.k_proj.weight": 2,
329
+ "model.layers.35.self_attn.o_proj.weight": 2,
330
+ "model.layers.35.self_attn.q_norm.weight": 2,
331
+ "model.layers.35.self_attn.q_proj.weight": 2,
332
+ "model.layers.35.self_attn.v_proj.weight": 2,
333
+ "model.layers.4.input_layernorm.weight": 1,
334
+ "model.layers.4.mlp.down_proj.weight": 1,
335
+ "model.layers.4.mlp.gate_proj.weight": 1,
336
+ "model.layers.4.mlp.up_proj.weight": 1,
337
+ "model.layers.4.post_attention_layernorm.weight": 1,
338
+ "model.layers.4.self_attn.k_norm.weight": 1,
339
+ "model.layers.4.self_attn.k_proj.weight": 1,
340
+ "model.layers.4.self_attn.o_proj.weight": 1,
341
+ "model.layers.4.self_attn.q_norm.weight": 1,
342
+ "model.layers.4.self_attn.q_proj.weight": 1,
343
+ "model.layers.4.self_attn.v_proj.weight": 1,
344
+ "model.layers.5.input_layernorm.weight": 1,
345
+ "model.layers.5.mlp.down_proj.weight": 1,
346
+ "model.layers.5.mlp.gate_proj.weight": 1,
347
+ "model.layers.5.mlp.up_proj.weight": 1,
348
+ "model.layers.5.post_attention_layernorm.weight": 1,
349
+ "model.layers.5.self_attn.k_norm.weight": 1,
350
+ "model.layers.5.self_attn.k_proj.weight": 1,
351
+ "model.layers.5.self_attn.o_proj.weight": 1,
352
+ "model.layers.5.self_attn.q_norm.weight": 1,
353
+ "model.layers.5.self_attn.q_proj.weight": 1,
354
+ "model.layers.5.self_attn.v_proj.weight": 1,
355
+ "model.layers.6.input_layernorm.weight": 1,
356
+ "model.layers.6.mlp.down_proj.weight": 1,
357
+ "model.layers.6.mlp.gate_proj.weight": 1,
358
+ "model.layers.6.mlp.up_proj.weight": 1,
359
+ "model.layers.6.post_attention_layernorm.weight": 1,
360
+ "model.layers.6.self_attn.k_norm.weight": 1,
361
+ "model.layers.6.self_attn.k_proj.weight": 1,
362
+ "model.layers.6.self_attn.o_proj.weight": 1,
363
+ "model.layers.6.self_attn.q_norm.weight": 1,
364
+ "model.layers.6.self_attn.q_proj.weight": 1,
365
+ "model.layers.6.self_attn.v_proj.weight": 1,
366
+ "model.layers.7.input_layernorm.weight": 1,
367
+ "model.layers.7.mlp.down_proj.weight": 1,
368
+ "model.layers.7.mlp.gate_proj.weight": 1,
369
+ "model.layers.7.mlp.up_proj.weight": 1,
370
+ "model.layers.7.post_attention_layernorm.weight": 1,
371
+ "model.layers.7.self_attn.k_norm.weight": 1,
372
+ "model.layers.7.self_attn.k_proj.weight": 1,
373
+ "model.layers.7.self_attn.o_proj.weight": 1,
374
+ "model.layers.7.self_attn.q_norm.weight": 1,
375
+ "model.layers.7.self_attn.q_proj.weight": 1,
376
+ "model.layers.7.self_attn.v_proj.weight": 1,
377
+ "model.layers.8.input_layernorm.weight": 1,
378
+ "model.layers.8.mlp.down_proj.weight": 1,
379
+ "model.layers.8.mlp.gate_proj.weight": 1,
380
+ "model.layers.8.mlp.up_proj.weight": 1,
381
+ "model.layers.8.post_attention_layernorm.weight": 1,
382
+ "model.layers.8.self_attn.k_norm.weight": 1,
383
+ "model.layers.8.self_attn.k_proj.weight": 1,
384
+ "model.layers.8.self_attn.o_proj.weight": 1,
385
+ "model.layers.8.self_attn.q_norm.weight": 1,
386
+ "model.layers.8.self_attn.q_proj.weight": 1,
387
+ "model.layers.8.self_attn.v_proj.weight": 1,
388
+ "model.layers.9.input_layernorm.weight": 1,
389
+ "model.layers.9.mlp.down_proj.weight": 1,
390
+ "model.layers.9.mlp.gate_proj.weight": 1,
391
+ "model.layers.9.mlp.up_proj.weight": 1,
392
+ "model.layers.9.post_attention_layernorm.weight": 1,
393
+ "model.layers.9.self_attn.k_norm.weight": 1,
394
+ "model.layers.9.self_attn.k_proj.weight": 1,
395
+ "model.layers.9.self_attn.o_proj.weight": 1,
396
+ "model.layers.9.self_attn.q_norm.weight": 1,
397
+ "model.layers.9.self_attn.q_proj.weight": 1,
398
+ "model.layers.9.self_attn.v_proj.weight": 1,
399
+ "model.norm.weight": 3
400
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/policy/weights/model/.hf_metadata/generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "temperature": 0.7,
10
+ "top_k": 20,
11
+ "top_p": 0.8,
12
+ "transformers_version": "4.57.1"
13
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_20/training_info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"current_epoch": 0, "current_step": 20, "total_steps": 20, "val_reward": 0.011428571428571429, "consumed_samples": 320, "total_valid_tokens": 2400584.0}
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_40/config.yaml ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpointing:
2
+ checkpoint_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830
3
+ checkpoint_must_save_by: null
4
+ enabled: true
5
+ higher_is_better: true
6
+ keep_top_k: null
7
+ metric_name: null
8
+ model_save_format: safetensors
9
+ save_consolidated: false
10
+ save_optimizer: false
11
+ save_per_epoch: false
12
+ save_period: 20
13
+ cluster:
14
+ gpus_per_node: 4
15
+ num_nodes: 1
16
+ data:
17
+ default:
18
+ env_name: math
19
+ prompt_file: null
20
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
21
+ max_input_seq_length: 10000
22
+ shuffle: true
23
+ train:
24
+ - dataset_name: math_ops_opsd
25
+ env_name: math
26
+ processor: math_ops_opsd
27
+ prompt_file: null
28
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
29
+ validation:
30
+ - dataset_name: math_ops_opsd_val
31
+ env_name: math
32
+ processor: math_ops_opsd
33
+ prompt_file: null
34
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
35
+ distillation:
36
+ ema_decay: 1.0
37
+ max_num_epochs: 1
38
+ max_num_steps: 100
39
+ max_rollout_turns: 1
40
+ max_val_samples: 200
41
+ num_generations_per_prompt: 1
42
+ num_prompts_per_step: 16
43
+ rollout_policy: student
44
+ seed: 42
45
+ topk_logits_k: 64
46
+ val_at_end: true
47
+ val_at_start: true
48
+ val_batch_size: 32
49
+ val_period: 20
50
+ env:
51
+ math:
52
+ num_workers: 8
53
+ logger:
54
+ gpu_monitoring:
55
+ collection_interval: 10
56
+ flush_interval: 10
57
+ log_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/logs/exp_001
58
+ mlflow_enabled: false
59
+ monitor_gpus: true
60
+ num_val_samples_to_print: 5
61
+ swanlab_enabled: false
62
+ tensorboard:
63
+ log_dir: tb_logs-opsd-math-nll-teacher-top1-gt-qwen3-4b-n1-t0
64
+ tensorboard_enabled: true
65
+ wandb:
66
+ entity: mathrl-jiarui
67
+ name: opsd-math-ops-nll-teacher-top1-gt-n1-t0-20260429-Qwen3-4B-Instruct-2507
68
+ project: mix-teachers-opsd
69
+ wandb_enabled: true
70
+ loss_fn:
71
+ kl_type: forward
72
+ mixed_kl_weight: 0.5
73
+ zero_outside_topk: false
74
+ paths:
75
+ base_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd
76
+ checkpoint_dir: /home/fs01/yw2349/jiarui/mathrl_data/mix_teachers/checkpoints/math_operations/opsd_nemo_rl
77
+ data_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/data/math_operations/primitive_atomic_balanced_sft_50k
78
+ log_dir: /home/fs01/yw2349/jiarui/mathrl_data/mix_teachers/checkpoints/math_operations/opsd_nemo_rl/logs
79
+ model_search_dirs:
80
+ - /home/fs01/yw2349/jiarui/mathrl_data/models
81
+ policy:
82
+ dtensor_cfg:
83
+ _v2: true
84
+ activation_checkpointing: true
85
+ context_parallel_size: 1
86
+ cpu_offload: true
87
+ custom_parallel_plan: null
88
+ enabled: true
89
+ sequence_parallel: false
90
+ tensor_parallel_size: 4
91
+ dynamic_batching:
92
+ enabled: true
93
+ logprob_mb_tokens: 10000
94
+ sequence_length_round: 64
95
+ train_mb_tokens: 10000
96
+ generation:
97
+ _pad_token_id: 151643
98
+ backend: vllm
99
+ colocated:
100
+ enabled: true
101
+ resources:
102
+ gpus_per_node: null
103
+ num_nodes: null
104
+ max_new_tokens: 8192
105
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
106
+ stop_strings: null
107
+ stop_token_ids:
108
+ - 151645
109
+ temperature: 0.0
110
+ top_k: null
111
+ top_p: 1.0
112
+ vllm_cfg:
113
+ async_engine: false
114
+ distributed_executor_backend: null
115
+ enforce_eager: false
116
+ expert_parallel_size: 1
117
+ gpu_memory_utilization: 0.7
118
+ hf_overrides: {}
119
+ kv_cache_dtype: auto
120
+ load_format: dummy
121
+ max_model_len: 10000
122
+ num_first_layers_in_bf16: 0
123
+ num_last_layers_in_bf16: 0
124
+ pipeline_parallel_size: 1
125
+ precision: bfloat16
126
+ skip_tokenizer_init: true
127
+ tensor_parallel_size: 4
128
+ use_deep_gemm: false
129
+ generation_batch_size: 16
130
+ logprob_batch_size: 1
131
+ logprob_chunk_size: null
132
+ make_sequence_length_divisible_by: 8
133
+ max_grad_norm: 1.0
134
+ max_total_sequence_length: 10000
135
+ megatron_cfg:
136
+ enabled: false
137
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
138
+ offload_optimizer_for_logprob: false
139
+ optimizer:
140
+ kwargs:
141
+ betas:
142
+ - 0.9
143
+ - 0.95
144
+ eps: 1.0e-08
145
+ foreach: false
146
+ fused: false
147
+ lr: 1.0e-05
148
+ weight_decay: 0.01
149
+ name: torch.optim.AdamW
150
+ precision: bfloat16
151
+ scheduler:
152
+ - kwargs:
153
+ end_factor: 1.0
154
+ start_factor: 0.1
155
+ total_iters: 20
156
+ name: torch.optim.lr_scheduler.LinearLR
157
+ - kwargs:
158
+ factor: 1.0
159
+ total_iters: 10000000000
160
+ name: torch.optim.lr_scheduler.ConstantLR
161
+ - milestones:
162
+ - 20
163
+ sequence_packing:
164
+ algorithm: modified_first_fit_decreasing
165
+ enabled: false
166
+ logprob_mb_tokens: 10000
167
+ sequence_length_round: 64
168
+ train_mb_tokens: 10000
169
+ tokenizer:
170
+ chat_template_kwargs:
171
+ enable_thinking: false
172
+ name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
173
+ train_global_batch_size: 16
174
+ train_micro_batch_size: 1
175
+ teacher:
176
+ dtensor_cfg:
177
+ _v2: true
178
+ activation_checkpointing: true
179
+ context_parallel_size: 1
180
+ cpu_offload: true
181
+ custom_parallel_plan: null
182
+ enabled: true
183
+ sequence_parallel: false
184
+ tensor_parallel_size: 4
185
+ dynamic_batching:
186
+ enabled: true
187
+ logprob_mb_tokens: 10000
188
+ sequence_length_round: 64
189
+ train_mb_tokens: 10000
190
+ generation:
191
+ backend: vllm
192
+ colocated:
193
+ enabled: true
194
+ resources:
195
+ gpus_per_node: null
196
+ num_nodes: null
197
+ max_new_tokens: 8192
198
+ stop_strings: null
199
+ stop_token_ids: null
200
+ temperature: 1.0
201
+ top_k: null
202
+ top_p: 1.0
203
+ vllm_cfg:
204
+ async_engine: false
205
+ distributed_executor_backend: null
206
+ enforce_eager: false
207
+ expert_parallel_size: 1
208
+ gpu_memory_utilization: 0.7
209
+ kv_cache_dtype: auto
210
+ max_model_len: 10000
211
+ num_first_layers_in_bf16: 0
212
+ num_last_layers_in_bf16: 0
213
+ pipeline_parallel_size: 1
214
+ precision: bfloat16
215
+ tensor_parallel_size: 4
216
+ use_deep_gemm: false
217
+ generation_batch_size: 16
218
+ logprob_batch_size: 1
219
+ logprob_chunk_size: null
220
+ make_sequence_length_divisible_by: 8
221
+ max_grad_norm: 1.0
222
+ max_total_sequence_length: 10000
223
+ megatron_cfg:
224
+ enabled: false
225
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
226
+ offload_optimizer_for_logprob: false
227
+ optimizer:
228
+ kwargs:
229
+ betas:
230
+ - 0.9
231
+ - 0.95
232
+ eps: 1.0e-08
233
+ foreach: false
234
+ fused: false
235
+ lr: 5.0e-06
236
+ weight_decay: 0.01
237
+ name: torch.optim.AdamW
238
+ precision: bfloat16
239
+ scheduler:
240
+ - kwargs:
241
+ end_factor: 1.0
242
+ start_factor: 0.1
243
+ total_iters: 20
244
+ name: torch.optim.lr_scheduler.LinearLR
245
+ - kwargs:
246
+ factor: 1.0
247
+ total_iters: 10000000000
248
+ name: torch.optim.lr_scheduler.ConstantLR
249
+ - milestones: []
250
+ sequence_packing:
251
+ algorithm: modified_first_fit_decreasing
252
+ enabled: false
253
+ logprob_mb_tokens: 10000
254
+ sequence_length_round: 64
255
+ train_mb_tokens: 10000
256
+ tokenizer:
257
+ chat_template_kwargs:
258
+ enable_thinking: false
259
+ name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
260
+ train_global_batch_size: 16
261
+ train_micro_batch_size: 1
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_40/policy/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_40/policy/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- for message in messages %}
18
+ {%- if message.content is string %}
19
+ {%- set content = message.content %}
20
+ {%- else %}
21
+ {%- set content = '' %}
22
+ {%- endif %}
23
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
24
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
25
+ {%- elif message.role == "assistant" %}
26
+ {{- '<|im_start|>' + message.role + '\n' + content }}
27
+ {%- if message.tool_calls %}
28
+ {%- for tool_call in message.tool_calls %}
29
+ {%- if (loop.first and content) or (not loop.first) %}
30
+ {{- '\n' }}
31
+ {%- endif %}
32
+ {%- if tool_call.function %}
33
+ {%- set tool_call = tool_call.function %}
34
+ {%- endif %}
35
+ {{- '<tool_call>\n{"name": "' }}
36
+ {{- tool_call.name }}
37
+ {{- '", "arguments": ' }}
38
+ {%- if tool_call.arguments is string %}
39
+ {{- tool_call.arguments }}
40
+ {%- else %}
41
+ {{- tool_call.arguments | tojson }}
42
+ {%- endif %}
43
+ {{- '}\n</tool_call>' }}
44
+ {%- endfor %}
45
+ {%- endif %}
46
+ {{- '<|im_end|>\n' }}
47
+ {%- elif message.role == "tool" %}
48
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
49
+ {{- '<|im_start|>user' }}
50
+ {%- endif %}
51
+ {{- '\n<tool_response>\n' }}
52
+ {{- content }}
53
+ {{- '\n</tool_response>' }}
54
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
55
+ {{- '<|im_end|>\n' }}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- endfor %}
59
+ {%- if add_generation_prompt %}
60
+ {{- '<|im_start|>assistant\n' }}
61
+ {%- endif %}
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_40/policy/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 1010000,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_40/training_info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"current_epoch": 0, "current_step": 40, "total_steps": 40, "val_reward": 0.8571428571428571, "consumed_samples": 640, "total_valid_tokens": 4288369.0}
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/config.yaml ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpointing:
2
+ checkpoint_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830
3
+ checkpoint_must_save_by: null
4
+ enabled: true
5
+ higher_is_better: true
6
+ keep_top_k: null
7
+ metric_name: null
8
+ model_save_format: safetensors
9
+ save_consolidated: false
10
+ save_optimizer: false
11
+ save_per_epoch: false
12
+ save_period: 20
13
+ cluster:
14
+ gpus_per_node: 4
15
+ num_nodes: 1
16
+ data:
17
+ default:
18
+ env_name: math
19
+ prompt_file: null
20
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
21
+ max_input_seq_length: 10000
22
+ shuffle: true
23
+ train:
24
+ - dataset_name: math_ops_opsd
25
+ env_name: math
26
+ processor: math_ops_opsd
27
+ prompt_file: null
28
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
29
+ validation:
30
+ - dataset_name: math_ops_opsd_val
31
+ env_name: math
32
+ processor: math_ops_opsd
33
+ prompt_file: null
34
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
35
+ distillation:
36
+ ema_decay: 1.0
37
+ max_num_epochs: 1
38
+ max_num_steps: 100
39
+ max_rollout_turns: 1
40
+ max_val_samples: 200
41
+ num_generations_per_prompt: 1
42
+ num_prompts_per_step: 16
43
+ rollout_policy: student
44
+ seed: 42
45
+ topk_logits_k: 64
46
+ val_at_end: true
47
+ val_at_start: true
48
+ val_batch_size: 32
49
+ val_period: 20
50
+ env:
51
+ math:
52
+ num_workers: 8
53
+ logger:
54
+ gpu_monitoring:
55
+ collection_interval: 10
56
+ flush_interval: 10
57
+ log_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/logs/exp_001
58
+ mlflow_enabled: false
59
+ monitor_gpus: true
60
+ num_val_samples_to_print: 5
61
+ swanlab_enabled: false
62
+ tensorboard:
63
+ log_dir: tb_logs-opsd-math-nll-teacher-top1-gt-qwen3-4b-n1-t0
64
+ tensorboard_enabled: true
65
+ wandb:
66
+ entity: mathrl-jiarui
67
+ name: opsd-math-ops-nll-teacher-top1-gt-n1-t0-20260429-Qwen3-4B-Instruct-2507
68
+ project: mix-teachers-opsd
69
+ wandb_enabled: true
70
+ loss_fn:
71
+ kl_type: forward
72
+ mixed_kl_weight: 0.5
73
+ zero_outside_topk: false
74
+ paths:
75
+ base_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd
76
+ checkpoint_dir: /home/fs01/yw2349/jiarui/mathrl_data/mix_teachers/checkpoints/math_operations/opsd_nemo_rl
77
+ data_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/data/math_operations/primitive_atomic_balanced_sft_50k
78
+ log_dir: /home/fs01/yw2349/jiarui/mathrl_data/mix_teachers/checkpoints/math_operations/opsd_nemo_rl/logs
79
+ model_search_dirs:
80
+ - /home/fs01/yw2349/jiarui/mathrl_data/models
81
+ policy:
82
+ dtensor_cfg:
83
+ _v2: true
84
+ activation_checkpointing: true
85
+ context_parallel_size: 1
86
+ cpu_offload: true
87
+ custom_parallel_plan: null
88
+ enabled: true
89
+ sequence_parallel: false
90
+ tensor_parallel_size: 4
91
+ dynamic_batching:
92
+ enabled: true
93
+ logprob_mb_tokens: 10000
94
+ sequence_length_round: 64
95
+ train_mb_tokens: 10000
96
+ generation:
97
+ _pad_token_id: 151643
98
+ backend: vllm
99
+ colocated:
100
+ enabled: true
101
+ resources:
102
+ gpus_per_node: null
103
+ num_nodes: null
104
+ max_new_tokens: 8192
105
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
106
+ stop_strings: null
107
+ stop_token_ids:
108
+ - 151645
109
+ temperature: 0.0
110
+ top_k: null
111
+ top_p: 1.0
112
+ vllm_cfg:
113
+ async_engine: false
114
+ distributed_executor_backend: null
115
+ enforce_eager: false
116
+ expert_parallel_size: 1
117
+ gpu_memory_utilization: 0.7
118
+ hf_overrides: {}
119
+ kv_cache_dtype: auto
120
+ load_format: dummy
121
+ max_model_len: 10000
122
+ num_first_layers_in_bf16: 0
123
+ num_last_layers_in_bf16: 0
124
+ pipeline_parallel_size: 1
125
+ precision: bfloat16
126
+ skip_tokenizer_init: true
127
+ tensor_parallel_size: 4
128
+ use_deep_gemm: false
129
+ generation_batch_size: 16
130
+ logprob_batch_size: 1
131
+ logprob_chunk_size: null
132
+ make_sequence_length_divisible_by: 8
133
+ max_grad_norm: 1.0
134
+ max_total_sequence_length: 10000
135
+ megatron_cfg:
136
+ enabled: false
137
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
138
+ offload_optimizer_for_logprob: false
139
+ optimizer:
140
+ kwargs:
141
+ betas:
142
+ - 0.9
143
+ - 0.95
144
+ eps: 1.0e-08
145
+ foreach: false
146
+ fused: false
147
+ lr: 1.0e-05
148
+ weight_decay: 0.01
149
+ name: torch.optim.AdamW
150
+ precision: bfloat16
151
+ scheduler:
152
+ - kwargs:
153
+ end_factor: 1.0
154
+ start_factor: 0.1
155
+ total_iters: 20
156
+ name: torch.optim.lr_scheduler.LinearLR
157
+ - kwargs:
158
+ factor: 1.0
159
+ total_iters: 10000000000
160
+ name: torch.optim.lr_scheduler.ConstantLR
161
+ - milestones:
162
+ - 20
163
+ sequence_packing:
164
+ algorithm: modified_first_fit_decreasing
165
+ enabled: false
166
+ logprob_mb_tokens: 10000
167
+ sequence_length_round: 64
168
+ train_mb_tokens: 10000
169
+ tokenizer:
170
+ chat_template_kwargs:
171
+ enable_thinking: false
172
+ name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
173
+ train_global_batch_size: 16
174
+ train_micro_batch_size: 1
175
+ teacher:
176
+ dtensor_cfg:
177
+ _v2: true
178
+ activation_checkpointing: true
179
+ context_parallel_size: 1
180
+ cpu_offload: true
181
+ custom_parallel_plan: null
182
+ enabled: true
183
+ sequence_parallel: false
184
+ tensor_parallel_size: 4
185
+ dynamic_batching:
186
+ enabled: true
187
+ logprob_mb_tokens: 10000
188
+ sequence_length_round: 64
189
+ train_mb_tokens: 10000
190
+ generation:
191
+ backend: vllm
192
+ colocated:
193
+ enabled: true
194
+ resources:
195
+ gpus_per_node: null
196
+ num_nodes: null
197
+ max_new_tokens: 8192
198
+ stop_strings: null
199
+ stop_token_ids: null
200
+ temperature: 1.0
201
+ top_k: null
202
+ top_p: 1.0
203
+ vllm_cfg:
204
+ async_engine: false
205
+ distributed_executor_backend: null
206
+ enforce_eager: false
207
+ expert_parallel_size: 1
208
+ gpu_memory_utilization: 0.7
209
+ kv_cache_dtype: auto
210
+ max_model_len: 10000
211
+ num_first_layers_in_bf16: 0
212
+ num_last_layers_in_bf16: 0
213
+ pipeline_parallel_size: 1
214
+ precision: bfloat16
215
+ tensor_parallel_size: 4
216
+ use_deep_gemm: false
217
+ generation_batch_size: 16
218
+ logprob_batch_size: 1
219
+ logprob_chunk_size: null
220
+ make_sequence_length_divisible_by: 8
221
+ max_grad_norm: 1.0
222
+ max_total_sequence_length: 10000
223
+ megatron_cfg:
224
+ enabled: false
225
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
226
+ offload_optimizer_for_logprob: false
227
+ optimizer:
228
+ kwargs:
229
+ betas:
230
+ - 0.9
231
+ - 0.95
232
+ eps: 1.0e-08
233
+ foreach: false
234
+ fused: false
235
+ lr: 5.0e-06
236
+ weight_decay: 0.01
237
+ name: torch.optim.AdamW
238
+ precision: bfloat16
239
+ scheduler:
240
+ - kwargs:
241
+ end_factor: 1.0
242
+ start_factor: 0.1
243
+ total_iters: 20
244
+ name: torch.optim.lr_scheduler.LinearLR
245
+ - kwargs:
246
+ factor: 1.0
247
+ total_iters: 10000000000
248
+ name: torch.optim.lr_scheduler.ConstantLR
249
+ - milestones: []
250
+ sequence_packing:
251
+ algorithm: modified_first_fit_decreasing
252
+ enabled: false
253
+ logprob_mb_tokens: 10000
254
+ sequence_length_round: 64
255
+ train_mb_tokens: 10000
256
+ tokenizer:
257
+ chat_template_kwargs:
258
+ enable_thinking: false
259
+ name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
260
+ train_global_batch_size: 16
261
+ train_micro_batch_size: 1
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- for message in messages %}
18
+ {%- if message.content is string %}
19
+ {%- set content = message.content %}
20
+ {%- else %}
21
+ {%- set content = '' %}
22
+ {%- endif %}
23
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
24
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
25
+ {%- elif message.role == "assistant" %}
26
+ {{- '<|im_start|>' + message.role + '\n' + content }}
27
+ {%- if message.tool_calls %}
28
+ {%- for tool_call in message.tool_calls %}
29
+ {%- if (loop.first and content) or (not loop.first) %}
30
+ {{- '\n' }}
31
+ {%- endif %}
32
+ {%- if tool_call.function %}
33
+ {%- set tool_call = tool_call.function %}
34
+ {%- endif %}
35
+ {{- '<tool_call>\n{"name": "' }}
36
+ {{- tool_call.name }}
37
+ {{- '", "arguments": ' }}
38
+ {%- if tool_call.arguments is string %}
39
+ {{- tool_call.arguments }}
40
+ {%- else %}
41
+ {{- tool_call.arguments | tojson }}
42
+ {%- endif %}
43
+ {{- '}\n</tool_call>' }}
44
+ {%- endfor %}
45
+ {%- endif %}
46
+ {{- '<|im_end|>\n' }}
47
+ {%- elif message.role == "tool" %}
48
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
49
+ {{- '<|im_start|>user' }}
50
+ {%- endif %}
51
+ {{- '\n<tool_response>\n' }}
52
+ {{- content }}
53
+ {{- '\n</tool_response>' }}
54
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
55
+ {{- '<|im_end|>\n' }}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- endfor %}
59
+ {%- if add_generation_prompt %}
60
+ {{- '<|im_start|>assistant\n' }}
61
+ {%- endif %}
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 1010000,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/weights/model/.hf_metadata/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "dtype": "float32",
9
+ "eos_token_id": 151645,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 2560,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 9728,
15
+ "layer_types": [
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention"
52
+ ],
53
+ "max_position_embeddings": 262144,
54
+ "max_window_layers": 36,
55
+ "model_type": "qwen3",
56
+ "nemo_version": "0.2.0",
57
+ "num_attention_heads": 32,
58
+ "num_hidden_layers": 36,
59
+ "num_key_value_heads": 8,
60
+ "pad_token_id": 151643,
61
+ "rms_norm_eps": 1e-06,
62
+ "rope_scaling": null,
63
+ "rope_theta": 5000000,
64
+ "sliding_window": null,
65
+ "tie_word_embeddings": true,
66
+ "transformers_version": "4.57.1",
67
+ "use_cache": false,
68
+ "use_sliding_window": false,
69
+ "vocab_size": 151936
70
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/weights/model/.hf_metadata/fqn_to_file_index_mapping.json ADDED
@@ -0,0 +1,400 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model.embed_tokens.weight": 1,
3
+ "model.layers.0.input_layernorm.weight": 1,
4
+ "model.layers.0.mlp.down_proj.weight": 1,
5
+ "model.layers.0.mlp.gate_proj.weight": 1,
6
+ "model.layers.0.mlp.up_proj.weight": 1,
7
+ "model.layers.0.post_attention_layernorm.weight": 1,
8
+ "model.layers.0.self_attn.k_norm.weight": 1,
9
+ "model.layers.0.self_attn.k_proj.weight": 1,
10
+ "model.layers.0.self_attn.o_proj.weight": 1,
11
+ "model.layers.0.self_attn.q_norm.weight": 1,
12
+ "model.layers.0.self_attn.q_proj.weight": 1,
13
+ "model.layers.0.self_attn.v_proj.weight": 1,
14
+ "model.layers.1.input_layernorm.weight": 1,
15
+ "model.layers.1.mlp.down_proj.weight": 1,
16
+ "model.layers.1.mlp.gate_proj.weight": 1,
17
+ "model.layers.1.mlp.up_proj.weight": 1,
18
+ "model.layers.1.post_attention_layernorm.weight": 1,
19
+ "model.layers.1.self_attn.k_norm.weight": 1,
20
+ "model.layers.1.self_attn.k_proj.weight": 1,
21
+ "model.layers.1.self_attn.o_proj.weight": 1,
22
+ "model.layers.1.self_attn.q_norm.weight": 1,
23
+ "model.layers.1.self_attn.q_proj.weight": 1,
24
+ "model.layers.1.self_attn.v_proj.weight": 1,
25
+ "model.layers.10.input_layernorm.weight": 1,
26
+ "model.layers.10.mlp.down_proj.weight": 1,
27
+ "model.layers.10.mlp.gate_proj.weight": 1,
28
+ "model.layers.10.mlp.up_proj.weight": 1,
29
+ "model.layers.10.post_attention_layernorm.weight": 1,
30
+ "model.layers.10.self_attn.k_norm.weight": 1,
31
+ "model.layers.10.self_attn.k_proj.weight": 1,
32
+ "model.layers.10.self_attn.o_proj.weight": 1,
33
+ "model.layers.10.self_attn.q_norm.weight": 1,
34
+ "model.layers.10.self_attn.q_proj.weight": 1,
35
+ "model.layers.10.self_attn.v_proj.weight": 1,
36
+ "model.layers.11.input_layernorm.weight": 1,
37
+ "model.layers.11.mlp.down_proj.weight": 1,
38
+ "model.layers.11.mlp.gate_proj.weight": 1,
39
+ "model.layers.11.mlp.up_proj.weight": 1,
40
+ "model.layers.11.post_attention_layernorm.weight": 1,
41
+ "model.layers.11.self_attn.k_norm.weight": 1,
42
+ "model.layers.11.self_attn.k_proj.weight": 1,
43
+ "model.layers.11.self_attn.o_proj.weight": 1,
44
+ "model.layers.11.self_attn.q_norm.weight": 1,
45
+ "model.layers.11.self_attn.q_proj.weight": 1,
46
+ "model.layers.11.self_attn.v_proj.weight": 1,
47
+ "model.layers.12.input_layernorm.weight": 1,
48
+ "model.layers.12.mlp.down_proj.weight": 1,
49
+ "model.layers.12.mlp.gate_proj.weight": 1,
50
+ "model.layers.12.mlp.up_proj.weight": 1,
51
+ "model.layers.12.post_attention_layernorm.weight": 1,
52
+ "model.layers.12.self_attn.k_norm.weight": 1,
53
+ "model.layers.12.self_attn.k_proj.weight": 1,
54
+ "model.layers.12.self_attn.o_proj.weight": 1,
55
+ "model.layers.12.self_attn.q_norm.weight": 1,
56
+ "model.layers.12.self_attn.q_proj.weight": 1,
57
+ "model.layers.12.self_attn.v_proj.weight": 1,
58
+ "model.layers.13.input_layernorm.weight": 1,
59
+ "model.layers.13.mlp.down_proj.weight": 1,
60
+ "model.layers.13.mlp.gate_proj.weight": 1,
61
+ "model.layers.13.mlp.up_proj.weight": 1,
62
+ "model.layers.13.post_attention_layernorm.weight": 1,
63
+ "model.layers.13.self_attn.k_norm.weight": 1,
64
+ "model.layers.13.self_attn.k_proj.weight": 1,
65
+ "model.layers.13.self_attn.o_proj.weight": 1,
66
+ "model.layers.13.self_attn.q_norm.weight": 1,
67
+ "model.layers.13.self_attn.q_proj.weight": 1,
68
+ "model.layers.13.self_attn.v_proj.weight": 1,
69
+ "model.layers.14.input_layernorm.weight": 1,
70
+ "model.layers.14.mlp.down_proj.weight": 1,
71
+ "model.layers.14.mlp.gate_proj.weight": 1,
72
+ "model.layers.14.mlp.up_proj.weight": 1,
73
+ "model.layers.14.post_attention_layernorm.weight": 1,
74
+ "model.layers.14.self_attn.k_norm.weight": 1,
75
+ "model.layers.14.self_attn.k_proj.weight": 1,
76
+ "model.layers.14.self_attn.o_proj.weight": 1,
77
+ "model.layers.14.self_attn.q_norm.weight": 1,
78
+ "model.layers.14.self_attn.q_proj.weight": 1,
79
+ "model.layers.14.self_attn.v_proj.weight": 1,
80
+ "model.layers.15.input_layernorm.weight": 2,
81
+ "model.layers.15.mlp.down_proj.weight": 2,
82
+ "model.layers.15.mlp.gate_proj.weight": 1,
83
+ "model.layers.15.mlp.up_proj.weight": 1,
84
+ "model.layers.15.post_attention_layernorm.weight": 2,
85
+ "model.layers.15.self_attn.k_norm.weight": 1,
86
+ "model.layers.15.self_attn.k_proj.weight": 1,
87
+ "model.layers.15.self_attn.o_proj.weight": 1,
88
+ "model.layers.15.self_attn.q_norm.weight": 1,
89
+ "model.layers.15.self_attn.q_proj.weight": 1,
90
+ "model.layers.15.self_attn.v_proj.weight": 1,
91
+ "model.layers.16.input_layernorm.weight": 2,
92
+ "model.layers.16.mlp.down_proj.weight": 2,
93
+ "model.layers.16.mlp.gate_proj.weight": 2,
94
+ "model.layers.16.mlp.up_proj.weight": 2,
95
+ "model.layers.16.post_attention_layernorm.weight": 2,
96
+ "model.layers.16.self_attn.k_norm.weight": 2,
97
+ "model.layers.16.self_attn.k_proj.weight": 2,
98
+ "model.layers.16.self_attn.o_proj.weight": 2,
99
+ "model.layers.16.self_attn.q_norm.weight": 2,
100
+ "model.layers.16.self_attn.q_proj.weight": 2,
101
+ "model.layers.16.self_attn.v_proj.weight": 2,
102
+ "model.layers.17.input_layernorm.weight": 2,
103
+ "model.layers.17.mlp.down_proj.weight": 2,
104
+ "model.layers.17.mlp.gate_proj.weight": 2,
105
+ "model.layers.17.mlp.up_proj.weight": 2,
106
+ "model.layers.17.post_attention_layernorm.weight": 2,
107
+ "model.layers.17.self_attn.k_norm.weight": 2,
108
+ "model.layers.17.self_attn.k_proj.weight": 2,
109
+ "model.layers.17.self_attn.o_proj.weight": 2,
110
+ "model.layers.17.self_attn.q_norm.weight": 2,
111
+ "model.layers.17.self_attn.q_proj.weight": 2,
112
+ "model.layers.17.self_attn.v_proj.weight": 2,
113
+ "model.layers.18.input_layernorm.weight": 2,
114
+ "model.layers.18.mlp.down_proj.weight": 2,
115
+ "model.layers.18.mlp.gate_proj.weight": 2,
116
+ "model.layers.18.mlp.up_proj.weight": 2,
117
+ "model.layers.18.post_attention_layernorm.weight": 2,
118
+ "model.layers.18.self_attn.k_norm.weight": 2,
119
+ "model.layers.18.self_attn.k_proj.weight": 2,
120
+ "model.layers.18.self_attn.o_proj.weight": 2,
121
+ "model.layers.18.self_attn.q_norm.weight": 2,
122
+ "model.layers.18.self_attn.q_proj.weight": 2,
123
+ "model.layers.18.self_attn.v_proj.weight": 2,
124
+ "model.layers.19.input_layernorm.weight": 2,
125
+ "model.layers.19.mlp.down_proj.weight": 2,
126
+ "model.layers.19.mlp.gate_proj.weight": 2,
127
+ "model.layers.19.mlp.up_proj.weight": 2,
128
+ "model.layers.19.post_attention_layernorm.weight": 2,
129
+ "model.layers.19.self_attn.k_norm.weight": 2,
130
+ "model.layers.19.self_attn.k_proj.weight": 2,
131
+ "model.layers.19.self_attn.o_proj.weight": 2,
132
+ "model.layers.19.self_attn.q_norm.weight": 2,
133
+ "model.layers.19.self_attn.q_proj.weight": 2,
134
+ "model.layers.19.self_attn.v_proj.weight": 2,
135
+ "model.layers.2.input_layernorm.weight": 1,
136
+ "model.layers.2.mlp.down_proj.weight": 1,
137
+ "model.layers.2.mlp.gate_proj.weight": 1,
138
+ "model.layers.2.mlp.up_proj.weight": 1,
139
+ "model.layers.2.post_attention_layernorm.weight": 1,
140
+ "model.layers.2.self_attn.k_norm.weight": 1,
141
+ "model.layers.2.self_attn.k_proj.weight": 1,
142
+ "model.layers.2.self_attn.o_proj.weight": 1,
143
+ "model.layers.2.self_attn.q_norm.weight": 1,
144
+ "model.layers.2.self_attn.q_proj.weight": 1,
145
+ "model.layers.2.self_attn.v_proj.weight": 1,
146
+ "model.layers.20.input_layernorm.weight": 2,
147
+ "model.layers.20.mlp.down_proj.weight": 2,
148
+ "model.layers.20.mlp.gate_proj.weight": 2,
149
+ "model.layers.20.mlp.up_proj.weight": 2,
150
+ "model.layers.20.post_attention_layernorm.weight": 2,
151
+ "model.layers.20.self_attn.k_norm.weight": 2,
152
+ "model.layers.20.self_attn.k_proj.weight": 2,
153
+ "model.layers.20.self_attn.o_proj.weight": 2,
154
+ "model.layers.20.self_attn.q_norm.weight": 2,
155
+ "model.layers.20.self_attn.q_proj.weight": 2,
156
+ "model.layers.20.self_attn.v_proj.weight": 2,
157
+ "model.layers.21.input_layernorm.weight": 2,
158
+ "model.layers.21.mlp.down_proj.weight": 2,
159
+ "model.layers.21.mlp.gate_proj.weight": 2,
160
+ "model.layers.21.mlp.up_proj.weight": 2,
161
+ "model.layers.21.post_attention_layernorm.weight": 2,
162
+ "model.layers.21.self_attn.k_norm.weight": 2,
163
+ "model.layers.21.self_attn.k_proj.weight": 2,
164
+ "model.layers.21.self_attn.o_proj.weight": 2,
165
+ "model.layers.21.self_attn.q_norm.weight": 2,
166
+ "model.layers.21.self_attn.q_proj.weight": 2,
167
+ "model.layers.21.self_attn.v_proj.weight": 2,
168
+ "model.layers.22.input_layernorm.weight": 2,
169
+ "model.layers.22.mlp.down_proj.weight": 2,
170
+ "model.layers.22.mlp.gate_proj.weight": 2,
171
+ "model.layers.22.mlp.up_proj.weight": 2,
172
+ "model.layers.22.post_attention_layernorm.weight": 2,
173
+ "model.layers.22.self_attn.k_norm.weight": 2,
174
+ "model.layers.22.self_attn.k_proj.weight": 2,
175
+ "model.layers.22.self_attn.o_proj.weight": 2,
176
+ "model.layers.22.self_attn.q_norm.weight": 2,
177
+ "model.layers.22.self_attn.q_proj.weight": 2,
178
+ "model.layers.22.self_attn.v_proj.weight": 2,
179
+ "model.layers.23.input_layernorm.weight": 2,
180
+ "model.layers.23.mlp.down_proj.weight": 2,
181
+ "model.layers.23.mlp.gate_proj.weight": 2,
182
+ "model.layers.23.mlp.up_proj.weight": 2,
183
+ "model.layers.23.post_attention_layernorm.weight": 2,
184
+ "model.layers.23.self_attn.k_norm.weight": 2,
185
+ "model.layers.23.self_attn.k_proj.weight": 2,
186
+ "model.layers.23.self_attn.o_proj.weight": 2,
187
+ "model.layers.23.self_attn.q_norm.weight": 2,
188
+ "model.layers.23.self_attn.q_proj.weight": 2,
189
+ "model.layers.23.self_attn.v_proj.weight": 2,
190
+ "model.layers.24.input_layernorm.weight": 2,
191
+ "model.layers.24.mlp.down_proj.weight": 2,
192
+ "model.layers.24.mlp.gate_proj.weight": 2,
193
+ "model.layers.24.mlp.up_proj.weight": 2,
194
+ "model.layers.24.post_attention_layernorm.weight": 2,
195
+ "model.layers.24.self_attn.k_norm.weight": 2,
196
+ "model.layers.24.self_attn.k_proj.weight": 2,
197
+ "model.layers.24.self_attn.o_proj.weight": 2,
198
+ "model.layers.24.self_attn.q_norm.weight": 2,
199
+ "model.layers.24.self_attn.q_proj.weight": 2,
200
+ "model.layers.24.self_attn.v_proj.weight": 2,
201
+ "model.layers.25.input_layernorm.weight": 2,
202
+ "model.layers.25.mlp.down_proj.weight": 2,
203
+ "model.layers.25.mlp.gate_proj.weight": 2,
204
+ "model.layers.25.mlp.up_proj.weight": 2,
205
+ "model.layers.25.post_attention_layernorm.weight": 2,
206
+ "model.layers.25.self_attn.k_norm.weight": 2,
207
+ "model.layers.25.self_attn.k_proj.weight": 2,
208
+ "model.layers.25.self_attn.o_proj.weight": 2,
209
+ "model.layers.25.self_attn.q_norm.weight": 2,
210
+ "model.layers.25.self_attn.q_proj.weight": 2,
211
+ "model.layers.25.self_attn.v_proj.weight": 2,
212
+ "model.layers.26.input_layernorm.weight": 2,
213
+ "model.layers.26.mlp.down_proj.weight": 2,
214
+ "model.layers.26.mlp.gate_proj.weight": 2,
215
+ "model.layers.26.mlp.up_proj.weight": 2,
216
+ "model.layers.26.post_attention_layernorm.weight": 2,
217
+ "model.layers.26.self_attn.k_norm.weight": 2,
218
+ "model.layers.26.self_attn.k_proj.weight": 2,
219
+ "model.layers.26.self_attn.o_proj.weight": 2,
220
+ "model.layers.26.self_attn.q_norm.weight": 2,
221
+ "model.layers.26.self_attn.q_proj.weight": 2,
222
+ "model.layers.26.self_attn.v_proj.weight": 2,
223
+ "model.layers.27.input_layernorm.weight": 2,
224
+ "model.layers.27.mlp.down_proj.weight": 2,
225
+ "model.layers.27.mlp.gate_proj.weight": 2,
226
+ "model.layers.27.mlp.up_proj.weight": 2,
227
+ "model.layers.27.post_attention_layernorm.weight": 2,
228
+ "model.layers.27.self_attn.k_norm.weight": 2,
229
+ "model.layers.27.self_attn.k_proj.weight": 2,
230
+ "model.layers.27.self_attn.o_proj.weight": 2,
231
+ "model.layers.27.self_attn.q_norm.weight": 2,
232
+ "model.layers.27.self_attn.q_proj.weight": 2,
233
+ "model.layers.27.self_attn.v_proj.weight": 2,
234
+ "model.layers.28.input_layernorm.weight": 2,
235
+ "model.layers.28.mlp.down_proj.weight": 2,
236
+ "model.layers.28.mlp.gate_proj.weight": 2,
237
+ "model.layers.28.mlp.up_proj.weight": 2,
238
+ "model.layers.28.post_attention_layernorm.weight": 2,
239
+ "model.layers.28.self_attn.k_norm.weight": 2,
240
+ "model.layers.28.self_attn.k_proj.weight": 2,
241
+ "model.layers.28.self_attn.o_proj.weight": 2,
242
+ "model.layers.28.self_attn.q_norm.weight": 2,
243
+ "model.layers.28.self_attn.q_proj.weight": 2,
244
+ "model.layers.28.self_attn.v_proj.weight": 2,
245
+ "model.layers.29.input_layernorm.weight": 2,
246
+ "model.layers.29.mlp.down_proj.weight": 2,
247
+ "model.layers.29.mlp.gate_proj.weight": 2,
248
+ "model.layers.29.mlp.up_proj.weight": 2,
249
+ "model.layers.29.post_attention_layernorm.weight": 2,
250
+ "model.layers.29.self_attn.k_norm.weight": 2,
251
+ "model.layers.29.self_attn.k_proj.weight": 2,
252
+ "model.layers.29.self_attn.o_proj.weight": 2,
253
+ "model.layers.29.self_attn.q_norm.weight": 2,
254
+ "model.layers.29.self_attn.q_proj.weight": 2,
255
+ "model.layers.29.self_attn.v_proj.weight": 2,
256
+ "model.layers.3.input_layernorm.weight": 1,
257
+ "model.layers.3.mlp.down_proj.weight": 1,
258
+ "model.layers.3.mlp.gate_proj.weight": 1,
259
+ "model.layers.3.mlp.up_proj.weight": 1,
260
+ "model.layers.3.post_attention_layernorm.weight": 1,
261
+ "model.layers.3.self_attn.k_norm.weight": 1,
262
+ "model.layers.3.self_attn.k_proj.weight": 1,
263
+ "model.layers.3.self_attn.o_proj.weight": 1,
264
+ "model.layers.3.self_attn.q_norm.weight": 1,
265
+ "model.layers.3.self_attn.q_proj.weight": 1,
266
+ "model.layers.3.self_attn.v_proj.weight": 1,
267
+ "model.layers.30.input_layernorm.weight": 2,
268
+ "model.layers.30.mlp.down_proj.weight": 2,
269
+ "model.layers.30.mlp.gate_proj.weight": 2,
270
+ "model.layers.30.mlp.up_proj.weight": 2,
271
+ "model.layers.30.post_attention_layernorm.weight": 2,
272
+ "model.layers.30.self_attn.k_norm.weight": 2,
273
+ "model.layers.30.self_attn.k_proj.weight": 2,
274
+ "model.layers.30.self_attn.o_proj.weight": 2,
275
+ "model.layers.30.self_attn.q_norm.weight": 2,
276
+ "model.layers.30.self_attn.q_proj.weight": 2,
277
+ "model.layers.30.self_attn.v_proj.weight": 2,
278
+ "model.layers.31.input_layernorm.weight": 2,
279
+ "model.layers.31.mlp.down_proj.weight": 2,
280
+ "model.layers.31.mlp.gate_proj.weight": 2,
281
+ "model.layers.31.mlp.up_proj.weight": 2,
282
+ "model.layers.31.post_attention_layernorm.weight": 2,
283
+ "model.layers.31.self_attn.k_norm.weight": 2,
284
+ "model.layers.31.self_attn.k_proj.weight": 2,
285
+ "model.layers.31.self_attn.o_proj.weight": 2,
286
+ "model.layers.31.self_attn.q_norm.weight": 2,
287
+ "model.layers.31.self_attn.q_proj.weight": 2,
288
+ "model.layers.31.self_attn.v_proj.weight": 2,
289
+ "model.layers.32.input_layernorm.weight": 2,
290
+ "model.layers.32.mlp.down_proj.weight": 2,
291
+ "model.layers.32.mlp.gate_proj.weight": 2,
292
+ "model.layers.32.mlp.up_proj.weight": 2,
293
+ "model.layers.32.post_attention_layernorm.weight": 2,
294
+ "model.layers.32.self_attn.k_norm.weight": 2,
295
+ "model.layers.32.self_attn.k_proj.weight": 2,
296
+ "model.layers.32.self_attn.o_proj.weight": 2,
297
+ "model.layers.32.self_attn.q_norm.weight": 2,
298
+ "model.layers.32.self_attn.q_proj.weight": 2,
299
+ "model.layers.32.self_attn.v_proj.weight": 2,
300
+ "model.layers.33.input_layernorm.weight": 2,
301
+ "model.layers.33.mlp.down_proj.weight": 2,
302
+ "model.layers.33.mlp.gate_proj.weight": 2,
303
+ "model.layers.33.mlp.up_proj.weight": 2,
304
+ "model.layers.33.post_attention_layernorm.weight": 2,
305
+ "model.layers.33.self_attn.k_norm.weight": 2,
306
+ "model.layers.33.self_attn.k_proj.weight": 2,
307
+ "model.layers.33.self_attn.o_proj.weight": 2,
308
+ "model.layers.33.self_attn.q_norm.weight": 2,
309
+ "model.layers.33.self_attn.q_proj.weight": 2,
310
+ "model.layers.33.self_attn.v_proj.weight": 2,
311
+ "model.layers.34.input_layernorm.weight": 2,
312
+ "model.layers.34.mlp.down_proj.weight": 2,
313
+ "model.layers.34.mlp.gate_proj.weight": 2,
314
+ "model.layers.34.mlp.up_proj.weight": 2,
315
+ "model.layers.34.post_attention_layernorm.weight": 2,
316
+ "model.layers.34.self_attn.k_norm.weight": 2,
317
+ "model.layers.34.self_attn.k_proj.weight": 2,
318
+ "model.layers.34.self_attn.o_proj.weight": 2,
319
+ "model.layers.34.self_attn.q_norm.weight": 2,
320
+ "model.layers.34.self_attn.q_proj.weight": 2,
321
+ "model.layers.34.self_attn.v_proj.weight": 2,
322
+ "model.layers.35.input_layernorm.weight": 3,
323
+ "model.layers.35.mlp.down_proj.weight": 3,
324
+ "model.layers.35.mlp.gate_proj.weight": 2,
325
+ "model.layers.35.mlp.up_proj.weight": 3,
326
+ "model.layers.35.post_attention_layernorm.weight": 3,
327
+ "model.layers.35.self_attn.k_norm.weight": 2,
328
+ "model.layers.35.self_attn.k_proj.weight": 2,
329
+ "model.layers.35.self_attn.o_proj.weight": 2,
330
+ "model.layers.35.self_attn.q_norm.weight": 2,
331
+ "model.layers.35.self_attn.q_proj.weight": 2,
332
+ "model.layers.35.self_attn.v_proj.weight": 2,
333
+ "model.layers.4.input_layernorm.weight": 1,
334
+ "model.layers.4.mlp.down_proj.weight": 1,
335
+ "model.layers.4.mlp.gate_proj.weight": 1,
336
+ "model.layers.4.mlp.up_proj.weight": 1,
337
+ "model.layers.4.post_attention_layernorm.weight": 1,
338
+ "model.layers.4.self_attn.k_norm.weight": 1,
339
+ "model.layers.4.self_attn.k_proj.weight": 1,
340
+ "model.layers.4.self_attn.o_proj.weight": 1,
341
+ "model.layers.4.self_attn.q_norm.weight": 1,
342
+ "model.layers.4.self_attn.q_proj.weight": 1,
343
+ "model.layers.4.self_attn.v_proj.weight": 1,
344
+ "model.layers.5.input_layernorm.weight": 1,
345
+ "model.layers.5.mlp.down_proj.weight": 1,
346
+ "model.layers.5.mlp.gate_proj.weight": 1,
347
+ "model.layers.5.mlp.up_proj.weight": 1,
348
+ "model.layers.5.post_attention_layernorm.weight": 1,
349
+ "model.layers.5.self_attn.k_norm.weight": 1,
350
+ "model.layers.5.self_attn.k_proj.weight": 1,
351
+ "model.layers.5.self_attn.o_proj.weight": 1,
352
+ "model.layers.5.self_attn.q_norm.weight": 1,
353
+ "model.layers.5.self_attn.q_proj.weight": 1,
354
+ "model.layers.5.self_attn.v_proj.weight": 1,
355
+ "model.layers.6.input_layernorm.weight": 1,
356
+ "model.layers.6.mlp.down_proj.weight": 1,
357
+ "model.layers.6.mlp.gate_proj.weight": 1,
358
+ "model.layers.6.mlp.up_proj.weight": 1,
359
+ "model.layers.6.post_attention_layernorm.weight": 1,
360
+ "model.layers.6.self_attn.k_norm.weight": 1,
361
+ "model.layers.6.self_attn.k_proj.weight": 1,
362
+ "model.layers.6.self_attn.o_proj.weight": 1,
363
+ "model.layers.6.self_attn.q_norm.weight": 1,
364
+ "model.layers.6.self_attn.q_proj.weight": 1,
365
+ "model.layers.6.self_attn.v_proj.weight": 1,
366
+ "model.layers.7.input_layernorm.weight": 1,
367
+ "model.layers.7.mlp.down_proj.weight": 1,
368
+ "model.layers.7.mlp.gate_proj.weight": 1,
369
+ "model.layers.7.mlp.up_proj.weight": 1,
370
+ "model.layers.7.post_attention_layernorm.weight": 1,
371
+ "model.layers.7.self_attn.k_norm.weight": 1,
372
+ "model.layers.7.self_attn.k_proj.weight": 1,
373
+ "model.layers.7.self_attn.o_proj.weight": 1,
374
+ "model.layers.7.self_attn.q_norm.weight": 1,
375
+ "model.layers.7.self_attn.q_proj.weight": 1,
376
+ "model.layers.7.self_attn.v_proj.weight": 1,
377
+ "model.layers.8.input_layernorm.weight": 1,
378
+ "model.layers.8.mlp.down_proj.weight": 1,
379
+ "model.layers.8.mlp.gate_proj.weight": 1,
380
+ "model.layers.8.mlp.up_proj.weight": 1,
381
+ "model.layers.8.post_attention_layernorm.weight": 1,
382
+ "model.layers.8.self_attn.k_norm.weight": 1,
383
+ "model.layers.8.self_attn.k_proj.weight": 1,
384
+ "model.layers.8.self_attn.o_proj.weight": 1,
385
+ "model.layers.8.self_attn.q_norm.weight": 1,
386
+ "model.layers.8.self_attn.q_proj.weight": 1,
387
+ "model.layers.8.self_attn.v_proj.weight": 1,
388
+ "model.layers.9.input_layernorm.weight": 1,
389
+ "model.layers.9.mlp.down_proj.weight": 1,
390
+ "model.layers.9.mlp.gate_proj.weight": 1,
391
+ "model.layers.9.mlp.up_proj.weight": 1,
392
+ "model.layers.9.post_attention_layernorm.weight": 1,
393
+ "model.layers.9.self_attn.k_norm.weight": 1,
394
+ "model.layers.9.self_attn.k_proj.weight": 1,
395
+ "model.layers.9.self_attn.o_proj.weight": 1,
396
+ "model.layers.9.self_attn.q_norm.weight": 1,
397
+ "model.layers.9.self_attn.q_proj.weight": 1,
398
+ "model.layers.9.self_attn.v_proj.weight": 1,
399
+ "model.norm.weight": 3
400
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/policy/weights/model/.hf_metadata/generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "temperature": 0.7,
10
+ "top_k": 20,
11
+ "top_p": 0.8,
12
+ "transformers_version": "4.57.1"
13
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_60/training_info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"current_epoch": 0, "current_step": 60, "total_steps": 60, "val_reward": 0.96, "consumed_samples": 960, "total_valid_tokens": 4944883.0}
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/config.yaml ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpointing:
2
+ checkpoint_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830
3
+ checkpoint_must_save_by: null
4
+ enabled: true
5
+ higher_is_better: true
6
+ keep_top_k: null
7
+ metric_name: null
8
+ model_save_format: safetensors
9
+ save_consolidated: false
10
+ save_optimizer: false
11
+ save_per_epoch: false
12
+ save_period: 20
13
+ cluster:
14
+ gpus_per_node: 4
15
+ num_nodes: 1
16
+ data:
17
+ default:
18
+ env_name: math
19
+ prompt_file: null
20
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
21
+ max_input_seq_length: 10000
22
+ shuffle: true
23
+ train:
24
+ - dataset_name: math_ops_opsd
25
+ env_name: math
26
+ processor: math_ops_opsd
27
+ prompt_file: null
28
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
29
+ validation:
30
+ - dataset_name: math_ops_opsd_val
31
+ env_name: math
32
+ processor: math_ops_opsd
33
+ prompt_file: null
34
+ system_prompt_file: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd/system_prompt.txt
35
+ distillation:
36
+ ema_decay: 1.0
37
+ max_num_epochs: 1
38
+ max_num_steps: 100
39
+ max_rollout_turns: 1
40
+ max_val_samples: 200
41
+ num_generations_per_prompt: 1
42
+ num_prompts_per_step: 16
43
+ rollout_policy: student
44
+ seed: 42
45
+ topk_logits_k: 64
46
+ val_at_end: true
47
+ val_at_start: true
48
+ val_batch_size: 32
49
+ val_period: 20
50
+ env:
51
+ math:
52
+ num_workers: 8
53
+ logger:
54
+ gpu_monitoring:
55
+ collection_interval: 10
56
+ flush_interval: 10
57
+ log_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/logs/exp_001
58
+ mlflow_enabled: false
59
+ monitor_gpus: true
60
+ num_val_samples_to_print: 5
61
+ swanlab_enabled: false
62
+ tensorboard:
63
+ log_dir: tb_logs-opsd-math-nll-teacher-top1-gt-qwen3-4b-n1-t0
64
+ tensorboard_enabled: true
65
+ wandb:
66
+ entity: mathrl-jiarui
67
+ name: opsd-math-ops-nll-teacher-top1-gt-n1-t0-20260429-Qwen3-4B-Instruct-2507
68
+ project: mix-teachers-opsd
69
+ wandb_enabled: true
70
+ loss_fn:
71
+ kl_type: forward
72
+ mixed_kl_weight: 0.5
73
+ zero_outside_topk: false
74
+ paths:
75
+ base_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/mix_teachers/train/math_operations_opsd
76
+ checkpoint_dir: /home/fs01/yw2349/jiarui/mathrl_data/mix_teachers/checkpoints/math_operations/opsd_nemo_rl
77
+ data_dir: /home/pj24003162/ku40003404/jiarui/TeacherMix/data/math_operations/primitive_atomic_balanced_sft_50k
78
+ log_dir: /home/fs01/yw2349/jiarui/mathrl_data/mix_teachers/checkpoints/math_operations/opsd_nemo_rl/logs
79
+ model_search_dirs:
80
+ - /home/fs01/yw2349/jiarui/mathrl_data/models
81
+ policy:
82
+ dtensor_cfg:
83
+ _v2: true
84
+ activation_checkpointing: true
85
+ context_parallel_size: 1
86
+ cpu_offload: true
87
+ custom_parallel_plan: null
88
+ enabled: true
89
+ sequence_parallel: false
90
+ tensor_parallel_size: 4
91
+ dynamic_batching:
92
+ enabled: true
93
+ logprob_mb_tokens: 10000
94
+ sequence_length_round: 64
95
+ train_mb_tokens: 10000
96
+ generation:
97
+ _pad_token_id: 151643
98
+ backend: vllm
99
+ colocated:
100
+ enabled: true
101
+ resources:
102
+ gpus_per_node: null
103
+ num_nodes: null
104
+ max_new_tokens: 8192
105
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
106
+ stop_strings: null
107
+ stop_token_ids:
108
+ - 151645
109
+ temperature: 0.0
110
+ top_k: null
111
+ top_p: 1.0
112
+ vllm_cfg:
113
+ async_engine: false
114
+ distributed_executor_backend: null
115
+ enforce_eager: false
116
+ expert_parallel_size: 1
117
+ gpu_memory_utilization: 0.7
118
+ hf_overrides: {}
119
+ kv_cache_dtype: auto
120
+ load_format: dummy
121
+ max_model_len: 10000
122
+ num_first_layers_in_bf16: 0
123
+ num_last_layers_in_bf16: 0
124
+ pipeline_parallel_size: 1
125
+ precision: bfloat16
126
+ skip_tokenizer_init: true
127
+ tensor_parallel_size: 4
128
+ use_deep_gemm: false
129
+ generation_batch_size: 16
130
+ logprob_batch_size: 1
131
+ logprob_chunk_size: null
132
+ make_sequence_length_divisible_by: 8
133
+ max_grad_norm: 1.0
134
+ max_total_sequence_length: 10000
135
+ megatron_cfg:
136
+ enabled: false
137
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
138
+ offload_optimizer_for_logprob: false
139
+ optimizer:
140
+ kwargs:
141
+ betas:
142
+ - 0.9
143
+ - 0.95
144
+ eps: 1.0e-08
145
+ foreach: false
146
+ fused: false
147
+ lr: 1.0e-05
148
+ weight_decay: 0.01
149
+ name: torch.optim.AdamW
150
+ precision: bfloat16
151
+ scheduler:
152
+ - kwargs:
153
+ end_factor: 1.0
154
+ start_factor: 0.1
155
+ total_iters: 20
156
+ name: torch.optim.lr_scheduler.LinearLR
157
+ - kwargs:
158
+ factor: 1.0
159
+ total_iters: 10000000000
160
+ name: torch.optim.lr_scheduler.ConstantLR
161
+ - milestones:
162
+ - 20
163
+ sequence_packing:
164
+ algorithm: modified_first_fit_decreasing
165
+ enabled: false
166
+ logprob_mb_tokens: 10000
167
+ sequence_length_round: 64
168
+ train_mb_tokens: 10000
169
+ tokenizer:
170
+ chat_template_kwargs:
171
+ enable_thinking: false
172
+ name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
173
+ train_global_batch_size: 16
174
+ train_micro_batch_size: 1
175
+ teacher:
176
+ dtensor_cfg:
177
+ _v2: true
178
+ activation_checkpointing: true
179
+ context_parallel_size: 1
180
+ cpu_offload: true
181
+ custom_parallel_plan: null
182
+ enabled: true
183
+ sequence_parallel: false
184
+ tensor_parallel_size: 4
185
+ dynamic_batching:
186
+ enabled: true
187
+ logprob_mb_tokens: 10000
188
+ sequence_length_round: 64
189
+ train_mb_tokens: 10000
190
+ generation:
191
+ backend: vllm
192
+ colocated:
193
+ enabled: true
194
+ resources:
195
+ gpus_per_node: null
196
+ num_nodes: null
197
+ max_new_tokens: 8192
198
+ stop_strings: null
199
+ stop_token_ids: null
200
+ temperature: 1.0
201
+ top_k: null
202
+ top_p: 1.0
203
+ vllm_cfg:
204
+ async_engine: false
205
+ distributed_executor_backend: null
206
+ enforce_eager: false
207
+ expert_parallel_size: 1
208
+ gpu_memory_utilization: 0.7
209
+ kv_cache_dtype: auto
210
+ max_model_len: 10000
211
+ num_first_layers_in_bf16: 0
212
+ num_last_layers_in_bf16: 0
213
+ pipeline_parallel_size: 1
214
+ precision: bfloat16
215
+ tensor_parallel_size: 4
216
+ use_deep_gemm: false
217
+ generation_batch_size: 16
218
+ logprob_batch_size: 1
219
+ logprob_chunk_size: null
220
+ make_sequence_length_divisible_by: 8
221
+ max_grad_norm: 1.0
222
+ max_total_sequence_length: 10000
223
+ megatron_cfg:
224
+ enabled: false
225
+ model_name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
226
+ offload_optimizer_for_logprob: false
227
+ optimizer:
228
+ kwargs:
229
+ betas:
230
+ - 0.9
231
+ - 0.95
232
+ eps: 1.0e-08
233
+ foreach: false
234
+ fused: false
235
+ lr: 5.0e-06
236
+ weight_decay: 0.01
237
+ name: torch.optim.AdamW
238
+ precision: bfloat16
239
+ scheduler:
240
+ - kwargs:
241
+ end_factor: 1.0
242
+ start_factor: 0.1
243
+ total_iters: 20
244
+ name: torch.optim.lr_scheduler.LinearLR
245
+ - kwargs:
246
+ factor: 1.0
247
+ total_iters: 10000000000
248
+ name: torch.optim.lr_scheduler.ConstantLR
249
+ - milestones: []
250
+ sequence_packing:
251
+ algorithm: modified_first_fit_decreasing
252
+ enabled: false
253
+ logprob_mb_tokens: 10000
254
+ sequence_length_round: 64
255
+ train_mb_tokens: 10000
256
+ tokenizer:
257
+ chat_template_kwargs:
258
+ enable_thinking: false
259
+ name: /home/pj24003162/ku40003404/jiarui/models/Qwen3-4B-Instruct-2507
260
+ train_global_batch_size: 16
261
+ train_micro_batch_size: 1
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- for message in messages %}
18
+ {%- if message.content is string %}
19
+ {%- set content = message.content %}
20
+ {%- else %}
21
+ {%- set content = '' %}
22
+ {%- endif %}
23
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
24
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
25
+ {%- elif message.role == "assistant" %}
26
+ {{- '<|im_start|>' + message.role + '\n' + content }}
27
+ {%- if message.tool_calls %}
28
+ {%- for tool_call in message.tool_calls %}
29
+ {%- if (loop.first and content) or (not loop.first) %}
30
+ {{- '\n' }}
31
+ {%- endif %}
32
+ {%- if tool_call.function %}
33
+ {%- set tool_call = tool_call.function %}
34
+ {%- endif %}
35
+ {{- '<tool_call>\n{"name": "' }}
36
+ {{- tool_call.name }}
37
+ {{- '", "arguments": ' }}
38
+ {%- if tool_call.arguments is string %}
39
+ {{- tool_call.arguments }}
40
+ {%- else %}
41
+ {{- tool_call.arguments | tojson }}
42
+ {%- endif %}
43
+ {{- '}\n</tool_call>' }}
44
+ {%- endfor %}
45
+ {%- endif %}
46
+ {{- '<|im_end|>\n' }}
47
+ {%- elif message.role == "tool" %}
48
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
49
+ {{- '<|im_start|>user' }}
50
+ {%- endif %}
51
+ {{- '\n<tool_response>\n' }}
52
+ {{- content }}
53
+ {{- '\n</tool_response>' }}
54
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
55
+ {{- '<|im_end|>\n' }}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- endfor %}
59
+ {%- if add_generation_prompt %}
60
+ {{- '<|im_start|>assistant\n' }}
61
+ {%- endif %}
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 1010000,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/weights/model/.hf_metadata/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "dtype": "float32",
9
+ "eos_token_id": 151645,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 2560,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 9728,
15
+ "layer_types": [
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention"
52
+ ],
53
+ "max_position_embeddings": 262144,
54
+ "max_window_layers": 36,
55
+ "model_type": "qwen3",
56
+ "nemo_version": "0.2.0",
57
+ "num_attention_heads": 32,
58
+ "num_hidden_layers": 36,
59
+ "num_key_value_heads": 8,
60
+ "pad_token_id": 151643,
61
+ "rms_norm_eps": 1e-06,
62
+ "rope_scaling": null,
63
+ "rope_theta": 5000000,
64
+ "sliding_window": null,
65
+ "tie_word_embeddings": true,
66
+ "transformers_version": "4.57.1",
67
+ "use_cache": false,
68
+ "use_sliding_window": false,
69
+ "vocab_size": 151936
70
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/weights/model/.hf_metadata/fqn_to_file_index_mapping.json ADDED
@@ -0,0 +1,400 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model.embed_tokens.weight": 1,
3
+ "model.layers.0.input_layernorm.weight": 1,
4
+ "model.layers.0.mlp.down_proj.weight": 1,
5
+ "model.layers.0.mlp.gate_proj.weight": 1,
6
+ "model.layers.0.mlp.up_proj.weight": 1,
7
+ "model.layers.0.post_attention_layernorm.weight": 1,
8
+ "model.layers.0.self_attn.k_norm.weight": 1,
9
+ "model.layers.0.self_attn.k_proj.weight": 1,
10
+ "model.layers.0.self_attn.o_proj.weight": 1,
11
+ "model.layers.0.self_attn.q_norm.weight": 1,
12
+ "model.layers.0.self_attn.q_proj.weight": 1,
13
+ "model.layers.0.self_attn.v_proj.weight": 1,
14
+ "model.layers.1.input_layernorm.weight": 1,
15
+ "model.layers.1.mlp.down_proj.weight": 1,
16
+ "model.layers.1.mlp.gate_proj.weight": 1,
17
+ "model.layers.1.mlp.up_proj.weight": 1,
18
+ "model.layers.1.post_attention_layernorm.weight": 1,
19
+ "model.layers.1.self_attn.k_norm.weight": 1,
20
+ "model.layers.1.self_attn.k_proj.weight": 1,
21
+ "model.layers.1.self_attn.o_proj.weight": 1,
22
+ "model.layers.1.self_attn.q_norm.weight": 1,
23
+ "model.layers.1.self_attn.q_proj.weight": 1,
24
+ "model.layers.1.self_attn.v_proj.weight": 1,
25
+ "model.layers.10.input_layernorm.weight": 1,
26
+ "model.layers.10.mlp.down_proj.weight": 1,
27
+ "model.layers.10.mlp.gate_proj.weight": 1,
28
+ "model.layers.10.mlp.up_proj.weight": 1,
29
+ "model.layers.10.post_attention_layernorm.weight": 1,
30
+ "model.layers.10.self_attn.k_norm.weight": 1,
31
+ "model.layers.10.self_attn.k_proj.weight": 1,
32
+ "model.layers.10.self_attn.o_proj.weight": 1,
33
+ "model.layers.10.self_attn.q_norm.weight": 1,
34
+ "model.layers.10.self_attn.q_proj.weight": 1,
35
+ "model.layers.10.self_attn.v_proj.weight": 1,
36
+ "model.layers.11.input_layernorm.weight": 1,
37
+ "model.layers.11.mlp.down_proj.weight": 1,
38
+ "model.layers.11.mlp.gate_proj.weight": 1,
39
+ "model.layers.11.mlp.up_proj.weight": 1,
40
+ "model.layers.11.post_attention_layernorm.weight": 1,
41
+ "model.layers.11.self_attn.k_norm.weight": 1,
42
+ "model.layers.11.self_attn.k_proj.weight": 1,
43
+ "model.layers.11.self_attn.o_proj.weight": 1,
44
+ "model.layers.11.self_attn.q_norm.weight": 1,
45
+ "model.layers.11.self_attn.q_proj.weight": 1,
46
+ "model.layers.11.self_attn.v_proj.weight": 1,
47
+ "model.layers.12.input_layernorm.weight": 1,
48
+ "model.layers.12.mlp.down_proj.weight": 1,
49
+ "model.layers.12.mlp.gate_proj.weight": 1,
50
+ "model.layers.12.mlp.up_proj.weight": 1,
51
+ "model.layers.12.post_attention_layernorm.weight": 1,
52
+ "model.layers.12.self_attn.k_norm.weight": 1,
53
+ "model.layers.12.self_attn.k_proj.weight": 1,
54
+ "model.layers.12.self_attn.o_proj.weight": 1,
55
+ "model.layers.12.self_attn.q_norm.weight": 1,
56
+ "model.layers.12.self_attn.q_proj.weight": 1,
57
+ "model.layers.12.self_attn.v_proj.weight": 1,
58
+ "model.layers.13.input_layernorm.weight": 1,
59
+ "model.layers.13.mlp.down_proj.weight": 1,
60
+ "model.layers.13.mlp.gate_proj.weight": 1,
61
+ "model.layers.13.mlp.up_proj.weight": 1,
62
+ "model.layers.13.post_attention_layernorm.weight": 1,
63
+ "model.layers.13.self_attn.k_norm.weight": 1,
64
+ "model.layers.13.self_attn.k_proj.weight": 1,
65
+ "model.layers.13.self_attn.o_proj.weight": 1,
66
+ "model.layers.13.self_attn.q_norm.weight": 1,
67
+ "model.layers.13.self_attn.q_proj.weight": 1,
68
+ "model.layers.13.self_attn.v_proj.weight": 1,
69
+ "model.layers.14.input_layernorm.weight": 1,
70
+ "model.layers.14.mlp.down_proj.weight": 1,
71
+ "model.layers.14.mlp.gate_proj.weight": 1,
72
+ "model.layers.14.mlp.up_proj.weight": 1,
73
+ "model.layers.14.post_attention_layernorm.weight": 1,
74
+ "model.layers.14.self_attn.k_norm.weight": 1,
75
+ "model.layers.14.self_attn.k_proj.weight": 1,
76
+ "model.layers.14.self_attn.o_proj.weight": 1,
77
+ "model.layers.14.self_attn.q_norm.weight": 1,
78
+ "model.layers.14.self_attn.q_proj.weight": 1,
79
+ "model.layers.14.self_attn.v_proj.weight": 1,
80
+ "model.layers.15.input_layernorm.weight": 2,
81
+ "model.layers.15.mlp.down_proj.weight": 2,
82
+ "model.layers.15.mlp.gate_proj.weight": 1,
83
+ "model.layers.15.mlp.up_proj.weight": 1,
84
+ "model.layers.15.post_attention_layernorm.weight": 2,
85
+ "model.layers.15.self_attn.k_norm.weight": 1,
86
+ "model.layers.15.self_attn.k_proj.weight": 1,
87
+ "model.layers.15.self_attn.o_proj.weight": 1,
88
+ "model.layers.15.self_attn.q_norm.weight": 1,
89
+ "model.layers.15.self_attn.q_proj.weight": 1,
90
+ "model.layers.15.self_attn.v_proj.weight": 1,
91
+ "model.layers.16.input_layernorm.weight": 2,
92
+ "model.layers.16.mlp.down_proj.weight": 2,
93
+ "model.layers.16.mlp.gate_proj.weight": 2,
94
+ "model.layers.16.mlp.up_proj.weight": 2,
95
+ "model.layers.16.post_attention_layernorm.weight": 2,
96
+ "model.layers.16.self_attn.k_norm.weight": 2,
97
+ "model.layers.16.self_attn.k_proj.weight": 2,
98
+ "model.layers.16.self_attn.o_proj.weight": 2,
99
+ "model.layers.16.self_attn.q_norm.weight": 2,
100
+ "model.layers.16.self_attn.q_proj.weight": 2,
101
+ "model.layers.16.self_attn.v_proj.weight": 2,
102
+ "model.layers.17.input_layernorm.weight": 2,
103
+ "model.layers.17.mlp.down_proj.weight": 2,
104
+ "model.layers.17.mlp.gate_proj.weight": 2,
105
+ "model.layers.17.mlp.up_proj.weight": 2,
106
+ "model.layers.17.post_attention_layernorm.weight": 2,
107
+ "model.layers.17.self_attn.k_norm.weight": 2,
108
+ "model.layers.17.self_attn.k_proj.weight": 2,
109
+ "model.layers.17.self_attn.o_proj.weight": 2,
110
+ "model.layers.17.self_attn.q_norm.weight": 2,
111
+ "model.layers.17.self_attn.q_proj.weight": 2,
112
+ "model.layers.17.self_attn.v_proj.weight": 2,
113
+ "model.layers.18.input_layernorm.weight": 2,
114
+ "model.layers.18.mlp.down_proj.weight": 2,
115
+ "model.layers.18.mlp.gate_proj.weight": 2,
116
+ "model.layers.18.mlp.up_proj.weight": 2,
117
+ "model.layers.18.post_attention_layernorm.weight": 2,
118
+ "model.layers.18.self_attn.k_norm.weight": 2,
119
+ "model.layers.18.self_attn.k_proj.weight": 2,
120
+ "model.layers.18.self_attn.o_proj.weight": 2,
121
+ "model.layers.18.self_attn.q_norm.weight": 2,
122
+ "model.layers.18.self_attn.q_proj.weight": 2,
123
+ "model.layers.18.self_attn.v_proj.weight": 2,
124
+ "model.layers.19.input_layernorm.weight": 2,
125
+ "model.layers.19.mlp.down_proj.weight": 2,
126
+ "model.layers.19.mlp.gate_proj.weight": 2,
127
+ "model.layers.19.mlp.up_proj.weight": 2,
128
+ "model.layers.19.post_attention_layernorm.weight": 2,
129
+ "model.layers.19.self_attn.k_norm.weight": 2,
130
+ "model.layers.19.self_attn.k_proj.weight": 2,
131
+ "model.layers.19.self_attn.o_proj.weight": 2,
132
+ "model.layers.19.self_attn.q_norm.weight": 2,
133
+ "model.layers.19.self_attn.q_proj.weight": 2,
134
+ "model.layers.19.self_attn.v_proj.weight": 2,
135
+ "model.layers.2.input_layernorm.weight": 1,
136
+ "model.layers.2.mlp.down_proj.weight": 1,
137
+ "model.layers.2.mlp.gate_proj.weight": 1,
138
+ "model.layers.2.mlp.up_proj.weight": 1,
139
+ "model.layers.2.post_attention_layernorm.weight": 1,
140
+ "model.layers.2.self_attn.k_norm.weight": 1,
141
+ "model.layers.2.self_attn.k_proj.weight": 1,
142
+ "model.layers.2.self_attn.o_proj.weight": 1,
143
+ "model.layers.2.self_attn.q_norm.weight": 1,
144
+ "model.layers.2.self_attn.q_proj.weight": 1,
145
+ "model.layers.2.self_attn.v_proj.weight": 1,
146
+ "model.layers.20.input_layernorm.weight": 2,
147
+ "model.layers.20.mlp.down_proj.weight": 2,
148
+ "model.layers.20.mlp.gate_proj.weight": 2,
149
+ "model.layers.20.mlp.up_proj.weight": 2,
150
+ "model.layers.20.post_attention_layernorm.weight": 2,
151
+ "model.layers.20.self_attn.k_norm.weight": 2,
152
+ "model.layers.20.self_attn.k_proj.weight": 2,
153
+ "model.layers.20.self_attn.o_proj.weight": 2,
154
+ "model.layers.20.self_attn.q_norm.weight": 2,
155
+ "model.layers.20.self_attn.q_proj.weight": 2,
156
+ "model.layers.20.self_attn.v_proj.weight": 2,
157
+ "model.layers.21.input_layernorm.weight": 2,
158
+ "model.layers.21.mlp.down_proj.weight": 2,
159
+ "model.layers.21.mlp.gate_proj.weight": 2,
160
+ "model.layers.21.mlp.up_proj.weight": 2,
161
+ "model.layers.21.post_attention_layernorm.weight": 2,
162
+ "model.layers.21.self_attn.k_norm.weight": 2,
163
+ "model.layers.21.self_attn.k_proj.weight": 2,
164
+ "model.layers.21.self_attn.o_proj.weight": 2,
165
+ "model.layers.21.self_attn.q_norm.weight": 2,
166
+ "model.layers.21.self_attn.q_proj.weight": 2,
167
+ "model.layers.21.self_attn.v_proj.weight": 2,
168
+ "model.layers.22.input_layernorm.weight": 2,
169
+ "model.layers.22.mlp.down_proj.weight": 2,
170
+ "model.layers.22.mlp.gate_proj.weight": 2,
171
+ "model.layers.22.mlp.up_proj.weight": 2,
172
+ "model.layers.22.post_attention_layernorm.weight": 2,
173
+ "model.layers.22.self_attn.k_norm.weight": 2,
174
+ "model.layers.22.self_attn.k_proj.weight": 2,
175
+ "model.layers.22.self_attn.o_proj.weight": 2,
176
+ "model.layers.22.self_attn.q_norm.weight": 2,
177
+ "model.layers.22.self_attn.q_proj.weight": 2,
178
+ "model.layers.22.self_attn.v_proj.weight": 2,
179
+ "model.layers.23.input_layernorm.weight": 2,
180
+ "model.layers.23.mlp.down_proj.weight": 2,
181
+ "model.layers.23.mlp.gate_proj.weight": 2,
182
+ "model.layers.23.mlp.up_proj.weight": 2,
183
+ "model.layers.23.post_attention_layernorm.weight": 2,
184
+ "model.layers.23.self_attn.k_norm.weight": 2,
185
+ "model.layers.23.self_attn.k_proj.weight": 2,
186
+ "model.layers.23.self_attn.o_proj.weight": 2,
187
+ "model.layers.23.self_attn.q_norm.weight": 2,
188
+ "model.layers.23.self_attn.q_proj.weight": 2,
189
+ "model.layers.23.self_attn.v_proj.weight": 2,
190
+ "model.layers.24.input_layernorm.weight": 2,
191
+ "model.layers.24.mlp.down_proj.weight": 2,
192
+ "model.layers.24.mlp.gate_proj.weight": 2,
193
+ "model.layers.24.mlp.up_proj.weight": 2,
194
+ "model.layers.24.post_attention_layernorm.weight": 2,
195
+ "model.layers.24.self_attn.k_norm.weight": 2,
196
+ "model.layers.24.self_attn.k_proj.weight": 2,
197
+ "model.layers.24.self_attn.o_proj.weight": 2,
198
+ "model.layers.24.self_attn.q_norm.weight": 2,
199
+ "model.layers.24.self_attn.q_proj.weight": 2,
200
+ "model.layers.24.self_attn.v_proj.weight": 2,
201
+ "model.layers.25.input_layernorm.weight": 2,
202
+ "model.layers.25.mlp.down_proj.weight": 2,
203
+ "model.layers.25.mlp.gate_proj.weight": 2,
204
+ "model.layers.25.mlp.up_proj.weight": 2,
205
+ "model.layers.25.post_attention_layernorm.weight": 2,
206
+ "model.layers.25.self_attn.k_norm.weight": 2,
207
+ "model.layers.25.self_attn.k_proj.weight": 2,
208
+ "model.layers.25.self_attn.o_proj.weight": 2,
209
+ "model.layers.25.self_attn.q_norm.weight": 2,
210
+ "model.layers.25.self_attn.q_proj.weight": 2,
211
+ "model.layers.25.self_attn.v_proj.weight": 2,
212
+ "model.layers.26.input_layernorm.weight": 2,
213
+ "model.layers.26.mlp.down_proj.weight": 2,
214
+ "model.layers.26.mlp.gate_proj.weight": 2,
215
+ "model.layers.26.mlp.up_proj.weight": 2,
216
+ "model.layers.26.post_attention_layernorm.weight": 2,
217
+ "model.layers.26.self_attn.k_norm.weight": 2,
218
+ "model.layers.26.self_attn.k_proj.weight": 2,
219
+ "model.layers.26.self_attn.o_proj.weight": 2,
220
+ "model.layers.26.self_attn.q_norm.weight": 2,
221
+ "model.layers.26.self_attn.q_proj.weight": 2,
222
+ "model.layers.26.self_attn.v_proj.weight": 2,
223
+ "model.layers.27.input_layernorm.weight": 2,
224
+ "model.layers.27.mlp.down_proj.weight": 2,
225
+ "model.layers.27.mlp.gate_proj.weight": 2,
226
+ "model.layers.27.mlp.up_proj.weight": 2,
227
+ "model.layers.27.post_attention_layernorm.weight": 2,
228
+ "model.layers.27.self_attn.k_norm.weight": 2,
229
+ "model.layers.27.self_attn.k_proj.weight": 2,
230
+ "model.layers.27.self_attn.o_proj.weight": 2,
231
+ "model.layers.27.self_attn.q_norm.weight": 2,
232
+ "model.layers.27.self_attn.q_proj.weight": 2,
233
+ "model.layers.27.self_attn.v_proj.weight": 2,
234
+ "model.layers.28.input_layernorm.weight": 2,
235
+ "model.layers.28.mlp.down_proj.weight": 2,
236
+ "model.layers.28.mlp.gate_proj.weight": 2,
237
+ "model.layers.28.mlp.up_proj.weight": 2,
238
+ "model.layers.28.post_attention_layernorm.weight": 2,
239
+ "model.layers.28.self_attn.k_norm.weight": 2,
240
+ "model.layers.28.self_attn.k_proj.weight": 2,
241
+ "model.layers.28.self_attn.o_proj.weight": 2,
242
+ "model.layers.28.self_attn.q_norm.weight": 2,
243
+ "model.layers.28.self_attn.q_proj.weight": 2,
244
+ "model.layers.28.self_attn.v_proj.weight": 2,
245
+ "model.layers.29.input_layernorm.weight": 2,
246
+ "model.layers.29.mlp.down_proj.weight": 2,
247
+ "model.layers.29.mlp.gate_proj.weight": 2,
248
+ "model.layers.29.mlp.up_proj.weight": 2,
249
+ "model.layers.29.post_attention_layernorm.weight": 2,
250
+ "model.layers.29.self_attn.k_norm.weight": 2,
251
+ "model.layers.29.self_attn.k_proj.weight": 2,
252
+ "model.layers.29.self_attn.o_proj.weight": 2,
253
+ "model.layers.29.self_attn.q_norm.weight": 2,
254
+ "model.layers.29.self_attn.q_proj.weight": 2,
255
+ "model.layers.29.self_attn.v_proj.weight": 2,
256
+ "model.layers.3.input_layernorm.weight": 1,
257
+ "model.layers.3.mlp.down_proj.weight": 1,
258
+ "model.layers.3.mlp.gate_proj.weight": 1,
259
+ "model.layers.3.mlp.up_proj.weight": 1,
260
+ "model.layers.3.post_attention_layernorm.weight": 1,
261
+ "model.layers.3.self_attn.k_norm.weight": 1,
262
+ "model.layers.3.self_attn.k_proj.weight": 1,
263
+ "model.layers.3.self_attn.o_proj.weight": 1,
264
+ "model.layers.3.self_attn.q_norm.weight": 1,
265
+ "model.layers.3.self_attn.q_proj.weight": 1,
266
+ "model.layers.3.self_attn.v_proj.weight": 1,
267
+ "model.layers.30.input_layernorm.weight": 2,
268
+ "model.layers.30.mlp.down_proj.weight": 2,
269
+ "model.layers.30.mlp.gate_proj.weight": 2,
270
+ "model.layers.30.mlp.up_proj.weight": 2,
271
+ "model.layers.30.post_attention_layernorm.weight": 2,
272
+ "model.layers.30.self_attn.k_norm.weight": 2,
273
+ "model.layers.30.self_attn.k_proj.weight": 2,
274
+ "model.layers.30.self_attn.o_proj.weight": 2,
275
+ "model.layers.30.self_attn.q_norm.weight": 2,
276
+ "model.layers.30.self_attn.q_proj.weight": 2,
277
+ "model.layers.30.self_attn.v_proj.weight": 2,
278
+ "model.layers.31.input_layernorm.weight": 2,
279
+ "model.layers.31.mlp.down_proj.weight": 2,
280
+ "model.layers.31.mlp.gate_proj.weight": 2,
281
+ "model.layers.31.mlp.up_proj.weight": 2,
282
+ "model.layers.31.post_attention_layernorm.weight": 2,
283
+ "model.layers.31.self_attn.k_norm.weight": 2,
284
+ "model.layers.31.self_attn.k_proj.weight": 2,
285
+ "model.layers.31.self_attn.o_proj.weight": 2,
286
+ "model.layers.31.self_attn.q_norm.weight": 2,
287
+ "model.layers.31.self_attn.q_proj.weight": 2,
288
+ "model.layers.31.self_attn.v_proj.weight": 2,
289
+ "model.layers.32.input_layernorm.weight": 2,
290
+ "model.layers.32.mlp.down_proj.weight": 2,
291
+ "model.layers.32.mlp.gate_proj.weight": 2,
292
+ "model.layers.32.mlp.up_proj.weight": 2,
293
+ "model.layers.32.post_attention_layernorm.weight": 2,
294
+ "model.layers.32.self_attn.k_norm.weight": 2,
295
+ "model.layers.32.self_attn.k_proj.weight": 2,
296
+ "model.layers.32.self_attn.o_proj.weight": 2,
297
+ "model.layers.32.self_attn.q_norm.weight": 2,
298
+ "model.layers.32.self_attn.q_proj.weight": 2,
299
+ "model.layers.32.self_attn.v_proj.weight": 2,
300
+ "model.layers.33.input_layernorm.weight": 2,
301
+ "model.layers.33.mlp.down_proj.weight": 2,
302
+ "model.layers.33.mlp.gate_proj.weight": 2,
303
+ "model.layers.33.mlp.up_proj.weight": 2,
304
+ "model.layers.33.post_attention_layernorm.weight": 2,
305
+ "model.layers.33.self_attn.k_norm.weight": 2,
306
+ "model.layers.33.self_attn.k_proj.weight": 2,
307
+ "model.layers.33.self_attn.o_proj.weight": 2,
308
+ "model.layers.33.self_attn.q_norm.weight": 2,
309
+ "model.layers.33.self_attn.q_proj.weight": 2,
310
+ "model.layers.33.self_attn.v_proj.weight": 2,
311
+ "model.layers.34.input_layernorm.weight": 2,
312
+ "model.layers.34.mlp.down_proj.weight": 2,
313
+ "model.layers.34.mlp.gate_proj.weight": 2,
314
+ "model.layers.34.mlp.up_proj.weight": 2,
315
+ "model.layers.34.post_attention_layernorm.weight": 2,
316
+ "model.layers.34.self_attn.k_norm.weight": 2,
317
+ "model.layers.34.self_attn.k_proj.weight": 2,
318
+ "model.layers.34.self_attn.o_proj.weight": 2,
319
+ "model.layers.34.self_attn.q_norm.weight": 2,
320
+ "model.layers.34.self_attn.q_proj.weight": 2,
321
+ "model.layers.34.self_attn.v_proj.weight": 2,
322
+ "model.layers.35.input_layernorm.weight": 3,
323
+ "model.layers.35.mlp.down_proj.weight": 3,
324
+ "model.layers.35.mlp.gate_proj.weight": 2,
325
+ "model.layers.35.mlp.up_proj.weight": 3,
326
+ "model.layers.35.post_attention_layernorm.weight": 3,
327
+ "model.layers.35.self_attn.k_norm.weight": 2,
328
+ "model.layers.35.self_attn.k_proj.weight": 2,
329
+ "model.layers.35.self_attn.o_proj.weight": 2,
330
+ "model.layers.35.self_attn.q_norm.weight": 2,
331
+ "model.layers.35.self_attn.q_proj.weight": 2,
332
+ "model.layers.35.self_attn.v_proj.weight": 2,
333
+ "model.layers.4.input_layernorm.weight": 1,
334
+ "model.layers.4.mlp.down_proj.weight": 1,
335
+ "model.layers.4.mlp.gate_proj.weight": 1,
336
+ "model.layers.4.mlp.up_proj.weight": 1,
337
+ "model.layers.4.post_attention_layernorm.weight": 1,
338
+ "model.layers.4.self_attn.k_norm.weight": 1,
339
+ "model.layers.4.self_attn.k_proj.weight": 1,
340
+ "model.layers.4.self_attn.o_proj.weight": 1,
341
+ "model.layers.4.self_attn.q_norm.weight": 1,
342
+ "model.layers.4.self_attn.q_proj.weight": 1,
343
+ "model.layers.4.self_attn.v_proj.weight": 1,
344
+ "model.layers.5.input_layernorm.weight": 1,
345
+ "model.layers.5.mlp.down_proj.weight": 1,
346
+ "model.layers.5.mlp.gate_proj.weight": 1,
347
+ "model.layers.5.mlp.up_proj.weight": 1,
348
+ "model.layers.5.post_attention_layernorm.weight": 1,
349
+ "model.layers.5.self_attn.k_norm.weight": 1,
350
+ "model.layers.5.self_attn.k_proj.weight": 1,
351
+ "model.layers.5.self_attn.o_proj.weight": 1,
352
+ "model.layers.5.self_attn.q_norm.weight": 1,
353
+ "model.layers.5.self_attn.q_proj.weight": 1,
354
+ "model.layers.5.self_attn.v_proj.weight": 1,
355
+ "model.layers.6.input_layernorm.weight": 1,
356
+ "model.layers.6.mlp.down_proj.weight": 1,
357
+ "model.layers.6.mlp.gate_proj.weight": 1,
358
+ "model.layers.6.mlp.up_proj.weight": 1,
359
+ "model.layers.6.post_attention_layernorm.weight": 1,
360
+ "model.layers.6.self_attn.k_norm.weight": 1,
361
+ "model.layers.6.self_attn.k_proj.weight": 1,
362
+ "model.layers.6.self_attn.o_proj.weight": 1,
363
+ "model.layers.6.self_attn.q_norm.weight": 1,
364
+ "model.layers.6.self_attn.q_proj.weight": 1,
365
+ "model.layers.6.self_attn.v_proj.weight": 1,
366
+ "model.layers.7.input_layernorm.weight": 1,
367
+ "model.layers.7.mlp.down_proj.weight": 1,
368
+ "model.layers.7.mlp.gate_proj.weight": 1,
369
+ "model.layers.7.mlp.up_proj.weight": 1,
370
+ "model.layers.7.post_attention_layernorm.weight": 1,
371
+ "model.layers.7.self_attn.k_norm.weight": 1,
372
+ "model.layers.7.self_attn.k_proj.weight": 1,
373
+ "model.layers.7.self_attn.o_proj.weight": 1,
374
+ "model.layers.7.self_attn.q_norm.weight": 1,
375
+ "model.layers.7.self_attn.q_proj.weight": 1,
376
+ "model.layers.7.self_attn.v_proj.weight": 1,
377
+ "model.layers.8.input_layernorm.weight": 1,
378
+ "model.layers.8.mlp.down_proj.weight": 1,
379
+ "model.layers.8.mlp.gate_proj.weight": 1,
380
+ "model.layers.8.mlp.up_proj.weight": 1,
381
+ "model.layers.8.post_attention_layernorm.weight": 1,
382
+ "model.layers.8.self_attn.k_norm.weight": 1,
383
+ "model.layers.8.self_attn.k_proj.weight": 1,
384
+ "model.layers.8.self_attn.o_proj.weight": 1,
385
+ "model.layers.8.self_attn.q_norm.weight": 1,
386
+ "model.layers.8.self_attn.q_proj.weight": 1,
387
+ "model.layers.8.self_attn.v_proj.weight": 1,
388
+ "model.layers.9.input_layernorm.weight": 1,
389
+ "model.layers.9.mlp.down_proj.weight": 1,
390
+ "model.layers.9.mlp.gate_proj.weight": 1,
391
+ "model.layers.9.mlp.up_proj.weight": 1,
392
+ "model.layers.9.post_attention_layernorm.weight": 1,
393
+ "model.layers.9.self_attn.k_norm.weight": 1,
394
+ "model.layers.9.self_attn.k_proj.weight": 1,
395
+ "model.layers.9.self_attn.o_proj.weight": 1,
396
+ "model.layers.9.self_attn.q_norm.weight": 1,
397
+ "model.layers.9.self_attn.q_proj.weight": 1,
398
+ "model.layers.9.self_attn.v_proj.weight": 1,
399
+ "model.norm.weight": 3
400
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/policy/weights/model/.hf_metadata/generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "temperature": 0.7,
10
+ "top_k": 20,
11
+ "top_p": 0.8,
12
+ "transformers_version": "4.57.1"
13
+ }
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/step_80/training_info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"current_epoch": 0, "current_step": 80, "total_steps": 80, "val_reward": 0.9657142857142857, "consumed_samples": 1280, "total_valid_tokens": 5494322.0}
checkpoints/math_operations/opsd_nll_teacher_top1_gt_qwen3_4b_n1_t0_20260429/run_20260430.211830/train_log_20260430.211830.txt ADDED
The diff for this file is too large to render. See raw diff