Views
No views yet
0.8.0.dev01base_model: AliMaatouk/LLama-3-8B-Tele
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: ilahgel/train_dataset
13 type: completion
14 field: Statement # <-- colonne question / entrée
15 response_field: Answer # <-- colonne réponse / cible
16
17
18dataset_prepared_path:
19val_set_size: 0.05
20output_dir: ./outputs/lora-out
21
22sequence_len: 4096
23sample_packing: false
24
25
26adapter: lora
27lora_model_dir:
28lora_r: 32
29lora_alpha: 16
30lora_dropout: 0.05
31lora_target_linear: true
32
33wandb_project:
34wandb_entity:
35wandb_watch:
36wandb_name:
37wandb_log_model:
38
39gradient_accumulation_steps: 4
40micro_batch_size: 2
41num_epochs: 6
42optimizer: adamw_bnb_8bit
43lr_scheduler: cosine
44learning_rate: 0.0001
45
46bf16: auto
47tf32: false
48
49gradient_checkpointing: true
50resume_from_checkpoint:
51logging_steps: 1
52flash_attention: true
53
54warmup_ratio: 0.1
55evals_per_epoch: 4
56saves_per_epoch: 1
57weight_decay: 0.0
58
59special_tokens:
60 pad_token: <|end_of_text|>
61 eos_token: <|end_of_text|>
62
63
64# save_first_step: true # uncomment this to validate checkpoint saving works with your config| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 4.4515 | 0.0009 | 1 | 5.3572 |
| 1.106 | 0.2502 | 270 | 1.6036 |
| 0.818 | 0.5003 | 540 | 1.5649 |
| 1.0485 | 0.7505 | 810 | 1.4442 |
| 1.4447 | 1.0 | 1080 | 1.4195 |
| 0.9753 | 1.2502 | 1350 | 1.5863 |
| 0.7307 | 1.5003 | 1620 | 1.4133 |
| 0.6976 | 1.7505 | 1890 | 1.4350 |
| 0.7043 | 2.0 | 2160 | 1.5619 |
| 0.5593 | 2.2502 | 2430 | 1.5128 |
| 0.6806 | 2.5003 | 2700 | 1.5410 |
| 0.5136 | 2.7505 | 2970 | 1.5258 |
| 0.6413 | 3.0 | 3240 | 1.5198 |
| 0.5054 | 3.2502 | 3510 | 1.6675 |
| 0.4392 | 3.5003 | 3780 | 1.6507 |
| 0.511 | 3.7505 | 4050 | 1.7479 |
| 0.4954 | 4.0 | 4320 | 1.6402 |
| 0.396 | 4.2502 | 4590 | 1.8868 |
| 0.4947 | 4.5003 | 4860 | 1.8823 |
| 0.4051 | 4.7505 | 5130 | 1.8906 |
| 0.4297 | 5.0 | 5400 | 1.8975 |
| 0.3414 | 5.2502 | 5670 | 2.0067 |
| 0.377 | 5.5003 | 5940 | 2.0694 |
| 0.3128 | 5.7505 | 6210 | 2.0893 |