Views
No views yet
0.10.0.dev01base_model: RedHatAI/Sparse-Llama-3.1-8B-2of4
2
3load_in_8bit: false
4load_in_4bit: false
5strict: false
6
7datasets:
8 - path: trl-lib/tldr
9 type:
10 system_prompt: "Give a TL;DR of the following Reddit post."
11 field_system: system
12 field_instruction: prompt
13 field_output: completion
14 format: "<|user|>\n{instruction}\n<|assistant|>\n"
15 no_input_format: "<|user|>\n{instruction}\n<|assistant|>\n"
16 split: train
17
18dataset_prepared_path: last_run_prepared
19output_dir: Sparse-Llama-3.1-8B-2of4-tldr
20
21sequence_len: 4096
22sample_packing: true
23pad_to_sequence_len: true
24eval_sample_packing: true
25
26torch.compile: true
27gradient_accumulation_steps: 1
28micro_batch_size: 1
29num_epochs: 1
30optimizer: adamw_bnb_8bit
31lr_scheduler: cosine
32learning_rate: 1e-5
33max_grad_norm: 1.0
34
35gradient_checkpointing: true
36gradient_checkpointing_kwargs:
37 use_reentrant: false
38
39train_on_inputs: false
40bf16: auto
41fp16:
42tf32: false
43
44early_stopping_patience:
45resume_from_checkpoint:
46logging_steps: 1
47flash_attention: true
48
49warmup_ratio: 0.05
50eval_steps: 0.05
51val_set_size: 0.05
52save_strategy: "best"
53metric_for_best_model: "loss"
54
55debug:
56deepspeed:
57weight_decay: 0.0
58special_tokens:
59 pad_token: "<|end_of_text|>"
60
61seed: 0
62
63plugins:
64 - axolotl.integrations.liger.LigerPlugin
65 - axolotl.integrations.llm_compressor.LLMCompressorPlugin
66
67liger_rope: true
68liger_rms_norm: true
69liger_glu_activation: true
70liger_layer_norm: true
71liger_fused_linear_cross_entropy: true
72
73llmcompressor:
74 recipe:
75 finetuning_stage:
76 finetuning_modifiers:
77 ConstantPruningModifier:
78 targets: [
79 're:.*q_proj.weight',
80 're:.*k_proj.weight',
81 're:.*v_proj.weight',
82 're:.*o_proj.weight',
83 're:.*gate_proj.weight',
84 're:.*up_proj.weight',
85 're:.*down_proj.weight',
86 ]
87 start: 0
88 save_compressed: true| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.4149 | 0.0008 | 1 | 2.2321 |
| 1.9603 | 0.0505 | 67 | 1.8758 |
| 1.8909 | 0.1010 | 134 | 1.8560 |
| 1.8109 | 0.1515 | 201 | 1.8491 |
| 1.7688 | 0.2020 | 268 | 1.8441 |
| 1.8535 | 0.2524 | 335 | 1.8411 |
| 1.773 | 0.3029 | 402 | 1.8381 |
| 1.8349 | 0.3534 | 469 | 1.8360 |
| 1.8382 | 0.4039 | 536 | 1.8342 |
| 1.7975 | 0.4544 | 603 | 1.8328 |
| 1.8171 | 0.5049 | 670 | 1.8317 |
| 1.8309 | 0.5554 | 737 | 1.8309 |
| 1.8158 | 0.6059 | 804 | 1.8303 |
| 1.8684 | 0.6564 | 871 | 1.8298 |
| 1.7743 | 0.7069 | 938 | 1.8296 |
| 1.7132 | 0.7573 | 1005 | 1.8295 |
| 1.7912 | 0.8078 | 1072 | 1.8294 |
| 1.9432 | 0.8583 | 1139 | 1.8295 |
| 1.7789 | 0.9088 | 1206 | 1.8294 |
| 1.8084 | 0.9593 | 1273 | 1.8295 |