Views
No views yet
0.10.01
2# base model
3base_model: sbintuitions/sarashina2.2-3b-instruct-v0.1
4model_type: AutoModelForCausalLM
5tokenizer_type: AutoTokenizer
6
7# model upload
8hub_model_id: OsakanaTeishoku/sarashina2.2-3b-cot-sft-step1000-test-20251006
9hub_strategy: "end"
10push_dataset_to_hub:
11hf_use_auth_token: true
12
13# liger kernel
14plugins:
15 - axolotl.integrations.liger.LigerPlugin
16liger_cross_entropy: false
17liger_rope: true
18liger_rms_norm: true
19liger_swiglu: true
20liger_fused_linear_cross_entropy: true
21
22# quantize
23load_in_8bit: false
24load_in_4bit: false
25
26# chat_template
27chat_template: tokenizer_default
28
29# Liger Kernelの設定(学習の軽量・高速化)
30plugins:
31 - axolotl.integrations.liger.LigerPlugin
32liger_cross_entropy: false
33liger_rope: true
34liger_rms_norm: true
35liger_swiglu: true
36liger_fused_linear_cross_entropy: true
37
38# dataset
39datasets:
40 - path: OsakanaTeishoku/Zero_SFT_Ja_v3_Reasoning_formatted
41 split: train
42 type: chat_template
43 field_messages: messages
44 message_field_role: role
45 message_field_content: content
46
47
48dataset_prepared_path: ./dataset
49#val_set_size: 0.05
50output_dir: ./outputs
51# Training configuration
52train_on_inputs: false
53group_by_length: false
54
55sequence_len: 32768
56sample_packing: false
57
58adapter: lora
59lora_r: 16
60lora_alpha: 16
61lora_dropout: 0
62# lora_target_modules:
63# - q_proj
64# - v_proj
65# - k_proj
66# - o_proj
67# - gate_proj
68# - down_proj
69# - up_proj
70lora_target_linear: true
71lora_modules_to_save: [embed_tokens, lm_head]
72
73gradient_accumulation_steps: 4
74micro_batch_size: 2
75#num_epochs: 1
76max_steps: 1000
77optimizer: adamw_torch_fused
78lr_scheduler: linear
79learning_rate: 1e-4
80
81bf16: auto
82tf32: false
83
84gradient_checkpointing: true
85gradient_checkpointing_kwargs:
86 use_reentrant: true
87resume_from_checkpoint:
88logging_steps: 1
89flash_attention: true
90
91warmup_ratio: 0.1
92#evals_per_epoch: 4
93#saves_per_epoch: 1
94save_steps: 100
95save_strategy:
96weight_decay: 0.0
97
98
99
100
101#special_tokens:
102# pad_token: <|end_of_text|>
103tokens: ["<think>", "</think>"]
104overrides_of_model_config: {"rope_scaling": {"rope_type": "yarn", "factor": 4.0, "original_max_position_embeddings": 8192}}
105# save_first_step: true # uncomment this to validate checkpoint saving works with your config
106