Views
No views yet
0.12.21base_model: openai/gpt-oss-20b
2use_kernels: true
3model_quantization_config: Mxfp4Config
4model_quantization_config_kwargs:
5 dequantize: true
6
7plugins:
8 - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
9
10experimental_skip_move_to_device: true # prevent OOM by not putting model to GPU before sharding
11
12datasets:
13 - path: /workspace/swe-tests/scripts/1_low_stakes_control/sft/data/olympiads/qwen0point6b/malign_prompt_benign_answers/train_6.jsonl
14 ds_type: json
15 type: chat_template
16 field_thinking: thinking
17 template_thinking_key: thinking
18 split: train
19
20test_datasets:
21 - path: /workspace/swe-tests/scripts/1_low_stakes_control/sft/data/olympiads/qwen0point6b/malign_prompt_benign_answers/val_1.jsonl
22 ds_type: json
23 type: chat_template
24 field_thinking: thinking
25 template_thinking_key: thinking
26 split: train
27
28output_dir: ./outputs/out/gpt-oss-20b-olympiads-qwen0point6b-malign-prompt-benign-answer-6
29
30sequence_len: 4096
31#sample_packing: true
32
33adapter: lora
34lora_r: 32
35lora_alpha: 32
36lora_dropout: 0.0 # dropout not supported when using LoRA over expert parameters
37lora_target_linear: true
38
39# TODO: not supported for now, see peft#2710xw
40#lora_target_parameters: # target the experts in the last two layers
41# - "22._checkpoint_wrapped_module.mlp.experts.gate_up_proj"
42# - "22._checkpoint_wrapped_module.mlp.experts.down_proj"
43# - "23._checkpoint_wrapped_module.mlp.experts.gate_up_proj"
44# - "23._checkpoint_wrapped_module.mlp.experts.down_proj"
45
46wandb_project: low-stakes-control-sft
47wandb_entity: mats-low-stakes
48wandb_name: gpt-oss-20b-olympiads-qwen0point6b-malign-prompt-benign-answer-6
49wandb_log_model: checkpoint
50hub_model_id: EmilRyd/gpt-oss-20b-olympiads-qwen0point6b-malign-prompt-benign-answer-6
51
52gradient_accumulation_steps: 1
53micro_batch_size: 6
54num_epochs: 150
55
56optimizer: adamw_torch_8bit
57lr_scheduler: constant_with_warmup
58learning_rate: 1e-5
59
60bf16: true
61tf32: true
62
63flash_attention: true
64attn_implementation: kernels-community/vllm-flash-attn3
65
66gradient_checkpointing: true
67activation_offloading: true
68
69logging_steps: 1
70save_strategy: best
71metric_for_best_model: eval_loss
72save_only_model: true
73warmup_ratio: 0.01
74eval_steps: 10
75
76special_tokens:
77eot_tokens:
78 - "<|end|>"