Improve language tag
#1
by
lbourdois
- opened
README.md
CHANGED
|
@@ -1,285 +1,299 @@
|
|
| 1 |
-
---
|
| 2 |
-
library_name: transformers
|
| 3 |
-
license: apache-2.0
|
| 4 |
-
base_model: Qwen/Qwen2.5-7B-Instruct
|
| 5 |
-
tags:
|
| 6 |
-
- generated_from_trainer
|
| 7 |
-
datasets:
|
| 8 |
-
- shisa-ai/shisa-v2-best-of-n-athenev2-tulu70b-llama33-only-no-sysprompt
|
| 9 |
-
- shisa-ai/shisa-v2-roleplaying-sft
|
| 10 |
-
- shisa-ai/translation_set_april_6
|
| 11 |
-
- shisa-ai/rewild-set-deepseek-subset
|
| 12 |
-
- shisa-ai/magpie-ultra-set
|
| 13 |
-
- shisa-ai/magpie-advanced-questions-set
|
| 14 |
-
- shisa-ai/japan-magpie-set
|
| 15 |
-
- shisa-ai/shisa-v2-instruction-following-sft
|
| 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 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: Qwen/Qwen2.5-7B-Instruct
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
datasets:
|
| 8 |
+
- shisa-ai/shisa-v2-best-of-n-athenev2-tulu70b-llama33-only-no-sysprompt
|
| 9 |
+
- shisa-ai/shisa-v2-roleplaying-sft
|
| 10 |
+
- shisa-ai/translation_set_april_6
|
| 11 |
+
- shisa-ai/rewild-set-deepseek-subset
|
| 12 |
+
- shisa-ai/magpie-ultra-set
|
| 13 |
+
- shisa-ai/magpie-advanced-questions-set
|
| 14 |
+
- shisa-ai/japan-magpie-set
|
| 15 |
+
- shisa-ai/shisa-v2-instruction-following-sft
|
| 16 |
+
language:
|
| 17 |
+
- zho
|
| 18 |
+
- eng
|
| 19 |
+
- fra
|
| 20 |
+
- spa
|
| 21 |
+
- por
|
| 22 |
+
- deu
|
| 23 |
+
- ita
|
| 24 |
+
- rus
|
| 25 |
+
- jpn
|
| 26 |
+
- kor
|
| 27 |
+
- vie
|
| 28 |
+
- tha
|
| 29 |
+
- ara
|
| 30 |
+
model-index:
|
| 31 |
+
- name: outputs/ablation-191-finalsft2-shisa-v2-qwen2.5-7b
|
| 32 |
+
results: []
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 36 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 37 |
+
|
| 38 |
+
[<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)
|
| 39 |
+
<details><summary>See axolotl config</summary>
|
| 40 |
+
|
| 41 |
+
axolotl version: `0.8.0.dev0`
|
| 42 |
+
```yaml
|
| 43 |
+
# train w/ shisa-ai/shisa-v1-athenev2-reannotated-filtered
|
| 44 |
+
|
| 45 |
+
base_model: Qwen/Qwen2.5-7B-Instruct
|
| 46 |
+
|
| 47 |
+
load_in_8bit: false
|
| 48 |
+
load_in_4bit: false
|
| 49 |
+
strict: false
|
| 50 |
+
|
| 51 |
+
# User Liger
|
| 52 |
+
plugins:
|
| 53 |
+
- axolotl.integrations.liger.LigerPlugin
|
| 54 |
+
liger_rope: true
|
| 55 |
+
liger_rms_norm: true
|
| 56 |
+
liger_glu_activation: true
|
| 57 |
+
liger_fused_linear_cross_entropy: true
|
| 58 |
+
|
| 59 |
+
datasets:
|
| 60 |
+
- path: shisa-ai/shisa-v2-best-of-n-athenev2-tulu70b-llama33-only-no-sysprompt
|
| 61 |
+
type: chat_template
|
| 62 |
+
field_messages: conversations
|
| 63 |
+
message_field_role: from
|
| 64 |
+
message_field_content: value
|
| 65 |
+
- path: shisa-ai/shisa-v2-roleplaying-sft
|
| 66 |
+
type: chat_template
|
| 67 |
+
field_messages: conversations
|
| 68 |
+
message_property_mappings:
|
| 69 |
+
role: role
|
| 70 |
+
content: content
|
| 71 |
+
roles:
|
| 72 |
+
system:
|
| 73 |
+
- system
|
| 74 |
+
assistant:
|
| 75 |
+
- gpt
|
| 76 |
+
- model
|
| 77 |
+
- assistant
|
| 78 |
+
user:
|
| 79 |
+
- human
|
| 80 |
+
- user
|
| 81 |
+
roles_to_train: ["assistant"]
|
| 82 |
+
- path: shisa-ai/translation_set_april_6
|
| 83 |
+
split: train[:25%]
|
| 84 |
+
type: chat_template
|
| 85 |
+
field_messages: conversations
|
| 86 |
+
message_property_mappings:
|
| 87 |
+
role: role
|
| 88 |
+
content: content
|
| 89 |
+
roles:
|
| 90 |
+
system:
|
| 91 |
+
- system
|
| 92 |
+
assistant:
|
| 93 |
+
- gpt
|
| 94 |
+
- model
|
| 95 |
+
- assistant
|
| 96 |
+
user:
|
| 97 |
+
- human
|
| 98 |
+
- user
|
| 99 |
+
roles_to_train: ["assistant"]
|
| 100 |
+
- path: shisa-ai/rewild-set-deepseek-subset
|
| 101 |
+
split: train[:25%]
|
| 102 |
+
type: chat_template
|
| 103 |
+
field_messages: conversations
|
| 104 |
+
message_property_mappings:
|
| 105 |
+
role: role
|
| 106 |
+
content: content
|
| 107 |
+
roles:
|
| 108 |
+
system:
|
| 109 |
+
- system
|
| 110 |
+
assistant:
|
| 111 |
+
- gpt
|
| 112 |
+
- model
|
| 113 |
+
- assistant
|
| 114 |
+
user:
|
| 115 |
+
- human
|
| 116 |
+
- user
|
| 117 |
+
roles_to_train: ["assistant"]
|
| 118 |
+
- path: shisa-ai/magpie-ultra-set
|
| 119 |
+
split: train[:8%]
|
| 120 |
+
type: chat_template
|
| 121 |
+
field_messages: conversations
|
| 122 |
+
message_property_mappings:
|
| 123 |
+
role: role
|
| 124 |
+
content: content
|
| 125 |
+
roles:
|
| 126 |
+
system:
|
| 127 |
+
- system
|
| 128 |
+
assistant:
|
| 129 |
+
- gpt
|
| 130 |
+
- model
|
| 131 |
+
- assistant
|
| 132 |
+
user:
|
| 133 |
+
- human
|
| 134 |
+
- user
|
| 135 |
+
roles_to_train: ["assistant"]
|
| 136 |
+
- path: shisa-ai/magpie-advanced-questions-set
|
| 137 |
+
split: train[:8%]
|
| 138 |
+
type: chat_template
|
| 139 |
+
field_messages: conversations
|
| 140 |
+
message_property_mappings:
|
| 141 |
+
role: role
|
| 142 |
+
content: content
|
| 143 |
+
roles:
|
| 144 |
+
system:
|
| 145 |
+
- system
|
| 146 |
+
assistant:
|
| 147 |
+
- gpt
|
| 148 |
+
- model
|
| 149 |
+
- assistant
|
| 150 |
+
user:
|
| 151 |
+
- human
|
| 152 |
+
- user
|
| 153 |
+
roles_to_train: ["assistant"]
|
| 154 |
+
- path: shisa-ai/japan-magpie-set
|
| 155 |
+
split: train
|
| 156 |
+
type: chat_template
|
| 157 |
+
field_messages: conversations
|
| 158 |
+
message_property_mappings:
|
| 159 |
+
role: role
|
| 160 |
+
content: content
|
| 161 |
+
roles:
|
| 162 |
+
system:
|
| 163 |
+
- system
|
| 164 |
+
assistant:
|
| 165 |
+
- gpt
|
| 166 |
+
- model
|
| 167 |
+
- assistant
|
| 168 |
+
user:
|
| 169 |
+
- human
|
| 170 |
+
- user
|
| 171 |
+
roles_to_train: ["assistant"]
|
| 172 |
+
- path: shisa-ai/shisa-v2-instruction-following-sft
|
| 173 |
+
split: train[:50%]
|
| 174 |
+
type: chat_template
|
| 175 |
+
field_messages: conversations
|
| 176 |
+
message_property_mappings:
|
| 177 |
+
role: role
|
| 178 |
+
content: content
|
| 179 |
+
roles:
|
| 180 |
+
system:
|
| 181 |
+
- system
|
| 182 |
+
assistant:
|
| 183 |
+
- gpt
|
| 184 |
+
- model
|
| 185 |
+
- assistant
|
| 186 |
+
user:
|
| 187 |
+
- human
|
| 188 |
+
- user
|
| 189 |
+
roles_to_train: ["assistant"]
|
| 190 |
+
|
| 191 |
+
dataset_prepared_path: last_run_prepared
|
| 192 |
+
val_set_size: 0.05
|
| 193 |
+
output_dir: ./outputs/ablation-191-finalsft2-shisa-v2-qwen2.5-7b
|
| 194 |
+
|
| 195 |
+
sequence_len: 8192
|
| 196 |
+
sample_packing: true
|
| 197 |
+
pad_to_sequence_len: true
|
| 198 |
+
|
| 199 |
+
# marginal difference
|
| 200 |
+
neftune_noise_alpha: 5
|
| 201 |
+
|
| 202 |
+
use_wandb: true
|
| 203 |
+
wandb_project: shisa-v2
|
| 204 |
+
wandb_entity: augmxnt
|
| 205 |
+
wandb_name: ablation-191-finalsft2-shisa-v2-qwen2.5-7b
|
| 206 |
+
|
| 207 |
+
gradient_accumulation_steps: 1
|
| 208 |
+
micro_batch_size: 4
|
| 209 |
+
num_epochs: 3
|
| 210 |
+
optimizer: paged_adamw_8bit
|
| 211 |
+
lr_scheduler: linear
|
| 212 |
+
learning_rate: 1e-5
|
| 213 |
+
|
| 214 |
+
train_on_inputs: false
|
| 215 |
+
group_by_length: false
|
| 216 |
+
bf16: auto
|
| 217 |
+
fp16:
|
| 218 |
+
tf32: false
|
| 219 |
+
|
| 220 |
+
gradient_checkpointing: true
|
| 221 |
+
gradient_checkpointing_kwargs:
|
| 222 |
+
use_reentrant: false
|
| 223 |
+
early_stopping_patience:
|
| 224 |
+
resume_from_checkpoint:
|
| 225 |
+
logging_steps: 1
|
| 226 |
+
xformers_attention:
|
| 227 |
+
flash_attention: true
|
| 228 |
+
|
| 229 |
+
warmup_steps: 100
|
| 230 |
+
evals_per_epoch: 2
|
| 231 |
+
eval_table_size:
|
| 232 |
+
saves_per_epoch: 0
|
| 233 |
+
save_total_limit: 1 # Only store a single checkpoint
|
| 234 |
+
debug:
|
| 235 |
+
deepspeed: zero3_bf16.json
|
| 236 |
+
weight_decay: 1e-4
|
| 237 |
+
fsdp:
|
| 238 |
+
fsdp_config:
|
| 239 |
+
special_tokens:
|
| 240 |
+
|
| 241 |
+
```
|
| 242 |
+
|
| 243 |
+
</details><br>
|
| 244 |
+
|
| 245 |
+
# outputs/ablation-191-finalsft2-shisa-v2-qwen2.5-7b
|
| 246 |
+
|
| 247 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct) on the shisa-ai/shisa-v2-best-of-n-athenev2-tulu70b-llama33-only-no-sysprompt, the shisa-ai/shisa-v2-roleplaying-sft, the shisa-ai/translation_set_april_6, the shisa-ai/rewild-set-deepseek-subset, the shisa-ai/magpie-ultra-set, the shisa-ai/magpie-advanced-questions-set, the shisa-ai/japan-magpie-set and the shisa-ai/shisa-v2-instruction-following-sft datasets.
|
| 248 |
+
It achieves the following results on the evaluation set:
|
| 249 |
+
- Loss: 0.7119
|
| 250 |
+
|
| 251 |
+
## Model description
|
| 252 |
+
|
| 253 |
+
More information needed
|
| 254 |
+
|
| 255 |
+
## Intended uses & limitations
|
| 256 |
+
|
| 257 |
+
More information needed
|
| 258 |
+
|
| 259 |
+
## Training and evaluation data
|
| 260 |
+
|
| 261 |
+
More information needed
|
| 262 |
+
|
| 263 |
+
## Training procedure
|
| 264 |
+
|
| 265 |
+
### Training hyperparameters
|
| 266 |
+
|
| 267 |
+
The following hyperparameters were used during training:
|
| 268 |
+
- learning_rate: 1e-05
|
| 269 |
+
- train_batch_size: 4
|
| 270 |
+
- eval_batch_size: 4
|
| 271 |
+
- seed: 42
|
| 272 |
+
- distributed_type: multi-GPU
|
| 273 |
+
- num_devices: 32
|
| 274 |
+
- total_train_batch_size: 128
|
| 275 |
+
- total_eval_batch_size: 128
|
| 276 |
+
- optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 277 |
+
- lr_scheduler_type: linear
|
| 278 |
+
- lr_scheduler_warmup_steps: 100
|
| 279 |
+
- num_epochs: 3.0
|
| 280 |
+
|
| 281 |
+
### Training results
|
| 282 |
+
|
| 283 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 284 |
+
|:-------------:|:------:|:----:|:---------------:|
|
| 285 |
+
| 1.0667 | 0.0026 | 1 | 1.0905 |
|
| 286 |
+
| 0.7574 | 0.5 | 189 | 0.7749 |
|
| 287 |
+
| 0.7322 | 1.0 | 378 | 0.7368 |
|
| 288 |
+
| 0.6711 | 1.5 | 567 | 0.7233 |
|
| 289 |
+
| 0.6645 | 2.0 | 756 | 0.7122 |
|
| 290 |
+
| 0.6144 | 2.5 | 945 | 0.7146 |
|
| 291 |
+
| 0.6031 | 3.0 | 1134 | 0.7119 |
|
| 292 |
+
|
| 293 |
+
|
| 294 |
+
### Framework versions
|
| 295 |
+
|
| 296 |
+
- Transformers 4.50.0
|
| 297 |
+
- Pytorch 2.6.0+cu124
|
| 298 |
+
- Datasets 3.4.1
|
| 299 |
+
- Tokenizers 0.21.1
|