Views
No views yet
0.6.01base_model: minpeter/Llama-3.2-1B-AlternateTokenizer-tool-chatml
2# revision_of_model: 10f4b4db33e5221f75678044d524bdc2d8b5b056
3
4load_in_8bit: false
5load_in_4bit: true
6strict: false
7
8lora_modules_to_save:
9 - embed_tokens
10 - lm_head
11
12datasets:
13 # - path: teknium/OpenHermes-2.5
14 # type: chat_template
15 # chat_template: chatml
16 # field_messages: conversations
17 # message_field_role: from
18 # message_field_content: value
19 # shards: 800
20
21 - path: minpeter/hermes-function-calling-v1-jsonl
22 data_files:
23 - func-calling-singleturn.jsonl
24 - func-calling.jsonl
25 type: chat_template
26 chat_template: chatml
27 field_messages: conversations
28 message_field_role: from
29 message_field_content: value
30
31 - path: minpeter/hermes-function-calling-v1-jsonl
32 data_files:
33 - glaive-function-calling-5k.jsonl
34 type: chat_template
35 chat_template: chatml
36 field_messages: conversations
37 message_field_role: from
38 message_field_content: value
39
40save_safetensors: true
41auto_resume_from_checkpoints: false
42save_steps: 200
43
44chat_template: chatml
45dataset_prepared_path: last_run_prepared
46val_set_size: 0.05
47output_dir: ./output
48
49adapter: qlora
50lora_model_dir:
51
52sequence_len: 4096
53sample_packing: true
54eval_sample_packing: true
55pad_to_sequence_len: true
56
57lora_r: 32
58lora_alpha: 16
59lora_dropout: 0.05
60lora_fan_in_fan_out:
61lora_target_modules:
62 - gate_proj
63 - down_proj
64 - up_proj
65 - q_proj
66 - v_proj
67 - k_proj
68 - o_proj
69
70wandb_project: "axolotl"
71wandb_entity: "kasfiekfs-e"
72wandb_watch:
73wandb_name:
74wandb_log_model:
75
76gradient_accumulation_steps: 4
77micro_batch_size: 2
78num_epochs: 3
79optimizer: adamw_bnb_8bit
80lr_scheduler: cosine
81learning_rate: 0.0002
82
83train_on_inputs: false
84group_by_length: false
85bf16: auto
86fp16:
87tf32: false
88
89gradient_checkpointing: true
90early_stopping_patience:
91resume_from_checkpoint:
92local_rank:
93logging_steps: 1
94xformers_attention:
95flash_attention: true
96
97loss_watchdog_threshold: 5.0
98loss_watchdog_patience: 3
99
100warmup_steps: 10
101evals_per_epoch: 2
102eval_table_size:
103eval_max_new_tokens: 128
104debug:
105deepspeed:
106weight_decay: 0.0
107fsdp:
108fsdp_config:
109
110special_tokens:
111 bos_token: <|begin_of_text|>
112 eos_token: <|im_end|>
113 pad_token: <|end_of_text|>
114
115# <--- unsloth config --->
116unsloth_lora_mlp: true
117unsloth_lora_qkv: true
118unsloth_lora_o: true
119| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.3359 | 0.0028 | 1 | 1.2171 |
| 0.5638 | 0.4997 | 179 | 0.4399 |
| 0.385 | 0.9993 | 358 | 0.3942 |
| 0.2324 | 1.4969 | 537 | 0.3905 |
| 0.1998 | 1.9965 | 716 | 0.3729 |
| 0.0984 | 2.4941 | 895 | 0.3817 |
| 0.2157 | 2.9937 | 1074 | 0.3821 |