Views
No views yet
0.11.0.dev01base_model: NousResearch/Meta-Llama-3-8B
2# optionally might have model_type or tokenizer_type
3model_type: LlamaForCausalLM
4tokenizer_type: AutoTokenizer
5# Automatically upload checkpoint and final model to HF
6# hub_model_id: username/custom_model_name
7
8load_in_8bit: true
9load_in_4bit: false
10
11datasets:
12 - path: cfierro/gsm8k_instr
13 type: alpaca
14 - path: cfierro/alpaca-en2fr
15 type: alpaca
16 - path: cfierro/alpaca
17 type: alpaca
18dataset_prepared_path: /workspace/axolotl-datasets/llama3-joint
19val_set_size: 0.05
20output_dir: /workspace/axolotl-outputs/llama3-joint-lora
21
22sequence_len: 4096
23sample_packing: true
24eval_sample_packing: false
25pad_to_sequence_len: true
26
27adapter: lora
28lora_model_dir:
29lora_r: 32
30lora_alpha: 16
31lora_dropout: 0.05
32lora_target_linear: true
33lora_modules_to_save:
34 - embed_tokens
35 - lm_head
36merge_lora: true
37
38wandb_project: weight-diff-ft
39wandb_entity: cfierro
40wandb_watch: all
41wandb_name: llama3-joint-lora
42wandb_log_model: "false"
43hub_model_id: cfierro/llama3-joint-lora
44
45gradient_accumulation_steps: 4
46micro_batch_size: 2
47max_steps: 1000 # 8k examples at most
48optimizer: adamw_bnb_8bit
49lr_scheduler: cosine
50learning_rate: 0.0002
51
52bf16: auto
53tf32: false
54
55gradient_checkpointing: true
56resume_from_checkpoint:
57logging_steps: 1
58flash_attention: true
59
60warmup_steps: 10
61early_stopping_patience: 2
62eval_steps: 60 # bs=4*2 -> eval every 8*60=480 examples
63save_steps: 60 # needed for config validation
64save_total_limit: 1
65load_best_model_at_end: true
66weight_decay: 0.0
67special_tokens:
68 pad_token: <|end_of_text|>
69| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 0 | 0 | 1.4238 |
| 1.1388 | 0.1648 | 60 | 1.1329 |
| 1.1295 | 0.3297 | 120 | 1.0926 |
| 1.0852 | 0.4945 | 180 | 1.0703 |
| 1.049 | 0.6593 | 240 | 1.0543 |
| 1.0753 | 0.8242 | 300 | 1.0378 |
| 1.1431 | 0.9890 | 360 | 1.0185 |
| 0.7739 | 1.1538 | 420 | 1.0436 |
| 0.8243 | 1.3187 | 480 | 1.0331 |