Views
No views yet
0.4.11base_model: meta-llama/Llama-3.1-8B
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4
5load_in_8bit: false
6load_in_4bit: true
7strict: false
8
9datasets:
10 - path: ahmedelgebaly/SQuad_2_Alpaca
11 type: alpaca
12 split: train
13
14test_datasets:
15 - path: ahmedelgebaly/SQuad_2_Alpaca
16 type: alpaca
17 split: validation
18
19dataset_prepared_path:
20output_dir: ./outputs/qlora-out
21
22adapter: qlora
23lora_model_dir:
24
25sequence_len: 4096
26sample_packing: true
27pad_to_sequence_len: true
28
29lora_r: 32
30lora_alpha: 64 #Before it was 16
31lora_dropout: 0.05
32lora_target_modules: #Before it was empty
33 - q_proj
34 - k_proj
35 - v_proj
36 - o_proj
37 - gate_proj
38 - up_proj
39 - down_proj
40lora_target_linear: true
41
42wandb_project: llama-3.1-8b-squadv2_E4_V2
43wandb_entity:
44wandb_watch:
45wandb_name: llama-3.1-8b-squadv2_E4_V2
46wandb_log_model:
47
48hub_model_id: ahmedelgebaly/llama-3.1-8b-squadv2_E4_V2
49
50gradient_accumulation_steps: 4
51micro_batch_size: 4
52num_epochs: 4
53
54optimizer: paged_adamw_32bit
55lr_scheduler: cosine
56learning_rate: 0.0002
57
58train_on_inputs: false
59group_by_length: true #Before it was false
60
61bf16: auto
62tf32: false
63
64gradient_checkpointing: true
65flash_attention: true
66
67warmup_steps: 50 #Before it was 10
68evals_per_epoch: 4
69saves_per_epoch: 1
70
71weight_decay: 0.0
72
73special_tokens:
74 pad_token: "<|end_of_text|>"
75| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 0.0033 | 1 | 1.5437 |
| 0.8948 | 0.2512 | 77 | 0.9273 |
| 0.8751 | 0.5024 | 154 | 0.9183 |
| 0.8723 | 0.7537 | 231 | 0.9172 |
| 0.8445 | 1.0024 | 308 | 0.9164 |
| 0.7323 | 1.2537 | 385 | 0.9468 |
| 0.7386 | 1.5049 | 462 | 0.9497 |
| 0.7407 | 1.7561 | 539 | 0.9481 |
| 0.7162 | 2.0041 | 616 | 0.9552 |
| 0.513 | 2.2553 | 693 | 1.0792 |
| 0.5072 | 2.5065 | 770 | 1.0730 |
| 0.4921 | 2.7577 | 847 | 1.0898 |
| 0.4703 | 3.0057 | 924 | 1.1014 |
| 0.3075 | 3.2569 | 1001 | 1.3195 |
| 0.3152 | 3.5082 | 1078 | 1.3115 |
| 0.316 | 3.7594 | 1155 | 1.3135 |