Views
No views yet
0.10.0.dev01base_model: Heralax/datagen-pretrain-v1-7b-mistralv0.2
2tokenizer_type: AutoTokenizer
3model_type: AutoModelForCausalLM
4is_mistral_derived_model: true
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9datasets:
10 - path: 29_mil_asstr.jsonl
11 ds_type: json
12 type: completion
13 - path: 40mil_gutenberg.jsonl
14 type: completion
15 - path: hle-1_formatted_2mil.jsonl
16 type: completion
17 - path: 11_mil_fineweb.jsonl
18 type: completion
19 - path: multiturn_segments_shard_01.json
20 type: input_output
21 - path: multiturn_segments_shard_02.json
22 type: input_output
23 - path: singleturn_segments_shard_01.json
24 type: input_output
25 - path: singleturn_segments_shard_02.json
26 type: input_output
27 - path: openhermes2_5_shard_01.json
28 type: chat_template
29 chat_template: chatml
30 field_messages: conversations
31 message_field_role: from
32 message_field_content: value
33 roles:
34 user:
35 - human
36 assistant:
37 - gpt
38 system:
39 - system
40 - path: openhermes2_5_shard_02.json
41 type: chat_template
42 chat_template: chatml
43 field_messages: conversations
44 message_field_role: from
45 message_field_content: value
46 roles:
47 user:
48 - human
49 assistant:
50 - gpt
51 system:
52 - system
53 - path: openthoughts-1.parquet
54 type: chat_template
55 chat_template: chatml
56 field_messages: conversations
57 message_field_role: from
58 message_field_content: value
59 roles:
60 user:
61 - user
62 assistant:
63 - assistant
64 system:
65 - system
66 - path: openthoughts-2.parquet
67 type: chat_template
68 chat_template: chatml
69 field_messages: conversations
70 message_field_role: from
71 message_field_content: value
72 roles:
73 user:
74 - user
75 assistant:
76 - assistant
77 system:
78 - system
79 - path: qwq_10million.jsonl
80 type: chat_template
81 chat_template: chatml
82 field_messages: conversations
83 message_field_role: from
84 message_field_content: value
85 roles:
86 user:
87 - human
88 assistant:
89 - gpt
90 system:
91 - system
92 - path: bluemoon-6mil.json
93 type: chat_template
94 chat_template: chatml
95 field_messages: conversations
96 message_field_role: from
97 message_field_content: value
98 roles:
99 user:
100 - human
101 assistant:
102 - gpt
103 system:
104 - system
105dataset_prepared_path: last_run_prepared
106output_dir: ./datagen-pretrain-v1-7b-mistralv0.2
107seed: 11037
108hub_model_id: datagen-sft-1
109hub_strategy: every_save
110
111sequence_len: 20000
112sample_packing: true
113pad_to_sequence_len: false
114shuffle_merged_datasets: true
115
116wandb_project: datagen-pretrain-v1-7b-mistralv0.2
117wandb_entity:
118wandb_watch:
119wandb_run_id:
120wandb_log_model:
121
122
123gradient_accumulation_steps: 50
124micro_batch_size: 3
125eval_batch_size: 1
126num_epochs: 2
127optimizer: paged_adamw_8bit
128lr_scheduler: constant
129learning_rate: 0.000020
130weight_decay: 0
131train_on_inputs: true
132group_by_length: false
133bf16: true
134fp16: false
135tf32: false
136
137gradient_checkpointing: true
138early_stopping_patience:
139resume_from_checkpoint:
140logging_steps: 1
141xformers_attention: false # faster
142flash_attention: true # slower than xformers
143
144chat_template: chatml
145
146# warmup_ratio: 0.5
147# warmup_steps: 0
148auto_resume_from_checkpoints: false
149warmup_ratio: 0.1
150evals_per_epoch: 1
151eval_batch_size: 4
152val_set_size: 0.01
153save_steps: 1000
154eval_sample_packing: false
155save_total_limit: 2 # NOTE you can afford many more saves with this config due to not storing optimizer states like with normal ones I think.
156debug:
157special_tokens:
158 pad_token: "<unk>"
159
160use_liger_kernel: true
161
162
163plugins:
164 - axolotl.integrations.liger.LigerPlugin
165liger_rope: true
166liger_rms_norm: true
167liger_glu_activation: true
168liger_layer_norm: true
169liger_fused_linear_cross_entropy: true
170
171| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.4533 | 0.0018 | 1 | 2.4612 |
| 0.5531 | 0.9999 | 558 | 0.6706 |
| 0.5148 | 1.9981 | 1116 | 0.6304 |