Views
No views yet
0.4.01base_model: meta-llama/Meta-Llama-3-8B
2model_type: LlamaForCausalLM
3tokenizer_type: AutoTokenizer
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9datasets:
10 - path: ./data/openhermes2_5_10k.jsonl
11 type: sharegpt
12 conversation: chatml
13dataset_prepared_path:
14val_set_size: 0.15
15output_dir: ./lora-output-dir
16hub_model_id: venetis/llama3-8b-hermes-sandals-sample-10k
17
18data_seed: 117
19seed: 117
20
21chat_template: chatml
22adapter: lora
23lora_model_dir:
24lora_r: 32
25lora_alpha: 16
26lora_dropout: 0.05
27lora_target_linear: true
28lora_fan_in_fan_out:
29
30
31sequence_len: 4096
32sample_packing: true
33eval_sample_packing: true
34pad_to_sequence_len: true
35wandb_project: llama-3-8b-hermes-sandals-sample-10k
36wandb_entity: venetispall
37
38gradient_accumulation_steps: 4
39micro_batch_size: 2
40num_epochs: 4
41optimizer: adamw_bnb_8bit
42lr_scheduler: cosine
43learning_rate: 2e-4
44
45train_on_inputs: false
46group_by_length: false
47bf16: auto
48fp16:
49tf32: false
50
51gradient_checkpointing: true
52early_stopping_patience:
53resume_from_checkpoint:
54local_rank:
55logging_steps: 1
56xformers_attention:
57flash_attention: true
58s2_attention:
59
60
61warmup_steps: 10
62evals_per_epoch: 4
63eval_table_size:
64eval_max_new_tokens: 128
65saves_per_epoch: 1
66debug:
67deepspeed:
68weight_decay: 0.0
69fsdp:
70fsdp_config:
71#UPDATES mk2 - added special tokens
72special_tokens:
73 eos_token: "<|im_end|>"
74 pad_token: "<|end_of_text|>"
75tokens:
76 - "<|im_start|>"
77 - "<|im_end|>"
78lora_modules_to_save:
79 - embed_tokens
80 - lm_head
81| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.9567 | 0.0102 | 1 | 1.0036 |
| 0.7583 | 0.2545 | 25 | 0.8184 |
| 0.8226 | 0.5089 | 50 | 0.8238 |
| 0.7471 | 0.7634 | 75 | 0.8094 |
| 0.7339 | 1.0178 | 100 | 0.7954 |
| 0.4737 | 1.2494 | 125 | 0.8393 |
| 0.4723 | 1.5038 | 150 | 0.8395 |
| 0.5529 | 1.7583 | 175 | 0.8327 |
| 0.4288 | 2.0127 | 200 | 0.8277 |
| 0.2476 | 2.2468 | 225 | 0.8617 |
| 0.2566 | 2.5013 | 250 | 0.8676 |
| 0.2787 | 2.7557 | 275 | 0.8654 |
| 0.3477 | 3.0102 | 300 | 0.8648 |
| 0.1912 | 3.2392 | 325 | 0.8909 |
| 0.1868 | 3.4936 | 350 | 0.8912 |
| 0.1864 | 3.7481 | 375 | 0.8913 |