Views
No views yet
0.4.11base_model: meta-llama/Meta-Llama-3.1-8B
2lora_model_dir: ahmedelgebaly/llama-3.1-8b-squadv2_E1_V2
3model_type: AutoModelForCausalLM
4tokenizer_type: AutoTokenizer
5
6load_in_8bit: false
7load_in_4bit: true
8strict: false
9
10datasets:
11 - path: ahmedelgebaly/SciQ_Alpaca
12 type: alpaca
13 split: train
14 - path: ahmedelgebaly/SQuad_2_Alpaca
15 type: alpaca
16 split: train
17 percentage: 0.1 # small replay buffer to avoid forgetting
18
19test_datasets:
20 - path: ahmedelgebaly/SciQ_Alpaca
21 type: alpaca
22 split: validation
23
24dataset_prepared_path:
25output_dir: ./outputs/qlora-out
26
27adapter: qlora
28
29sequence_len: 4096
30sample_packing: true
31pad_to_sequence_len: true
32
33lora_r: 32
34lora_alpha: 64 #Before it was 16
35lora_dropout: 0.05
36lora_target_modules: #Before it was empty
37 - q_proj
38 - k_proj
39 - v_proj
40 - o_proj
41 - gate_proj
42 - up_proj
43 - down_proj
44lora_target_linear: true
45lora_fan_in_fan_out:
46
47wandb_project: llama-3.1-8b-squadv2_SciQ_e2_v2
48wandb_entity:
49wandb_watch:
50wandb_name: llama-3.1-8b-squadv2-v0_SciQ_e2_v2
51wandb_log_model:
52
53hub_model_id: ahmedelgebaly/llama-3.1-8b-squadv2_SciQ_E2_V2
54
55gradient_accumulation_steps: 4
56micro_batch_size: 4
57num_epochs: 2
58optimizer: paged_adamw_32bit
59lr_scheduler: cosine
60learning_rate: 0.0002
61
62train_on_inputs: false
63group_by_length: true #Before it was false
64bf16: auto
65tf32: false
66
67gradient_checkpointing: true
68flash_attention: true
69
70warmup_steps: 50 #Before it was 10
71evals_per_epoch: 4
72saves_per_epoch: 1
73
74weight_decay: 0.0
75
76special_tokens:
77 pad_token: "<|end_of_text|>"
78| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 0.0029 | 1 | 2.2993 |
| 0.8102 | 0.2504 | 85 | 0.9110 |
| 0.8141 | 0.5007 | 170 | 0.8933 |
| 0.8189 | 0.7511 | 255 | 0.8846 |
| 0.8188 | 1.0015 | 340 | 0.8763 |
| 0.6354 | 1.2496 | 425 | 0.9022 |
| 0.6568 | 1.5 | 510 | 0.9029 |
| 0.639 | 1.7504 | 595 | 0.8990 |