Views
No views yet
0.4.11# Upload the final model to Huggingface
2hub_model_id: byvuong/tinyllama-1.1B_alpaca_2k_lora
3
4# Store the training logs in weights and biases
5wandb_entity: byvuong-org
6wandb_project: tinyllama-1.1B_alpaca_2k_lora
7
8# The rest of this config stays the same:
9base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
10model_type: LlamaForCausalLM
11tokenizer_type: LlamaTokenizer
12
13load_in_8bit: true
14load_in_4bit: false
15strict: false
16
17datasets:
18 - path: mhenrichsen/alpaca_2k_test
19 type: alpaca
20dataset_prepared_path:
21val_set_size: 0.05
22output_dir: ./outputs/lora-out
23
24sequence_len: 4096
25sample_packing: true
26eval_sample_packing: false
27pad_to_sequence_len: true
28
29adapter: lora
30lora_model_dir:
31lora_r: 32
32lora_alpha: 16
33lora_dropout: 0.05
34lora_target_linear: true
35lora_fan_in_fan_out:
36
37gradient_accumulation_steps: 4
38micro_batch_size: 2
39num_epochs: 4
40optimizer: adamw_bnb_8bit
41lr_scheduler: cosine
42learning_rate: 0.0002
43
44train_on_inputs: false
45group_by_length: false
46bf16: auto
47fp16:
48tf32: false
49
50gradient_checkpointing: true
51early_stopping_patience:
52resume_from_checkpoint:
53local_rank:
54logging_steps: 1
55xformers_attention:
56flash_attention: true
57
58warmup_steps: 10
59evals_per_epoch: 4
60saves_per_epoch: 1
61debug:
62deepspeed:
63weight_decay: 0.0
64fsdp:
65fsdp_config:
66special_tokens:| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.4613 | 0.0784 | 1 | 1.4899 |
| 1.385 | 0.2353 | 3 | 1.4862 |
| 1.3665 | 0.4706 | 6 | 1.4402 |
| 1.2691 | 0.7059 | 9 | 1.3409 |
| 1.2269 | 0.9412 | 12 | 1.2944 |
| 1.2531 | 1.1569 | 15 | 1.2793 |
| 1.2266 | 1.3922 | 18 | 1.2552 |
| 1.136 | 1.6275 | 21 | 1.2342 |
| 1.2704 | 1.8627 | 24 | 1.2297 |
| 1.1491 | 2.0784 | 27 | 1.2232 |
| 1.1515 | 2.3137 | 30 | 1.2230 |
| 1.195 | 2.5490 | 33 | 1.2190 |
| 1.1126 | 2.7843 | 36 | 1.2178 |
| 1.1511 | 3.0196 | 39 | 1.2138 |
| 1.1888 | 3.2353 | 42 | 1.2105 |
| 1.1008 | 3.4706 | 45 | 1.2118 |
| 1.1896 | 3.7059 | 48 | 1.2133 |