Views
No views yet
0.9.21# Model Configuration
2base_model: Qwen/Qwen3-0.6B-Base
3type: AutoModelForCausalLM
4tokenizer_type: AutoTokenizer
5special_tokens:
6flash_attention: true
7flash_attn_rms_norm: true
8flash_attn_fuse_qkv: false
9sequence_len: 4096
10chat_template: qwen3
11
12# Dataset Configuration
13shuffle_merged_datasets: true
14dataset_processes: 8
15sample_packing: true
16pad_to_sequence_len: true
17group_by_length: false
18train_on_inputs: false
19datasets:
20 - path: timarni/s1k_r1_clean
21 ds_type: json
22 type: chat_template
23 field_messages: conversations
24 message_property_mappings: {role: from, content: value}
25
26# datasets:
27# - path: "json"
28# data_files: "/mloscratch/users/arni/reasoning_sft/data/s1k_r1/s1k_r1_think_token_cleaned.jsonl"
29# type: chat_template
30# ds_type: json
31# split: train
32# field_messages: conversations
33# message_field_role: from
34# message_field_content: value
35
36# Training Hyperparameters
37micro_batch_size: 1
38gradient_accumulation_steps: 4
39max_steps: 8500
40num_epochs: 2 # 5
41learning_rate: 4e-5 # 7e-7
42optimizer: adamw_torch
43optim_args:
44 fused: true
45lr_scheduler: cosine
46cosine_min_lr_ratio: 0 # change this to 0.1
47warmup_ratio: 0.05
48weight_decay: 1.0e-4
49adam_beta1: 0.9
50adam_beta2: 0.95
51gradient_checkpointing: true
52gradient_checkpointing_kwargs:
53 use_reentrant: false
54max_grad_norm: 1.0
55
56# Hardware/Performance Configuration
57load_in_4bit: false
58load_in_8bit: false
59bnb_config: null
60deepspeed: /mloscratch/users/arni/meditron_protocol/training/sft/axolotl_config/deepspeed.json
61xformers_attention: null
62eager_attention: true
63tf32: false
64bf16: true
65
66# Logging/Checkpointing
67output_dir: /mloscratch/users/arni/models/qwen3-0.6B-Base-s1k_r1_reasoning_token
68logging_steps: 1
69saves_per_epoch: 1
70resume_from_checkpoint: null
71load_best_model_at_end: false
72early_stopping_patience: 0
73eval_set_size: 0.0
74eval_table_size: null
75# evals_per_epoch: 2
76# eval_steps: 1000
77# save_steps: 100
78
79# WandB Configuration
80wandb_project: mnlp # meditron-reasoning
81wandb_entity: tim-arni # alexs-team
82wandb_name: qwen3-0.6B-Base-s1k_r1_reasoning_token # medicouenne-7b-checkpoint-5742-medMCQA