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
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_e1
39wandb_entity:
40wandb_watch:
41wandb_name: llama-3.1-8b-squadv2-v0_SciQ_e1
42wandb_log_model:
43
44hub_model_id: ahmedelgebaly/llama-3.1-8b-squadv2_SciQ_e1
45
46gradient_accumulation_steps: 4
47micro_batch_size: 4
48num_epochs: 1
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.1313 | 0.2443 | 8 | 1.0968 |
| 0.841 | 0.4885 | 16 | 0.9655 |
| 0.8722 | 0.7328 | 24 | 0.9415 |
| 0.8736 | 0.9771 | 32 | 0.9369 |