ToastyPigeon commited on
Commit
2581fb5
·
verified ·
1 Parent(s): 952f043

End of training

Browse files
Files changed (1) hide show
  1. README.md +204 -194
README.md CHANGED
@@ -1,202 +1,212 @@
1
  ---
2
- base_model: Columbidae/Qwen3-30B-A3B-Noisy
3
  library_name: peft
 
 
 
 
 
 
 
 
 
 
4
  ---
5
 
6
- # Model Card for Model ID
7
-
8
- <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
-
12
- ## Model Details
13
-
14
- ### Model Description
15
-
16
- <!-- Provide a longer summary of what this model is. -->
17
-
18
-
19
-
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
-
28
- ### Model Sources [optional]
29
-
30
- <!-- Provide the basic links for the model. -->
31
-
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
-
36
- ## Uses
37
-
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
-
40
- ### Direct Use
41
-
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
-
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
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