Views
No views yet
0.4.11base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
2model_type: LlamaForCausalLM
3tokenizer_type: LlamaTokenizer
4
5load_in_8bit: false
6# I'm training on 4090 GPUs
7# so I'm using 4-bit precision to save on memory
8load_in_4bit: true
9strict: false
10
11data_seed: 42
12seed: 42
13
14datasets:
15 - path: data/sharegpt_isaf_press_releases_ft_train.jsonl
16 type: sharegpt
17 conversation: alpaca
18dataset_prepared_path:
19val_set_size: 0.1
20output_dir: ./outputs/tiny-llama/lora-out-sharegpt
21hub_model_id: strickvl/isafpr-tiny-llama-lora-sharegpt
22
23sequence_len: 4096
24sample_packing: true
25eval_sample_packing: false
26pad_to_sequence_len: true
27
28adapter: lora
29lora_model_dir:
30lora_r: 32
31lora_alpha: 16
32lora_dropout: 0.05
33lora_target_linear: true
34lora_fan_in_fan_out:
35
36wandb_project: isaf_pr_ft
37wandb_entity: strickvl
38wandb_watch:
39wandb_name:
40wandb_log_model:
41
42gradient_accumulation_steps: 4
43micro_batch_size: 2
44num_epochs: 4
45optimizer: adamw_bnb_8bit
46lr_scheduler: cosine
47learning_rate: 0.0002
48
49train_on_inputs: false
50group_by_length: false
51bf16: auto
52fp16:
53tf32: false
54
55gradient_checkpointing: true
56early_stopping_patience:
57resume_from_checkpoint:
58local_rank:
59logging_steps: 1
60xformers_attention:
61flash_attention: true
62
63warmup_steps: 10
64evals_per_epoch: 4
65saves_per_epoch: 1
66debug:
67deepspeed:
68weight_decay: 0.0
69fsdp:
70fsdp_config:
71special_tokens:
72 bos_token: "<s>"
73 eos_token: "</s>"
74| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.7687 | 0.0270 | 1 | 1.7719 |
| 1.0632 | 0.2703 | 10 | 0.9033 |
| 0.1374 | 0.5405 | 20 | 0.1365 |
| 0.0763 | 0.8108 | 30 | 0.0942 |
| 0.0752 | 1.0608 | 40 | 0.0765 |
| 0.0764 | 1.3311 | 50 | 0.0680 |
| 0.0623 | 1.6014 | 60 | 0.0630 |
| 0.0596 | 1.8716 | 70 | 0.0593 |
| 0.0523 | 2.1216 | 80 | 0.0570 |
| 0.0514 | 2.3919 | 90 | 0.0543 |
| 0.0501 | 2.6622 | 100 | 0.0528 |
| 0.0475 | 2.9324 | 110 | 0.0515 |
| 0.0525 | 3.1824 | 120 | 0.0511 |
| 0.0436 | 3.4527 | 130 | 0.0509 |
| 0.0508 | 3.7230 | 140 | 0.0507 |