End of training
Browse files
README.md
CHANGED
@@ -1,202 +1,212 @@
|
|
1 |
---
|
2 |
-
base_model: Columbidae/Qwen3-30B-A3B-Noisy
|
3 |
library_name: peft
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
---
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
-
|
149 |
-
|
150 |
-
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
[More Information Needed]
|
196 |
|
197 |
-
## Model Card Contact
|
198 |
|
199 |
-
[More Information Needed]
|
200 |
### Framework versions
|
201 |
|
202 |
-
- PEFT 0.15.2
|
|
|
|
|
|
|
|
|
|
1 |
---
|
|
|
2 |
library_name: peft
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: Columbidae/Qwen3-30B-A3B-Noisy
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- ToastyPigeon/mixed-data-for-qwen
|
10 |
+
model-index:
|
11 |
+
- name: qwen3-30b-noised-iter1
|
12 |
+
results: []
|
13 |
---
|
14 |
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
19 |
+
<details><summary>See axolotl config</summary>
|
20 |
+
|
21 |
+
axolotl version: `0.10.0.dev0`
|
22 |
+
```yaml
|
23 |
+
# === Start-up Commands ===
|
24 |
+
# curl -LsSf https://astral.sh/uv/install.sh | sh
|
25 |
+
# export PATH="$HOME/.local/bin:$PATH"
|
26 |
+
# uv venv
|
27 |
+
# source .venv/bin/activate
|
28 |
+
# git clone https://github.com/axolotl-ai-cloud/axolotl
|
29 |
+
# cd axolotl
|
30 |
+
# uv pip install torch==2.5.1 packaging ninja setuptools ftfy deepspeed huggingface_hub[cli,hf_transfer]
|
31 |
+
# uv pip install "cut-cross-entropy[transformers] @ git+https://github.com/strangedove/ml-cross-entropy.git@gemma3-multimodal"
|
32 |
+
# uv pip install apollo-torch
|
33 |
+
# uv pip install --no-build-isolation -e .[flash-attn]
|
34 |
+
# uv pip install git+https://github.com/huggingface/transformers.git
|
35 |
+
# uv pip install git+https://github.com/linkedin/Liger-Kernel.git
|
36 |
+
# export HF_HUB_ENABLE_HF_TRANSFER=1
|
37 |
+
# huggingface-cli login --token $hf_key && wandb login $wandb_key
|
38 |
+
|
39 |
+
# apt update && apt install -y libopenmpi-dev && curl -LsSf https://astral.sh/uv/install.sh | sh && export PATH="$HOME/.local/bin:$PATH" && git clone https://github.com/axolotl-ai-cloud/axolotl && uv venv && source .venv/bin/activate && cd axolotl && uv pip install torch==2.5.1 packaging ninja mpi4py setuptools ftfy deepspeed huggingface_hub[cli,hf_transfer] && uv pip install apollo-torch && uv pip install "cut-cross-entropy[transformers] @ git+https://github.com/strangedove/ml-cross-entropy.git@qwen3" && uv pip install git+https://github.com/linkedin/Liger-Kernel.git && uv pip install --no-build-isolation -e .[flash-attn] && uv pip install git+https://github.com/huggingface/transformers.git && export HF_HUB_ENABLE_HF_TRANSFER=1 && cd .. && huggingface-cli login --token $hf_key && wandb login $wandb_key
|
40 |
+
|
41 |
+
# === Model Configuration ===
|
42 |
+
base_model: Columbidae/Qwen3-30B-A3B-Noisy
|
43 |
+
load_in_8bit: false
|
44 |
+
load_in_4bit: true
|
45 |
+
|
46 |
+
# === HF Configuration ===
|
47 |
+
hub_model_id: ToastyPigeon/qwen3-30b-noised-iter1
|
48 |
+
hub_strategy: "every_save"
|
49 |
+
|
50 |
+
# === Training Setup ===
|
51 |
+
num_epochs: 1
|
52 |
+
micro_batch_size: 4
|
53 |
+
gradient_accumulation_steps: 2
|
54 |
+
sequence_len: 8192
|
55 |
+
sample_packing: true
|
56 |
+
pad_to_sequence_len: true
|
57 |
+
|
58 |
+
# === Evaluation ===
|
59 |
+
val_set_size: 300
|
60 |
+
evals_per_epoch: 10
|
61 |
+
#eval_table_size:
|
62 |
+
eval_max_new_tokens: 256
|
63 |
+
eval_sample_packing: true
|
64 |
+
#eval_strategy: "no"
|
65 |
+
|
66 |
+
# === LoRA Configuration ===
|
67 |
+
adapter: lora
|
68 |
+
lora_model_dir:
|
69 |
+
lora_r: 32
|
70 |
+
lora_alpha: 32
|
71 |
+
lora_dropout: 0
|
72 |
+
lora_target_linear:
|
73 |
+
lora_fan_in_fan_out:
|
74 |
+
lora_target_modules:
|
75 |
+
- gate_proj
|
76 |
+
- down_proj
|
77 |
+
- up_proj
|
78 |
+
- q_proj
|
79 |
+
- v_proj
|
80 |
+
- k_proj
|
81 |
+
- o_proj
|
82 |
+
|
83 |
+
#lora_mlp_kernel: true
|
84 |
+
#lora_qkv_kernel: true
|
85 |
+
#lora_o_kernel: true
|
86 |
+
|
87 |
+
# === Hyperparameter Configuration ===
|
88 |
+
#optimizer: apollo_adamw_layerwise
|
89 |
+
optimizer: paged_adamw_8bit
|
90 |
+
# Apollo-mini configuration:
|
91 |
+
#optim_args: "proj=random,rank=1,scale=128.0,scale_type=tensor,update_proj_gap=200"
|
92 |
+
# Regular Apollo configuration:
|
93 |
+
# optim_args:
|
94 |
+
#optim_target_modules: all_linear
|
95 |
+
learning_rate: 1e-5
|
96 |
+
lr_scheduler: rex
|
97 |
+
weight_decay: 0.01
|
98 |
+
warmup_steps: 0
|
99 |
+
#warmup_ratio: 0.05
|
100 |
+
|
101 |
+
|
102 |
+
# === Data Configuration ===
|
103 |
+
#chat_template: jinja
|
104 |
+
#chat_template_jinja: "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' + message['content'] | trim + '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}"
|
105 |
+
#special_tokens:
|
106 |
+
# eos_token: "<end_of_turn>"
|
107 |
+
shuffle_merged_datasets: true
|
108 |
+
datasets:
|
109 |
+
- path: ToastyPigeon/mixed-data-for-qwen
|
110 |
+
type: chat_template
|
111 |
+
data_files: mixed_data_for_qwen_part1.json
|
112 |
+
|
113 |
+
dataset_prepared_path: last_run_prepared
|
114 |
+
|
115 |
+
|
116 |
+
# === Plugins ===
|
117 |
+
plugins:
|
118 |
+
- axolotl.integrations.liger.LigerPlugin
|
119 |
+
- axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
|
120 |
+
|
121 |
+
# === Hardware Optimization ===
|
122 |
+
gradient_checkpointing: true
|
123 |
+
#gradient_checkpointing_kwargs:
|
124 |
+
# use_reentrant: true
|
125 |
+
liger_rope: true
|
126 |
+
liger_rms_norm: true
|
127 |
+
liger_glu_activation: true
|
128 |
+
#liger_fused_linear_cross_entropy: true
|
129 |
+
#unsloth_cross_entropy_loss: true
|
130 |
+
cut_cross_entropy: true
|
131 |
+
# Only if using multiple GPUs:
|
132 |
+
#deepspeed: axolotl/deepspeed_configs/zero2.json
|
133 |
+
|
134 |
+
# === Wandb Tracking ===
|
135 |
+
wandb_project: Qwen3MoE
|
136 |
+
# wandb_entity: [WANDB_ENTITY]
|
137 |
+
# wandb_name: [WANDB_RUN_NAME]
|
138 |
+
|
139 |
+
# === Checkpointing ===
|
140 |
+
saves_per_epoch: 10
|
141 |
+
save_total_limit: 1
|
142 |
+
|
143 |
+
# === Advanced Settings ===
|
144 |
+
output_dir: ./ckpts
|
145 |
+
bf16: auto
|
146 |
+
flash_attention: true
|
147 |
+
train_on_inputs: false
|
148 |
+
group_by_length: false
|
149 |
+
save_safetensors: true
|
150 |
+
logging_steps: 1
|
151 |
+
gc_steps: 10
|
152 |
+
seed: 69
|
153 |
+
```
|
154 |
+
|
155 |
+
</details><br>
|
156 |
+
|
157 |
+
# qwen3-30b-noised-iter1
|
158 |
+
|
159 |
+
This model is a fine-tuned version of [Columbidae/Qwen3-30B-A3B-Noisy](https://huggingface.co/Columbidae/Qwen3-30B-A3B-Noisy) on the ToastyPigeon/mixed-data-for-qwen dataset.
|
160 |
+
It achieves the following results on the evaluation set:
|
161 |
+
- Loss: 0.6300
|
162 |
+
|
163 |
+
## Model description
|
164 |
+
|
165 |
+
More information needed
|
166 |
+
|
167 |
+
## Intended uses & limitations
|
168 |
+
|
169 |
+
More information needed
|
170 |
+
|
171 |
+
## Training and evaluation data
|
172 |
+
|
173 |
+
More information needed
|
174 |
+
|
175 |
+
## Training procedure
|
176 |
+
|
177 |
+
### Training hyperparameters
|
178 |
+
|
179 |
+
The following hyperparameters were used during training:
|
180 |
+
- learning_rate: 1e-05
|
181 |
+
- train_batch_size: 4
|
182 |
+
- eval_batch_size: 4
|
183 |
+
- seed: 69
|
184 |
+
- gradient_accumulation_steps: 2
|
185 |
+
- total_train_batch_size: 8
|
186 |
+
- optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
187 |
+
- lr_scheduler_type: cosine
|
188 |
+
- num_epochs: 1.0
|
189 |
+
|
190 |
+
### Training results
|
191 |
+
|
192 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
193 |
+
|:-------------:|:------:|:----:|:---------------:|
|
194 |
+
| 0.7597 | 0.0035 | 1 | 0.8862 |
|
195 |
+
| 0.9744 | 0.1019 | 29 | 0.7604 |
|
196 |
+
| 0.8101 | 0.2039 | 58 | 0.6862 |
|
197 |
+
| 0.7025 | 0.3058 | 87 | 0.6667 |
|
198 |
+
| 0.6058 | 0.4077 | 116 | 0.6552 |
|
199 |
+
| 0.5499 | 0.5097 | 145 | 0.6466 |
|
200 |
+
| 0.494 | 0.6116 | 174 | 0.6404 |
|
201 |
+
| 0.6 | 0.7135 | 203 | 0.6358 |
|
202 |
+
| 0.7872 | 0.8155 | 232 | 0.6325 |
|
203 |
+
| 0.7281 | 0.9174 | 261 | 0.6300 |
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
### Framework versions
|
207 |
|
208 |
+
- PEFT 0.15.2
|
209 |
+
- Transformers 4.52.0.dev0
|
210 |
+
- Pytorch 2.5.1+cu124
|
211 |
+
- Datasets 3.5.0
|
212 |
+
- Tokenizers 0.21.1
|