Views
No views yet
0.10.0.dev01base_model: Qwen/Qwen3-14B-Base
2
3plugins:
4 - axolotl.integrations.liger.LigerPlugin
5 - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
6liger_rope: true
7liger_rms_norm: true
8liger_glu_activation: true
9
10chat_template_jinja: "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {{- messages[0].content + '\\n\\n' }}\n {%- endif %}\n {{- \"# 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>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\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\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0].content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set content = message.content %}\n {%- set reasoning_content = '' %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}"
11
12datasets:
13 - path: winglian/cuda-engineer-augment-v4-filtered
14 type: chat_template
15 split: train
16 # split_thinking: true
17 eot_tokens: ["<|im_end|>"]
18 - path: axolotl-ai-internal/gpumode-py2triton-reasoning-v2-filtered
19 type: chat_template
20 split: train
21 # split_thinking: true
22 eot_tokens: ["<|im_end|>"]
23
24dataset_prepared_path: last_run_prepared
25val_set_size: 0.005
26output_dir: ./outputs/out
27save_only_model: true
28
29sequence_len: 16384
30sample_packing: true
31pad_to_sequence_len: true
32
33wandb_project: qwen3-14b-grpo-triton
34wandb_entity: axolotl-ai
35wandb_watch:
36wandb_name:
37wandb_log_model:
38
39gradient_accumulation_steps: 1
40micro_batch_size: 2
41num_epochs: 3
42optimizer: adamw_torch_fused
43max_grad_norm: 0.1
44neftune_noise_alpha: 10
45lr_scheduler: cosine
46learning_rate: 1e-5
47
48bf16: true
49tf32: true
50
51gradient_checkpointing: offload
52gradient_checkpointing_kwargs:
53 use_reentrant: false
54logging_steps: 1
55flash_attention: true
56
57warmup_steps: 100
58evals_per_epoch: 5
59saves_per_epoch: 1
60weight_decay: 0.01
61deepspeed: deepspeed_configs/zero1.json
62
63| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.4626 | 0.0056 | 1 | 0.4989 |
| 0.3018 | 0.2 | 36 | 0.3577 |
| 0.2528 | 0.4 | 72 | 0.2954 |
| 0.2273 | 0.6 | 108 | 0.2686 |
| 0.2238 | 0.8 | 144 | 0.2540 |
| 0.2143 | 1.0 | 180 | 0.2458 |
| 0.1964 | 1.2 | 216 | 0.2387 |
| 0.1913 | 1.4 | 252 | 0.2357 |
| 0.1809 | 1.6 | 288 | 0.2327 |
| 0.1814 | 1.8 | 324 | 0.2296 |
| 0.1769 | 2.0 | 360 | 0.2271 |
| 0.1638 | 2.2 | 396 | 0.2253 |
| 0.1594 | 2.4 | 432 | 0.2257 |
| 0.154 | 2.6 | 468 | 0.2262 |
| 0.1578 | 2.8 | 504 | 0.2262 |
| 0.1571 | 3.0 | 540 | 0.2262 |