Improve language tag
Browse filesHi! As the model is multilingual, this is a PR to add other languages than English to the language tag to improve the referencing. Note that 29 languages are announced in the README, but only 13 are explicitly listed. I was therefore only able to add these 13 languages.
README.md
CHANGED
|
@@ -1,185 +1,199 @@
|
|
| 1 |
-
---
|
| 2 |
-
library_name: transformers
|
| 3 |
-
license: apache-2.0
|
| 4 |
-
base_model: Qwen/Qwen2.5-7B
|
| 5 |
-
tags:
|
| 6 |
-
- generated_from_trainer
|
| 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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: Qwen/Qwen2.5-7B
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
language:
|
| 8 |
+
- zho
|
| 9 |
+
- eng
|
| 10 |
+
- fra
|
| 11 |
+
- spa
|
| 12 |
+
- por
|
| 13 |
+
- deu
|
| 14 |
+
- ita
|
| 15 |
+
- rus
|
| 16 |
+
- jpn
|
| 17 |
+
- kor
|
| 18 |
+
- vie
|
| 19 |
+
- tha
|
| 20 |
+
- ara
|
| 21 |
+
model-index:
|
| 22 |
+
- name: outputs/out
|
| 23 |
+
results: []
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 27 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 28 |
+
|
| 29 |
+
[<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)
|
| 30 |
+
<details><summary>See axolotl config</summary>
|
| 31 |
+
|
| 32 |
+
axolotl version: `0.4.1`
|
| 33 |
+
```yaml
|
| 34 |
+
base_model: Qwen/Qwen2.5-7B
|
| 35 |
+
model_type: AutoModelForCausalLM
|
| 36 |
+
tokenizer_type: AutoTokenizer
|
| 37 |
+
|
| 38 |
+
load_in_8bit: false
|
| 39 |
+
load_in_4bit: false
|
| 40 |
+
strict: false
|
| 41 |
+
|
| 42 |
+
datasets:
|
| 43 |
+
- path: PocketDoc/Dans-MemoryCore-CoreCurriculum-Small
|
| 44 |
+
type: sharegpt
|
| 45 |
+
conversation: chatml
|
| 46 |
+
- path: NewEden/Kalo-Opus-Instruct-22k-Refusal-Murdered
|
| 47 |
+
type: sharegpt
|
| 48 |
+
conversation: chatml
|
| 49 |
+
- path: Epiculous/Synthstruct-Gens-v1.1-Filtered-n-Cleaned
|
| 50 |
+
type: sharegpt
|
| 51 |
+
conversation: chatml
|
| 52 |
+
- path: NewEden/Gryphe-Sonnet-3.5-35k-Subset
|
| 53 |
+
type: sharegpt
|
| 54 |
+
conversation: chatml
|
| 55 |
+
- path: Nitral-AI/Reasoning-1shot_ShareGPT
|
| 56 |
+
type: sharegpt
|
| 57 |
+
conversation: chatml
|
| 58 |
+
- path: Nitral-AI/GU_Instruct-ShareGPT
|
| 59 |
+
type: sharegpt
|
| 60 |
+
conversation: chatml
|
| 61 |
+
- path: Nitral-AI/Medical_Instruct-ShareGPT
|
| 62 |
+
type: sharegpt
|
| 63 |
+
conversation: chatml
|
| 64 |
+
- path: AquaV/Resistance-Sharegpt
|
| 65 |
+
type: sharegpt
|
| 66 |
+
conversation: chatml
|
| 67 |
+
- path: AquaV/US-Army-Survival-Sharegpt
|
| 68 |
+
type: sharegpt
|
| 69 |
+
conversation: chatml
|
| 70 |
+
- path: Gryphe/Sonnet3.5-SlimOrcaDedupCleaned
|
| 71 |
+
type: sharegpt
|
| 72 |
+
conversation: chatml
|
| 73 |
+
|
| 74 |
+
chat_template: chatml
|
| 75 |
+
|
| 76 |
+
val_set_size: 0.002
|
| 77 |
+
output_dir: ./outputs/out
|
| 78 |
+
|
| 79 |
+
adapter:
|
| 80 |
+
lora_r:
|
| 81 |
+
lora_alpha:
|
| 82 |
+
lora_dropout:
|
| 83 |
+
lora_target_linear:
|
| 84 |
+
|
| 85 |
+
sequence_len: 8192
|
| 86 |
+
sample_packing: true
|
| 87 |
+
eval_sample_packing: false
|
| 88 |
+
pad_to_sequence_len: true
|
| 89 |
+
|
| 90 |
+
plugins:
|
| 91 |
+
- axolotl.integrations.liger.LigerPlugin
|
| 92 |
+
liger_rope: true
|
| 93 |
+
liger_rms_norm: true
|
| 94 |
+
liger_swiglu: true
|
| 95 |
+
liger_fused_linear_cross_entropy: true
|
| 96 |
+
|
| 97 |
+
wandb_project: qwen7B
|
| 98 |
+
wandb_entity:
|
| 99 |
+
wandb_watch:
|
| 100 |
+
wandb_name: qwen7B
|
| 101 |
+
wandb_log_model:
|
| 102 |
+
|
| 103 |
+
gradient_accumulation_steps: 32
|
| 104 |
+
micro_batch_size: 1
|
| 105 |
+
num_epochs: 2
|
| 106 |
+
optimizer: adamw_bnb_8bit
|
| 107 |
+
lr_scheduler: cosine
|
| 108 |
+
learning_rate: 0.00001
|
| 109 |
+
weight_decay: 0.05
|
| 110 |
+
|
| 111 |
+
train_on_inputs: false
|
| 112 |
+
group_by_length: false
|
| 113 |
+
bf16: auto
|
| 114 |
+
fp16:
|
| 115 |
+
tf32: true
|
| 116 |
+
|
| 117 |
+
gradient_checkpointing: true
|
| 118 |
+
early_stopping_patience:
|
| 119 |
+
resume_from_checkpoint:
|
| 120 |
+
local_rank:
|
| 121 |
+
logging_steps: 1
|
| 122 |
+
xformers_attention:
|
| 123 |
+
flash_attention: true
|
| 124 |
+
|
| 125 |
+
warmup_ratio: 0.1
|
| 126 |
+
evals_per_epoch: 4
|
| 127 |
+
eval_table_size:
|
| 128 |
+
eval_max_new_tokens: 128
|
| 129 |
+
saves_per_epoch: 2
|
| 130 |
+
|
| 131 |
+
debug:
|
| 132 |
+
deepspeed:
|
| 133 |
+
fsdp:
|
| 134 |
+
fsdp_config:
|
| 135 |
+
|
| 136 |
+
special_tokens:
|
| 137 |
+
pad_token: <pad>
|
| 138 |
+
|
| 139 |
+
```
|
| 140 |
+
|
| 141 |
+
</details><br>
|
| 142 |
+
|
| 143 |
+
# outputs/out
|
| 144 |
+
|
| 145 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-7B](https://huggingface.co/Qwen/Qwen2.5-7B) on the None dataset.
|
| 146 |
+
It achieves the following results on the evaluation set:
|
| 147 |
+
- Loss: 0.7923
|
| 148 |
+
|
| 149 |
+
## Model description
|
| 150 |
+
|
| 151 |
+
More information needed
|
| 152 |
+
|
| 153 |
+
## Intended uses & limitations
|
| 154 |
+
|
| 155 |
+
More information needed
|
| 156 |
+
|
| 157 |
+
## Training and evaluation data
|
| 158 |
+
|
| 159 |
+
More information needed
|
| 160 |
+
|
| 161 |
+
## Training procedure
|
| 162 |
+
|
| 163 |
+
### Training hyperparameters
|
| 164 |
+
|
| 165 |
+
The following hyperparameters were used during training:
|
| 166 |
+
- learning_rate: 1e-05
|
| 167 |
+
- train_batch_size: 1
|
| 168 |
+
- eval_batch_size: 1
|
| 169 |
+
- seed: 42
|
| 170 |
+
- distributed_type: multi-GPU
|
| 171 |
+
- num_devices: 4
|
| 172 |
+
- gradient_accumulation_steps: 32
|
| 173 |
+
- total_train_batch_size: 128
|
| 174 |
+
- total_eval_batch_size: 4
|
| 175 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 176 |
+
- lr_scheduler_type: cosine
|
| 177 |
+
- lr_scheduler_warmup_steps: 46
|
| 178 |
+
- num_epochs: 2
|
| 179 |
+
|
| 180 |
+
### Training results
|
| 181 |
+
|
| 182 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 183 |
+
|:-------------:|:------:|:----:|:---------------:|
|
| 184 |
+
| 1.0297 | 0.0043 | 1 | 1.1468 |
|
| 185 |
+
| 0.8512 | 0.2515 | 58 | 0.8729 |
|
| 186 |
+
| 0.8496 | 0.5030 | 116 | 0.8193 |
|
| 187 |
+
| 0.8175 | 0.7546 | 174 | 0.8033 |
|
| 188 |
+
| 0.7868 | 1.0041 | 232 | 0.7961 |
|
| 189 |
+
| 0.8119 | 1.2555 | 290 | 0.7934 |
|
| 190 |
+
| 0.799 | 1.5069 | 348 | 0.7926 |
|
| 191 |
+
| 0.7891 | 1.7583 | 406 | 0.7923 |
|
| 192 |
+
|
| 193 |
+
|
| 194 |
+
### Framework versions
|
| 195 |
+
|
| 196 |
+
- Transformers 4.45.0.dev0
|
| 197 |
+
- Pytorch 2.4.0+cu121
|
| 198 |
+
- Datasets 2.21.0
|
| 199 |
+
- Tokenizers 0.19.1
|