Views
No views yet
0.4.11base_model: meta-llama/Meta-Llama-3.1-8B # same model you originally used
2# Load your previously fine-tuned model as a PEFT adapter
3peft_model: ahmedelgebaly/llama-3.1-8b-squadv2_e3
4model_type: AutoModelForCausalLM
5tokenizer_type: AutoTokenizer
6
7load_in_8bit: false
8load_in_4bit: true
9strict: false
10
11datasets:
12 - path: ahmedelgebaly/SciQ_Alpaca
13 type: alpaca
14 split: train
15
16test_datasets:
17 - path: ahmedelgebaly/SciQ_Alpaca
18 type: alpaca
19 split: validation
20
21dataset_prepared_path:
22output_dir: ./outputs/qlora-out
23
24adapter: qlora
25lora_model_dir:
26
27sequence_len: 4096
28sample_packing: true
29pad_to_sequence_len: true
30
31lora_r: 32
32lora_alpha: 16
33lora_dropout: 0.05
34lora_target_modules:
35lora_target_linear: true
36lora_fan_in_fan_out:
37
38wandb_project: llama-3.1-8b-squadv2_SciQ_e3
39wandb_entity:
40wandb_watch:
41wandb_name: llama-3.1-8b-squadv2-v0_SciQ_e3
42wandb_log_model:
43
44hub_model_id: ahmedelgebaly/llama-3.1-8b-squadv2_SciQ_e3
45
46gradient_accumulation_steps: 4
47micro_batch_size: 4
48num_epochs: 3
49optimizer: paged_adamw_32bit
50lr_scheduler: cosine
51learning_rate: 0.0002
52
53train_on_inputs: false
54group_by_length: false
55bf16: auto
56fp16:
57tf32: false
58
59gradient_checkpointing: true
60early_stopping_patience:
61resume_from_checkpoint:
62local_rank:
63logging_steps: 1
64xformers_attention:
65flash_attention: true
66
67warmup_steps: 10
68evals_per_epoch: 4
69eval_table_size:
70saves_per_epoch: 1
71debug:
72deepspeed:
73weight_decay: 0.0
74fsdp:
75fsdp_config:
76special_tokens:
77 pad_token: "<|end_of_text|>"
78| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.7866 | 0.0305 | 1 | 1.8420 |
| 1.1314 | 0.2443 | 8 | 1.0979 |
| 0.8408 | 0.4885 | 16 | 0.9646 |
| 0.8669 | 0.7328 | 24 | 0.9339 |
| 0.8588 | 0.9771 | 32 | 0.9197 |
| 0.8363 | 1.2137 | 40 | 0.9090 |
| 0.8021 | 1.4580 | 48 | 0.9028 |
| 0.833 | 1.7023 | 56 | 0.8995 |
| 0.8083 | 1.9466 | 64 | 0.8951 |
| 0.8215 | 2.1832 | 72 | 0.8948 |
| 0.824 | 2.4275 | 80 | 0.8945 |
| 0.802 | 2.6718 | 88 | 0.8936 |
| 0.7762 | 2.9160 | 96 | 0.8935 |