Delta-Vector commited on
Commit
67bb12a
·
verified ·
1 Parent(s): 47eda06

Upload 4b.yml

Browse files
Files changed (1) hide show
  1. 4b.yml +94 -0
4b.yml ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # With base > Depth base + ChatML tokens replaced.
2
+ base_model: IntervitensInc/Llama-3.1-Minitron-4B-Width-Base-chatml
3
+ model_type: AutoModelForCausalLM
4
+ tokenizer_type: AutoTokenizer
5
+
6
+ load_in_8bit: false
7
+ load_in_4bit: false
8
+ strict: false
9
+
10
+ ## Including a few datasets i have not used before.
11
+ datasets:
12
+ - path: Mielikki/Erebus-87k
13
+ type: completion
14
+ field: body
15
+ - path: NewEden/Orion-Asstr-Stories-16K
16
+ type: completion
17
+ field: content
18
+ - path: NewEden/Orion-LIT
19
+ type: completion
20
+ field: text
21
+ - path: NewEden/Fujin-Cleaned-Final
22
+ type: completion
23
+ field: text
24
+ shuffle_merged_datasets: true
25
+ val_set_size: 0.0
26
+ output_dir: ./outputs
27
+
28
+ adapter:
29
+ lora_r:
30
+ lora_alpha:
31
+ lora_dropout:
32
+ lora_target_linear:
33
+
34
+ sequence_len: 32768
35
+ sample_packing: true
36
+ eval_sample_packing: false
37
+ pad_to_sequence_len: true
38
+
39
+ plugins:
40
+ - axolotl.integrations.liger.LigerPlugin
41
+ - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
42
+ liger_rope: true
43
+ liger_rms_norm: true
44
+ liger_layer_norm: true
45
+ liger_glu_activation: true
46
+ liger_fused_linear_cross_entropy: false
47
+ cut_cross_entropy: true
48
+
49
+ wandb_project: tavbussy
50
+ wandb_entity:
51
+ wandb_watch:
52
+ wandb_name: Comp-attempt-1
53
+ wandb_log_model:
54
+
55
+
56
+ # Gradient clipping to keep grad norm down. Using the same as QwQ's max grad norm as distributions are similar(or not idr)
57
+ max_grad_norm: 0.2
58
+
59
+
60
+ gradient_accumulation_steps: 1
61
+ micro_batch_size: 2
62
+ num_epochs: 1
63
+ optimizer: adamw_bnb_8bit
64
+ lr_scheduler: cosine
65
+ learning_rate: 0.00001
66
+ weight_decay: 0.02
67
+
68
+ train_on_inputs: false
69
+ group_by_length: false
70
+ bf16: auto
71
+ fp16:
72
+ tf32: true
73
+
74
+ gradient_checkpointing: true
75
+ early_stopping_patience:
76
+ resume_from_checkpoint:
77
+ local_rank:
78
+ logging_steps: 1
79
+ xformers_attention:
80
+ flash_attention: true
81
+
82
+ warmup_ratio: 0.1
83
+ evals_per_epoch: 4
84
+ eval_table_size:
85
+ eval_max_new_tokens: 128
86
+ saves_per_epoch: 1
87
+
88
+ debug:
89
+ deepspeed: deepspeed_configs/zero3_bf16.json
90
+ fsdp:
91
+ fsdp_config:
92
+
93
+ special_tokens:
94
+ pad_token: <|finetune_right_pad_id|>