Views
No views yet
0.4.11base_model: meta-llama/Meta-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_SciQ_HotpotQA_Alpaca_Equal
11 type: alpaca
12 split: train
13
14test_datasets:
15 - path: ahmedelgebaly/SQuad_SciQ_HotpotQA_Alpaca_Equal
16 type: alpaca
17 split: validation
18
19dataset_prepared_path:
20output_dir: ./outputs/qlora-out
21
22adapter: qlora
23
24sequence_len: 4096
25sample_packing: true
26pad_to_sequence_len: true
27
28lora_r: 32
29lora_alpha: 64 #Before it was 16
30lora_dropout: 0.05
31lora_target_modules: #Before it was empty
32 - q_proj
33 - k_proj
34 - v_proj
35 - o_proj
36 - gate_proj
37 - up_proj
38 - down_proj
39lora_target_linear: true
40lora_fan_in_fan_out:
41
42wandb_project: llama-3.1-8b-Squad_SciQ_HotpotQA_Equal
43wandb_entity:
44wandb_watch:
45wandb_name: llama-3.1-8b-Squad_SciQ_HotpotQA_Equal
46wandb_log_model:
47
48hub_model_id: ahmedelgebaly/llama-3.1-8b-Squad_SciQ_HotpotQA_Equal
49
50gradient_accumulation_steps: 4
51micro_batch_size: 4
52num_epochs: 1
53optimizer: paged_adamw_32bit
54lr_scheduler: cosine
55learning_rate: 0.0002
56
57train_on_inputs: false
58group_by_length: true #Before it was false
59bf16: auto
60tf32: false
61
62gradient_checkpointing: true
63flash_attention: true
64
65warmup_steps: 50 #Before it was 10
66evals_per_epoch: 4
67saves_per_epoch: 1
68
69weight_decay: 0.0
70
71special_tokens:
72 pad_token: "<|end_of_text|>"
73| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.6636 | 0.0036 | 1 | 1.7171 |
| 0.8594 | 0.2527 | 70 | 0.9233 |
| 0.8714 | 0.5054 | 140 | 0.8953 |
| 0.8217 | 0.7581 | 210 | 0.8763 |