Views
No views yet
0.9.21base_model: Qwen/Qwen3-4B
2hub_model_id: minpeter/LoRA-Qwen3-4b-v1-iteration-01-sf-apigen-01
3
4load_in_8bit: false
5load_in_4bit: false
6strict: false
7
8datasets:
9 - path: minpeter/apigen-mt-5k-friendli
10 data_files:
11 - train.jsonl
12 - test.jsonl
13 type: chat_template
14 roles_to_train: ["assistant"]
15 field_messages: messages
16 message_property_mappings:
17 role: role
18 content: content
19 shards: 3
20chat_template: chatml
21
22dataset_prepared_path: last_run_prepared
23
24output_dir: ./output
25
26adapter: lora
27lora_model_dir:
28
29sequence_len: 8192
30pad_to_sequence_len: true
31sample_packing: true
32
33val_set_size: 0.05
34eval_sample_packing: true
35evals_per_epoch: 3
36
37lora_r: 8
38lora_alpha: 16
39lora_dropout: 0.05
40lora_fan_in_fan_out:
41lora_target_modules:
42 - gate_proj
43 - down_proj
44 - up_proj
45 - q_proj
46 - v_proj
47 - k_proj
48 - o_proj
49
50wandb_project: "axolotl"
51wandb_entity: "kasfiekfs-e"
52wandb_watch:
53wandb_name:
54wandb_log_model:
55
56gradient_accumulation_steps: 2
57micro_batch_size: 2
58num_epochs: 2
59optimizer: adamw_8bit
60lr_scheduler: cosine
61learning_rate: 0.0002
62
63train_on_inputs: false
64group_by_length: false
65bf16: auto
66tf32: true
67
68gradient_checkpointing: true
69early_stopping_patience:
70resume_from_checkpoint:
71local_rank:
72logging_steps: 1
73xformers_attention:
74flash_attention: true
75
76loss_watchdog_threshold: 5.0
77loss_watchdog_patience: 3
78
79warmup_steps: 10
80saves_per_epoch: 1
81debug:
82deepspeed:
83weight_decay: 0.0
84fsdp:
85fsdp_config:
86| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.4432 | 0.0069 | 1 | 1.0528 |
| 0.3253 | 0.3322 | 48 | 0.2922 |
| 0.4198 | 0.6644 | 96 | 0.2638 |
| 0.4426 | 0.9965 | 144 | 0.2449 |
| 0.2287 | 1.3253 | 192 | 0.2340 |
| 0.1526 | 1.6574 | 240 | 0.2299 |
| 0.268 | 1.9896 | 288 | 0.2285 |