Views
No views yet
0.6.01base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-32B
2# model_type: LlamaForCausalLM
3# processing_class: AutoTokenizer
4
5plugins:
6 - axolotl.integrations.liger.LigerPlugin
7liger_rope: true
8liger_rms_norm: true
9liger_swiglu: true
10liger_fused_linear_cross_entropy: true
11
12load_in_8bit: false
13load_in_4bit: true
14strict: false
15
16chat_template: tokenizer_default
17datasets:
18
19 - path: PaxwellPaxwell/text_formatted_dataset_law_predict
20 type: completion # format from earlier
21 field: text
22
23 - path: PaxwellPaxwell/law_documents_civil_text_ready_train
24 type: completion # format from earlier
25 field: text
26
27 - path: PaxwellPaxwell/law_documents_criminal_text_ready_train
28 type: completion # format from earlier
29 field: text
30
31 # - path: PaxwellPaxwell/law_documents_criminal_text_2_ready_train
32 # type: completion # format from earlier
33 # field: text
34
35 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v2_train
36 type: alpaca
37
38 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v2_train
39 type: alpaca
40
41 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v2_train
42 type: chat_template
43 field_messages: messages
44 message_field_role: role
45 message_field_content: content
46 roles:
47 user:
48 - user
49 assistant:
50 - assistant
51
52 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v2_train
53 type: chat_template
54 field_messages: messages
55 message_field_role: role
56 message_field_content: content
57 roles:
58 user:
59 - user
60 assistant:
61 - assistant
62
63 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3_train
64 type: alpaca
65
66 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3_train
67 type: alpaca
68
69 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3.1_train
70 type: alpaca
71
72 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3.1_train
73 type: alpaca
74
75 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3_reason
76 type: alpaca
77
78 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3_reason
79 type: alpaca
80
81 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3.1_reason
82 type: alpaca
83
84 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3.1_reason
85 type: alpaca
86
87 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3.2_reason
88 type: alpaca
89
90 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3.2_reason
91 type: alpaca
92
93 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3.3_reason
94 type: alpaca
95
96 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3.3_reason
97 type: alpaca
98
99 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3_train
100 type: chat_template
101 field_messages: messages
102 message_field_role: role
103 message_field_content: content
104 roles:
105 user:
106 - user
107 assistant:
108 - assistant
109
110 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3_train
111 type: chat_template
112 field_messages: messages
113 message_field_role: role
114 message_field_content: content
115 roles:
116 user:
117 - user
118 assistant:
119 - assistant
120
121 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3.1_train
122 type: chat_template
123 field_messages: messages
124 message_field_role: role
125 message_field_content: content
126 roles:
127 user:
128 - user
129 assistant:
130 - assistant
131
132 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3.1_train
133 type: chat_template
134 field_messages: messages
135 message_field_role: role
136 message_field_content: content
137 roles:
138 user:
139 - user
140 assistant:
141 - assistant
142
143 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3_reason
144 type: chat_template
145 field_messages: messages
146 message_field_role: role
147 message_field_content: content
148 roles:
149 user:
150 - user
151 assistant:
152 - assistant
153
154 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3_reason
155 type: chat_template
156 field_messages: messages
157 message_field_role: role
158 message_field_content: content
159 roles:
160 user:
161 - user
162 assistant:
163 - assistant
164
165 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3.1_reason
166 type: chat_template
167 field_messages: messages
168 message_field_role: role
169 message_field_content: content
170 roles:
171 user:
172 - user
173 assistant:
174 - assistant
175
176 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3.1_reason
177 type: chat_template
178 field_messages: messages
179 message_field_role: role
180 message_field_content: content
181 roles:
182 user:
183 - user
184 assistant:
185 - assistant
186
187 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3.2_reason
188 type: chat_template
189 field_messages: messages
190 message_field_role: role
191 message_field_content: content
192 roles:
193 user:
194 - user
195 assistant:
196 - assistant
197
198 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3.2_reason
199 type: chat_template
200 field_messages: messages
201 message_field_role: role
202 message_field_content: content
203 roles:
204 user:
205 - user
206 assistant:
207 - assistant
208
209 - path: PaxwellPaxwell/law_documents_civil_qa_ready_v3.3_reason
210 type: chat_template
211 field_messages: messages
212 message_field_role: role
213 message_field_content: content
214 roles:
215 user:
216 - user
217 assistant:
218 - assistant
219
220 - path: PaxwellPaxwell/law_documents_criminal_qa_ready_v3.3_reason
221 type: chat_template
222 field_messages: messages
223 message_field_role: role
224 message_field_content: content
225 roles:
226 user:
227 - user
228 assistant:
229 - assistant
230
231dataset_prepared_path: ./workspace/aiLawData/last_run_prepared
232val_set_size: 0.02
233output_dir: ./workspace/aiLawData/outputs/qwen-32b-memo-law-Instruct-lora-r256-v1
234hub_model_id: PaxwellPaxwell/qwen-32b-Memo-law-Instruct-adapter-lora-r256-v1
235sequence_len: 12000
236sample_packing: true
237pad_to_sequence_len: true
238
239adapter: lora
240lora_model_dir:
241lora_r: 256
242lora_alpha: 16
243lora_dropout: 0.05
244lora_target_linear: true
245lora_fan_in_fan_out:
246lora_target_modules:
247 - gate_proj
248 - down_proj
249 - up_proj
250 - q_proj
251 - v_proj
252 - k_proj
253 - o_proj
254
255wandb_project: Ai-Law
256wandb_entity:
257wandb_watch:
258wandb_name: qwen-32b-Memo-law-Instruct-adapter-lora-r256-v1
259wandb_log_model:
260
261gradient_accumulation_steps: 4
262micro_batch_size: 1
263num_epochs: 10
264optimizer: paged_adamw_8bit
265lr_scheduler: cosine
266learning_rate: 0.0002
267auto_resume_from_checkpoints: true
268
269train_on_inputs: false
270group_by_length: false
271bf16: auto
272fp16:
273tf32: false
274
275gradient_checkpointing: true
276early_stopping_patience:
277resume_from_checkpoint:
278logging_steps: 1
279xformers_attention:
280flash_attention: true
281
282warmup_steps: 100
283evals_per_epoch: 2
284eval_table_size:
285saves_per_epoch: 2
286debug:
287deepspeed:
288weight_decay: 0.0
289fsdp:
290fsdp_config:
291special_tokens:
292| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.1799 | 0.0020 | 1 | 1.1722 |
| 0.6044 | 0.4995 | 253 | 0.6105 |
| 0.5819 | 0.9990 | 506 | 0.5499 |
| 0.4995 | 1.4975 | 759 | 0.5053 |
| 0.4317 | 1.9970 | 1012 | 0.4618 |
| 0.4027 | 2.4956 | 1265 | 0.4295 |
| 0.3853 | 2.9951 | 1518 | 0.3894 |
| 0.3118 | 3.4936 | 1771 | 0.3602 |
| 0.2108 | 3.9931 | 2024 | 0.3234 |
| 0.2733 | 2.1213 | 2277 | 0.3511 |
| 0.2498 | 2.3574 | 2530 | 0.3214 |
| 0.202 | 2.5934 | 2783 | 0.3020 |
| 0.1511 | 2.8295 | 3036 | 0.2784 |
| 0.0767 | 3.0662 | 3289 | 0.2523 |
| 0.1337 | 3.3023 | 3542 | 0.2431 |
| 0.0918 | 3.5384 | 3795 | 0.2190 |
| 0.0675 | 3.7744 | 4048 | 0.1992 |
| 0.0367 | 4.0112 | 4301 | 0.1823 |
| 0.0613 | 4.2473 | 4554 | 0.1644 |
| 0.0643 | 4.4833 | 4807 | 0.1569 |
| 0.0356 | 4.7194 | 5060 | 0.1406 |
| 0.0513 | 4.9554 | 5313 | 0.1237 |
| 0.0152 | 5.1922 | 5566 | 0.1159 |
| 0.0347 | 5.4329 | 5819 | 0.1069 |
| 0.0232 | 5.6690 | 6072 | 0.1012 |
| 0.0172 | 5.9051 | 6325 | 0.1077 |
| 0.0134 | 6.1390 | 6578 | 0.0939 |
| 0.0087 | 6.3751 | 6831 | 0.0873 |
| 0.0059 | 6.6111 | 7084 | 0.0827 |
| 0.0063 | 6.8500 | 7337 | 0.0785 |
| 0.0056 | 7.0840 | 7590 | 0.0778 |
| 0.0032 | 7.3200 | 7843 | 0.0760 |
| 0.0029 | 7.5561 | 8096 | 0.0753 |
| 0.0066 | 7.7922 | 8349 | 0.0738 |
| 0.0038 | 8.0289 | 8602 | 0.0738 |
| 0.004 | 8.2650 | 8855 | 0.0747 |
| 0.0025 | 8.5010 | 9108 | 0.0742 |
| 0.0057 | 8.7371 | 9361 | 0.0738 |
| 0.0024 | 8.9732 | 9614 | 0.0733 |
| 0.0015 | 9.2109 | 9867 | 0.0745 |
| 0.0017 | 9.4469 | 10120 | 0.0746 |
| 0.0027 | 9.6830 | 10373 | 0.0746 |
| 0.002 | 9.9191 | 10626 | 0.0747 |