Rehome checkpoint configs and manifests at their original paths
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- experiments/distillation/reasoning/knights_knaves/baseline/260716-grpo-knights_knaves-q3-4b-base-s150-tr8k-va8k-save15-b64-mb32-dp2/global_step_90/actor/huggingface/config.json +71 -0
- experiments/distillation/reasoning/knights_knaves/baseline/260716-grpo-knights_knaves-q3-4b-base-s150-tr8k-va8k-save15-b64-mb32-dp2/global_step_90/actor/huggingface/generation_config.json +7 -0
- experiments/distillation/reasoning/knights_knaves/baseline/260716-grpo-knights_knaves-q3-4b-base-s150-tr8k-va8k-save15-b64-mb32-dp2/global_step_90/actor/huggingface/tokenizer_config.json +30 -0
- experiments/distillation/reasoning/knights_knaves/baseline/260716-grpo-knights_knaves-q3-4b-base-s150-tr8k-va8k-save15-b64-mb32-dp2/latest_checkpoint.json +7 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.async_checkpoint_ready_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.async_checkpoint_ready_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.async_checkpoint_started_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.async_checkpoint_started_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.checkpoint_complete.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.worker_sidecars_ready_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.worker_sidecars_ready_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/fsdp_config.json +4 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/huggingface/chat_template.jinja +85 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/huggingface/config.json +72 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/huggingface/generation_config.json +7 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/huggingface/tokenizer_config.json +30 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.async_checkpoint_ready_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.async_checkpoint_ready_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.async_checkpoint_started_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.async_checkpoint_started_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.checkpoint_complete.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.worker_sidecars_ready_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.worker_sidecars_ready_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/fsdp_config.json +4 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/huggingface/chat_template.jinja +85 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/huggingface/config.json +72 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/huggingface/generation_config.json +7 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/huggingface/tokenizer_config.json +30 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.async_checkpoint_ready_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.async_checkpoint_ready_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.async_checkpoint_started_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.async_checkpoint_started_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.checkpoint_complete.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.worker_sidecars_ready_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.worker_sidecars_ready_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/fsdp_config.json +4 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/huggingface/chat_template.jinja +85 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/huggingface/config.json +72 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/huggingface/generation_config.json +7 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/huggingface/tokenizer_config.json +30 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.async_checkpoint_ready_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.async_checkpoint_ready_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.async_checkpoint_started_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.async_checkpoint_started_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.checkpoint_complete.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.worker_sidecars_ready_world_size_2_rank_0.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.worker_sidecars_ready_world_size_2_rank_1.json +1 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/fsdp_config.json +4 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/huggingface/chat_template.jinja +85 -0
- experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/huggingface/config.json +72 -0
experiments/distillation/reasoning/knights_knaves/baseline/260716-grpo-knights_knaves-q3-4b-base-s150-tr8k-va8k-save15-b64-mb32-dp2/global_step_90/actor/huggingface/config.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"dtype": "float32",
|
| 9 |
+
"eos_token_id": 151643,
|
| 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": 32768,
|
| 54 |
+
"max_window_layers": 36,
|
| 55 |
+
"model_type": "qwen3",
|
| 56 |
+
"num_attention_heads": 32,
|
| 57 |
+
"num_hidden_layers": 36,
|
| 58 |
+
"num_key_value_heads": 8,
|
| 59 |
+
"pad_token_id": 151643,
|
| 60 |
+
"rms_norm_eps": 1e-06,
|
| 61 |
+
"rope_parameters": {
|
| 62 |
+
"rope_theta": 1000000,
|
| 63 |
+
"rope_type": "default"
|
| 64 |
+
},
|
| 65 |
+
"sliding_window": null,
|
| 66 |
+
"tie_word_embeddings": true,
|
| 67 |
+
"transformers_version": "5.12.0",
|
| 68 |
+
"use_cache": true,
|
| 69 |
+
"use_sliding_window": false,
|
| 70 |
+
"vocab_size": 151936
|
| 71 |
+
}
|
experiments/distillation/reasoning/knights_knaves/baseline/260716-grpo-knights_knaves-q3-4b-base-s150-tr8k-va8k-save15-b64-mb32-dp2/global_step_90/actor/huggingface/generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": false,
|
| 4 |
+
"eos_token_id": 151643,
|
| 5 |
+
"max_new_tokens": 2048,
|
| 6 |
+
"transformers_version": "5.12.0"
|
| 7 |
+
}
|
experiments/distillation/reasoning/knights_knaves/baseline/260716-grpo-knights_knaves-q3-4b-base-s150-tr8k-va8k-save15-b64-mb32-dp2/global_step_90/actor/huggingface/tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|endoftext|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 131072,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
experiments/distillation/reasoning/knights_knaves/baseline/260716-grpo-knights_knaves-q3-4b-base-s150-tr8k-va8k-save15-b64-mb32-dp2/latest_checkpoint.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "DISTILLATION-REASONING-GRPO-Qwen-Qwen3-4B-Base-lr1e-6-knights_knaves-knights_knaves-q3-4b-base-s150-b64-mb32-dp2-tr8k-va8k-save15-nosys-noprep",
|
| 3 |
+
"latest_checkpoint_dir": "global_step_150",
|
| 4 |
+
"latest_step": 150,
|
| 5 |
+
"task": "datasets/knights_knaves",
|
| 6 |
+
"wandb_run_id": "rg-kk-q3-4b-grpo-s150-tr8k-va8k-save15-dp2-260716"
|
| 7 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.async_checkpoint_ready_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 105, "rank": 0, "version": 1, "world_size": 2, "written_paths": ["model_world_size_2_rank_0.pt", "optim_world_size_2_rank_0.pt", "extra_state_world_size_2_rank_0.pt", "fsdp_config.json", "huggingface/config.json", "huggingface/tokenizer_config.json", "huggingface/chat_template.jinja", "huggingface/generation_config.json", "huggingface/tokenizer.json"]}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.async_checkpoint_ready_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 105, "rank": 1, "version": 1, "world_size": 2, "written_paths": ["model_world_size_2_rank_1.pt", "optim_world_size_2_rank_1.pt", "extra_state_world_size_2_rank_1.pt"]}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.async_checkpoint_started_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 105, "rank": 0, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.async_checkpoint_started_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 105, "rank": 1, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.checkpoint_complete.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 105, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.worker_sidecars_ready_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 105, "rank": 0, "required_paths": [], "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/.worker_sidecars_ready_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 105, "rank": 1, "required_paths": [], "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/fsdp_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"FSDP_version": 1,
|
| 3 |
+
"world_size": 2
|
| 4 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/huggingface/chat_template.jinja
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 27 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 28 |
+
{%- elif message.role == "assistant" %}
|
| 29 |
+
{%- set content = message.content %}
|
| 30 |
+
{%- set reasoning_content = '' %}
|
| 31 |
+
{%- if message.reasoning_content is defined and message.reasoning_content is not none %}
|
| 32 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 33 |
+
{%- else %}
|
| 34 |
+
{%- if '</think>' in message.content %}
|
| 35 |
+
{%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
|
| 36 |
+
{%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 37 |
+
{%- endif %}
|
| 38 |
+
{%- endif %}
|
| 39 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 40 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 41 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 42 |
+
{%- else %}
|
| 43 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- else %}
|
| 46 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 47 |
+
{%- endif %}
|
| 48 |
+
{%- if message.tool_calls %}
|
| 49 |
+
{%- for tool_call in message.tool_calls %}
|
| 50 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 51 |
+
{{- '\n' }}
|
| 52 |
+
{%- endif %}
|
| 53 |
+
{%- if tool_call.function %}
|
| 54 |
+
{%- set tool_call = tool_call.function %}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 57 |
+
{{- tool_call.name }}
|
| 58 |
+
{{- '", "arguments": ' }}
|
| 59 |
+
{%- if tool_call.arguments is string %}
|
| 60 |
+
{{- tool_call.arguments }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{{- tool_call.arguments | tojson }}
|
| 63 |
+
{%- endif %}
|
| 64 |
+
{{- '}\n</tool_call>' }}
|
| 65 |
+
{%- endfor %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{{- '<|im_end|>\n' }}
|
| 68 |
+
{%- elif message.role == "tool" %}
|
| 69 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 70 |
+
{{- '<|im_start|>user' }}
|
| 71 |
+
{%- endif %}
|
| 72 |
+
{{- '\n<tool_response>\n' }}
|
| 73 |
+
{{- message.content }}
|
| 74 |
+
{{- '\n</tool_response>' }}
|
| 75 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 76 |
+
{{- '<|im_end|>\n' }}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{%- endif %}
|
| 79 |
+
{%- endfor %}
|
| 80 |
+
{%- if add_generation_prompt %}
|
| 81 |
+
{{- '<|im_start|>assistant\n' }}
|
| 82 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 83 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 84 |
+
{%- endif %}
|
| 85 |
+
{%- endif %}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/huggingface/config.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attn_implementation": "flash_attention_2",
|
| 8 |
+
"bos_token_id": null,
|
| 9 |
+
"dtype": "float32",
|
| 10 |
+
"eos_token_id": 151643,
|
| 11 |
+
"head_dim": 128,
|
| 12 |
+
"hidden_act": "silu",
|
| 13 |
+
"hidden_size": 2560,
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"intermediate_size": 9728,
|
| 16 |
+
"layer_types": [
|
| 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 |
+
"full_attention"
|
| 53 |
+
],
|
| 54 |
+
"max_position_embeddings": 32768,
|
| 55 |
+
"max_window_layers": 36,
|
| 56 |
+
"model_type": "qwen3",
|
| 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_parameters": {
|
| 63 |
+
"rope_theta": 1000000,
|
| 64 |
+
"rope_type": "default"
|
| 65 |
+
},
|
| 66 |
+
"sliding_window": null,
|
| 67 |
+
"tie_word_embeddings": true,
|
| 68 |
+
"transformers_version": "5.12.0",
|
| 69 |
+
"use_cache": true,
|
| 70 |
+
"use_sliding_window": false,
|
| 71 |
+
"vocab_size": 151936
|
| 72 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/huggingface/generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": false,
|
| 4 |
+
"eos_token_id": 151643,
|
| 5 |
+
"max_new_tokens": 2048,
|
| 6 |
+
"transformers_version": "5.12.0"
|
| 7 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_105/actor/huggingface/tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|endoftext|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 131072,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.async_checkpoint_ready_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 120, "rank": 0, "version": 1, "world_size": 2, "written_paths": ["model_world_size_2_rank_0.pt", "optim_world_size_2_rank_0.pt", "extra_state_world_size_2_rank_0.pt", "fsdp_config.json", "huggingface/config.json", "huggingface/tokenizer_config.json", "huggingface/chat_template.jinja", "huggingface/generation_config.json", "huggingface/tokenizer.json"]}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.async_checkpoint_ready_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 120, "rank": 1, "version": 1, "world_size": 2, "written_paths": ["model_world_size_2_rank_1.pt", "optim_world_size_2_rank_1.pt", "extra_state_world_size_2_rank_1.pt"]}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.async_checkpoint_started_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 120, "rank": 0, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.async_checkpoint_started_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 120, "rank": 1, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.checkpoint_complete.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 120, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.worker_sidecars_ready_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 120, "rank": 0, "required_paths": [], "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/.worker_sidecars_ready_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 120, "rank": 1, "required_paths": [], "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/fsdp_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"FSDP_version": 1,
|
| 3 |
+
"world_size": 2
|
| 4 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/huggingface/chat_template.jinja
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 27 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 28 |
+
{%- elif message.role == "assistant" %}
|
| 29 |
+
{%- set content = message.content %}
|
| 30 |
+
{%- set reasoning_content = '' %}
|
| 31 |
+
{%- if message.reasoning_content is defined and message.reasoning_content is not none %}
|
| 32 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 33 |
+
{%- else %}
|
| 34 |
+
{%- if '</think>' in message.content %}
|
| 35 |
+
{%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
|
| 36 |
+
{%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 37 |
+
{%- endif %}
|
| 38 |
+
{%- endif %}
|
| 39 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 40 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 41 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 42 |
+
{%- else %}
|
| 43 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- else %}
|
| 46 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 47 |
+
{%- endif %}
|
| 48 |
+
{%- if message.tool_calls %}
|
| 49 |
+
{%- for tool_call in message.tool_calls %}
|
| 50 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 51 |
+
{{- '\n' }}
|
| 52 |
+
{%- endif %}
|
| 53 |
+
{%- if tool_call.function %}
|
| 54 |
+
{%- set tool_call = tool_call.function %}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 57 |
+
{{- tool_call.name }}
|
| 58 |
+
{{- '", "arguments": ' }}
|
| 59 |
+
{%- if tool_call.arguments is string %}
|
| 60 |
+
{{- tool_call.arguments }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{{- tool_call.arguments | tojson }}
|
| 63 |
+
{%- endif %}
|
| 64 |
+
{{- '}\n</tool_call>' }}
|
| 65 |
+
{%- endfor %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{{- '<|im_end|>\n' }}
|
| 68 |
+
{%- elif message.role == "tool" %}
|
| 69 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 70 |
+
{{- '<|im_start|>user' }}
|
| 71 |
+
{%- endif %}
|
| 72 |
+
{{- '\n<tool_response>\n' }}
|
| 73 |
+
{{- message.content }}
|
| 74 |
+
{{- '\n</tool_response>' }}
|
| 75 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 76 |
+
{{- '<|im_end|>\n' }}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{%- endif %}
|
| 79 |
+
{%- endfor %}
|
| 80 |
+
{%- if add_generation_prompt %}
|
| 81 |
+
{{- '<|im_start|>assistant\n' }}
|
| 82 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 83 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 84 |
+
{%- endif %}
|
| 85 |
+
{%- endif %}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/huggingface/config.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attn_implementation": "flash_attention_2",
|
| 8 |
+
"bos_token_id": null,
|
| 9 |
+
"dtype": "float32",
|
| 10 |
+
"eos_token_id": 151643,
|
| 11 |
+
"head_dim": 128,
|
| 12 |
+
"hidden_act": "silu",
|
| 13 |
+
"hidden_size": 2560,
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"intermediate_size": 9728,
|
| 16 |
+
"layer_types": [
|
| 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 |
+
"full_attention"
|
| 53 |
+
],
|
| 54 |
+
"max_position_embeddings": 32768,
|
| 55 |
+
"max_window_layers": 36,
|
| 56 |
+
"model_type": "qwen3",
|
| 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_parameters": {
|
| 63 |
+
"rope_theta": 1000000,
|
| 64 |
+
"rope_type": "default"
|
| 65 |
+
},
|
| 66 |
+
"sliding_window": null,
|
| 67 |
+
"tie_word_embeddings": true,
|
| 68 |
+
"transformers_version": "5.12.0",
|
| 69 |
+
"use_cache": true,
|
| 70 |
+
"use_sliding_window": false,
|
| 71 |
+
"vocab_size": 151936
|
| 72 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/huggingface/generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": false,
|
| 4 |
+
"eos_token_id": 151643,
|
| 5 |
+
"max_new_tokens": 2048,
|
| 6 |
+
"transformers_version": "5.12.0"
|
| 7 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_120/actor/huggingface/tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|endoftext|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 131072,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.async_checkpoint_ready_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 135, "rank": 0, "version": 1, "world_size": 2, "written_paths": ["model_world_size_2_rank_0.pt", "optim_world_size_2_rank_0.pt", "extra_state_world_size_2_rank_0.pt", "fsdp_config.json", "huggingface/config.json", "huggingface/tokenizer_config.json", "huggingface/chat_template.jinja", "huggingface/generation_config.json", "huggingface/tokenizer.json"]}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.async_checkpoint_ready_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 135, "rank": 1, "version": 1, "world_size": 2, "written_paths": ["model_world_size_2_rank_1.pt", "optim_world_size_2_rank_1.pt", "extra_state_world_size_2_rank_1.pt"]}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.async_checkpoint_started_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 135, "rank": 0, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.async_checkpoint_started_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 135, "rank": 1, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.checkpoint_complete.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 135, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.worker_sidecars_ready_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 135, "rank": 0, "required_paths": [], "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/.worker_sidecars_ready_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 135, "rank": 1, "required_paths": [], "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/fsdp_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"FSDP_version": 1,
|
| 3 |
+
"world_size": 2
|
| 4 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/huggingface/chat_template.jinja
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 27 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 28 |
+
{%- elif message.role == "assistant" %}
|
| 29 |
+
{%- set content = message.content %}
|
| 30 |
+
{%- set reasoning_content = '' %}
|
| 31 |
+
{%- if message.reasoning_content is defined and message.reasoning_content is not none %}
|
| 32 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 33 |
+
{%- else %}
|
| 34 |
+
{%- if '</think>' in message.content %}
|
| 35 |
+
{%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
|
| 36 |
+
{%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 37 |
+
{%- endif %}
|
| 38 |
+
{%- endif %}
|
| 39 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 40 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 41 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 42 |
+
{%- else %}
|
| 43 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- else %}
|
| 46 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 47 |
+
{%- endif %}
|
| 48 |
+
{%- if message.tool_calls %}
|
| 49 |
+
{%- for tool_call in message.tool_calls %}
|
| 50 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 51 |
+
{{- '\n' }}
|
| 52 |
+
{%- endif %}
|
| 53 |
+
{%- if tool_call.function %}
|
| 54 |
+
{%- set tool_call = tool_call.function %}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 57 |
+
{{- tool_call.name }}
|
| 58 |
+
{{- '", "arguments": ' }}
|
| 59 |
+
{%- if tool_call.arguments is string %}
|
| 60 |
+
{{- tool_call.arguments }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{{- tool_call.arguments | tojson }}
|
| 63 |
+
{%- endif %}
|
| 64 |
+
{{- '}\n</tool_call>' }}
|
| 65 |
+
{%- endfor %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{{- '<|im_end|>\n' }}
|
| 68 |
+
{%- elif message.role == "tool" %}
|
| 69 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 70 |
+
{{- '<|im_start|>user' }}
|
| 71 |
+
{%- endif %}
|
| 72 |
+
{{- '\n<tool_response>\n' }}
|
| 73 |
+
{{- message.content }}
|
| 74 |
+
{{- '\n</tool_response>' }}
|
| 75 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 76 |
+
{{- '<|im_end|>\n' }}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{%- endif %}
|
| 79 |
+
{%- endfor %}
|
| 80 |
+
{%- if add_generation_prompt %}
|
| 81 |
+
{{- '<|im_start|>assistant\n' }}
|
| 82 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 83 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 84 |
+
{%- endif %}
|
| 85 |
+
{%- endif %}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/huggingface/config.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attn_implementation": "flash_attention_2",
|
| 8 |
+
"bos_token_id": null,
|
| 9 |
+
"dtype": "float32",
|
| 10 |
+
"eos_token_id": 151643,
|
| 11 |
+
"head_dim": 128,
|
| 12 |
+
"hidden_act": "silu",
|
| 13 |
+
"hidden_size": 2560,
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"intermediate_size": 9728,
|
| 16 |
+
"layer_types": [
|
| 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 |
+
"full_attention"
|
| 53 |
+
],
|
| 54 |
+
"max_position_embeddings": 32768,
|
| 55 |
+
"max_window_layers": 36,
|
| 56 |
+
"model_type": "qwen3",
|
| 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_parameters": {
|
| 63 |
+
"rope_theta": 1000000,
|
| 64 |
+
"rope_type": "default"
|
| 65 |
+
},
|
| 66 |
+
"sliding_window": null,
|
| 67 |
+
"tie_word_embeddings": true,
|
| 68 |
+
"transformers_version": "5.12.0",
|
| 69 |
+
"use_cache": true,
|
| 70 |
+
"use_sliding_window": false,
|
| 71 |
+
"vocab_size": 151936
|
| 72 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/huggingface/generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": false,
|
| 4 |
+
"eos_token_id": 151643,
|
| 5 |
+
"max_new_tokens": 2048,
|
| 6 |
+
"transformers_version": "5.12.0"
|
| 7 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_135/actor/huggingface/tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|endoftext|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 131072,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.async_checkpoint_ready_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 15, "rank": 0, "version": 1, "world_size": 2, "written_paths": ["model_world_size_2_rank_0.pt", "optim_world_size_2_rank_0.pt", "extra_state_world_size_2_rank_0.pt", "fsdp_config.json", "huggingface/config.json", "huggingface/tokenizer_config.json", "huggingface/chat_template.jinja", "huggingface/generation_config.json", "huggingface/tokenizer.json"]}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.async_checkpoint_ready_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 15, "rank": 1, "version": 1, "world_size": 2, "written_paths": ["model_world_size_2_rank_1.pt", "optim_world_size_2_rank_1.pt", "extra_state_world_size_2_rank_1.pt"]}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.async_checkpoint_started_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 15, "rank": 0, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.async_checkpoint_started_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 15, "rank": 1, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.checkpoint_complete.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 15, "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.worker_sidecars_ready_world_size_2_rank_0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 15, "rank": 0, "required_paths": [], "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/.worker_sidecars_ready_world_size_2_rank_1.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"global_step": 15, "rank": 1, "required_paths": [], "version": 1, "world_size": 2}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/fsdp_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"FSDP_version": 1,
|
| 3 |
+
"world_size": 2
|
| 4 |
+
}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/huggingface/chat_template.jinja
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 27 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 28 |
+
{%- elif message.role == "assistant" %}
|
| 29 |
+
{%- set content = message.content %}
|
| 30 |
+
{%- set reasoning_content = '' %}
|
| 31 |
+
{%- if message.reasoning_content is defined and message.reasoning_content is not none %}
|
| 32 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 33 |
+
{%- else %}
|
| 34 |
+
{%- if '</think>' in message.content %}
|
| 35 |
+
{%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
|
| 36 |
+
{%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 37 |
+
{%- endif %}
|
| 38 |
+
{%- endif %}
|
| 39 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 40 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 41 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 42 |
+
{%- else %}
|
| 43 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- else %}
|
| 46 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 47 |
+
{%- endif %}
|
| 48 |
+
{%- if message.tool_calls %}
|
| 49 |
+
{%- for tool_call in message.tool_calls %}
|
| 50 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 51 |
+
{{- '\n' }}
|
| 52 |
+
{%- endif %}
|
| 53 |
+
{%- if tool_call.function %}
|
| 54 |
+
{%- set tool_call = tool_call.function %}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 57 |
+
{{- tool_call.name }}
|
| 58 |
+
{{- '", "arguments": ' }}
|
| 59 |
+
{%- if tool_call.arguments is string %}
|
| 60 |
+
{{- tool_call.arguments }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{{- tool_call.arguments | tojson }}
|
| 63 |
+
{%- endif %}
|
| 64 |
+
{{- '}\n</tool_call>' }}
|
| 65 |
+
{%- endfor %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{{- '<|im_end|>\n' }}
|
| 68 |
+
{%- elif message.role == "tool" %}
|
| 69 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 70 |
+
{{- '<|im_start|>user' }}
|
| 71 |
+
{%- endif %}
|
| 72 |
+
{{- '\n<tool_response>\n' }}
|
| 73 |
+
{{- message.content }}
|
| 74 |
+
{{- '\n</tool_response>' }}
|
| 75 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 76 |
+
{{- '<|im_end|>\n' }}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{%- endif %}
|
| 79 |
+
{%- endfor %}
|
| 80 |
+
{%- if add_generation_prompt %}
|
| 81 |
+
{{- '<|im_start|>assistant\n' }}
|
| 82 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 83 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 84 |
+
{%- endif %}
|
| 85 |
+
{%- endif %}
|
experiments/weak_to_strong/math/baseline/260722-grpo-dapo-math17k-qwen3-4b-base-len20480-overlong4k-pf1p0-dp2-step150-b64-mb32-nosystem-save15-eval15-bestval-finalopt-aime24/global_step_15/actor/huggingface/config.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attn_implementation": "flash_attention_2",
|
| 8 |
+
"bos_token_id": null,
|
| 9 |
+
"dtype": "float32",
|
| 10 |
+
"eos_token_id": 151643,
|
| 11 |
+
"head_dim": 128,
|
| 12 |
+
"hidden_act": "silu",
|
| 13 |
+
"hidden_size": 2560,
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"intermediate_size": 9728,
|
| 16 |
+
"layer_types": [
|
| 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 |
+
"full_attention"
|
| 53 |
+
],
|
| 54 |
+
"max_position_embeddings": 32768,
|
| 55 |
+
"max_window_layers": 36,
|
| 56 |
+
"model_type": "qwen3",
|
| 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_parameters": {
|
| 63 |
+
"rope_theta": 1000000,
|
| 64 |
+
"rope_type": "default"
|
| 65 |
+
},
|
| 66 |
+
"sliding_window": null,
|
| 67 |
+
"tie_word_embeddings": true,
|
| 68 |
+
"transformers_version": "5.12.0",
|
| 69 |
+
"use_cache": true,
|
| 70 |
+
"use_sliding_window": false,
|
| 71 |
+
"vocab_size": 151936
|
| 72 |
+
}
|