Views
No views yet
0.6.01base_model: meta-llama/Llama-3.2-1B
2
3load_in_8bit: false
4load_in_4bit: true
5strict: false
6
7datasets:
8 - path: teknium/OpenHermes-2.5
9 type: chat_template
10 chat_template: chatml
11 field_messages: conversations
12 message_field_role: from
13 message_field_content: value
14 shards: 20
15
16chat_template: chatml
17dataset_prepared_path: last_run_prepared
18val_set_size: 0.1
19output_dir: ./outputs/qlora-out
20
21adapter: qlora
22lora_model_dir:
23
24sequence_len: 2048
25sample_packing: true
26eval_sample_packing: true
27pad_to_sequence_len: true
28
29lora_r: 32
30lora_alpha: 16
31lora_dropout: 0.05
32lora_fan_in_fan_out:
33lora_target_modules:
34 - gate_proj
35 - down_proj
36 - up_proj
37 - q_proj
38 - v_proj
39 - k_proj
40 - o_proj
41
42wandb_project: "axolotl"
43wandb_entity: "kasfiekfs-e"
44wandb_watch:
45wandb_name:
46wandb_log_model:
47
48gradient_accumulation_steps: 4
49micro_batch_size: 2
50num_epochs: 1
51optimizer: adamw_bnb_8bit
52lr_scheduler: cosine
53learning_rate: 0.0002
54
55train_on_inputs: false
56group_by_length: false
57bf16: auto
58fp16:
59tf32: false
60
61gradient_checkpointing: true
62early_stopping_patience:
63resume_from_checkpoint:
64local_rank:
65logging_steps: 1
66xformers_attention:
67flash_attention: true
68
69loss_watchdog_threshold: 5.0
70loss_watchdog_patience: 3
71
72warmup_steps: 10
73evals_per_epoch: 4
74eval_table_size:
75eval_max_new_tokens: 128
76saves_per_epoch: 1
77debug:
78deepspeed:
79weight_decay: 0.0
80fsdp:
81fsdp_config:
82
83tokens:
84 - <|im_start|>
85
86special_tokens:
87 eos_token: <|im_end|>
88 pad_token: <|end_of_text|>
89
90lora_modules_to_save:
91 - lm_head
92 - embed_tokens
93
94# <--- unsloth config --->
95unsloth_lora_mlp: true
96unsloth_lora_qkv: true
97unsloth_lora_o: true| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.4237 | 0.0009 | 1 | 1.3103 |
| 0.8682 | 0.2505 | 271 | 1.0369 |
| 0.9946 | 0.5009 | 542 | 1.0005 |
| 0.916 | 0.7514 | 813 | 0.9762 |