Views
No views yet
0.8.0.dev01base_model: meta-llama/Llama-3.2-1B-Instruct
2# Automatically upload checkpoint and final model to HF
3hub_model_id: AiAF/Pretrained-SCP-1B-QLoRA
4
5load_in_8bit: false
6load_in_4bit: true
7strict: false
8
9datasets:
10 - path: pretraining.jsonl
11 type: completion
12dataset_prepared_path: last_run_prepared
13val_set_size: 0.1
14output_dir: ./outputs/qlora-out/Pretrained-SCP-1B-QLoRA
15
16adapter: qlora
17lora_model_dir:
18
19sequence_len: 2048
20sample_packing: true
21eval_sample_packing: true
22pad_to_sequence_len: true
23
24lora_r: 32
25lora_alpha: 16
26lora_dropout: 0.05
27lora_fan_in_fan_out:
28lora_target_modules:
29 - gate_proj
30 - down_proj
31 - up_proj
32 - q_proj
33 - v_proj
34 - k_proj
35 - o_proj
36
37wandb_project: "LLM-Pretraining"
38wandb_entity:
39wandb_watch: "all"
40wandb_name: "Pretrained-SCP-7B-Instruct"
41wandb_log_model: "false"
42
43gradient_accumulation_steps: 3
44micro_batch_size: 10
45num_epochs: 1
46optimizer: adamw_bnb_8bit
47lr_scheduler: cosine
48learning_rate: 0.0002
49
50train_on_inputs: false
51group_by_length: false
52bf16: auto
53fp16:
54tf32: false
55
56gradient_checkpointing: true
57early_stopping_patience:
58resume_from_checkpoint:
59local_rank:
60logging_steps: 1
61xformers_attention:
62flash_attention: true
63
64loss_watchdog_threshold: 5.0
65loss_watchdog_patience: 3
66
67warmup_steps: 10
68evals_per_epoch: 50
69eval_table_size:
70eval_max_new_tokens: 128
71saves_per_epoch: 10
72debug:
73deepspeed:
74weight_decay: 0.0
75fsdp:
76fsdp_config:
77special_tokens:
78 pad_token: "<|end_of_text|>"
79| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 3.0841 | 0.0020 | 1 | 3.0001 |
| 2.8276 | 0.0215 | 11 | 2.8296 |
| 2.3977 | 0.0431 | 22 | 2.5255 |
| 2.2856 | 0.0646 | 33 | 2.4384 |
| 2.3735 | 0.0862 | 44 | 2.4082 |
| 2.3645 | 0.1077 | 55 | 2.3861 |
| 2.1425 | 0.1292 | 66 | 2.3694 |
| 2.1541 | 0.1508 | 77 | 2.3545 |
| 2.2848 | 0.1723 | 88 | 2.3410 |
| 2.2334 | 0.1939 | 99 | 2.3310 |
| 2.1278 | 0.2154 | 110 | 2.3213 |
| 2.159 | 0.2369 | 121 | 2.3112 |
| 2.1407 | 0.2585 | 132 | 2.3006 |
| 1.9851 | 0.2800 | 143 | 2.2915 |
| 2.0319 | 0.3016 | 154 | 2.2839 |
| 2.2373 | 0.3231 | 165 | 2.2755 |
| 2.1488 | 0.3446 | 176 | 2.2684 |
| 2.0218 | 0.3662 | 187 | 2.2612 |
| 1.9256 | 0.3877 | 198 | 2.2552 |
| 2.0179 | 0.4093 | 209 | 2.2486 |
| 2.0768 | 0.4308 | 220 | 2.2448 |
| 2.1068 | 0.4523 | 231 | 2.2408 |
| 2.1343 | 0.4739 | 242 | 2.2356 |
| 2.2212 | 0.4954 | 253 | 2.2342 |
| 2.0442 | 0.5170 | 264 | 2.2302 |
| 2.0805 | 0.5385 | 275 | 2.2256 |
| 1.9695 | 0.5601 | 286 | 2.2230 |
| 1.8559 | 0.5816 | 297 | 2.2206 |
| 2.0997 | 0.6031 | 308 | 2.2185 |
| 2.0168 | 0.6247 | 319 | 2.2164 |
| 1.9304 | 0.6462 | 330 | 2.2148 |
| 1.9313 | 0.6678 | 341 | 2.2132 |
| 2.1708 | 0.6893 | 352 | 2.2119 |
| 2.0596 | 0.7108 | 363 | 2.2109 |
| 2.1944 | 0.7324 | 374 | 2.2099 |
| 2.0098 | 0.7539 | 385 | 2.2094 |
| 2.0344 | 0.7755 | 396 | 2.2087 |
| 2.1658 | 0.7970 | 407 | 2.2080 |
| 2.1188 | 0.8185 | 418 | 2.2078 |
| 1.879 | 0.8401 | 429 | 2.2072 |
| 1.9652 | 0.8616 | 440 | 2.2068 |
| 2.0429 | 0.8832 | 451 | 2.2066 |
| 2.3038 | 0.9047 | 462 | 2.2064 |
| 2.153 | 0.9262 | 473 | 2.2063 |
| 2.0543 | 0.9478 | 484 | 2.2062 |
| 2.0093 | 0.9693 | 495 | 2.2062 |
| 2.2437 | 0.9909 | 506 | 2.2062 |