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,194 +1,204 @@
|
|
1 |
-
---
|
2 |
-
language:
|
3 |
-
-
|
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 |
-
name:
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
name:
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
name:
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
name:
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
name:
|
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- zho
|
4 |
+
- eng
|
5 |
+
- fra
|
6 |
+
- spa
|
7 |
+
- por
|
8 |
+
- deu
|
9 |
+
- ita
|
10 |
+
- rus
|
11 |
+
- jpn
|
12 |
+
- kor
|
13 |
+
- vie
|
14 |
+
- tha
|
15 |
+
- ara
|
16 |
+
license: other
|
17 |
+
library_name: transformers
|
18 |
+
tags:
|
19 |
+
- chat
|
20 |
+
- qwen
|
21 |
+
- qwen2.5
|
22 |
+
- finetune
|
23 |
+
- french
|
24 |
+
- english
|
25 |
+
base_model: Qwen/Qwen2.5-3B
|
26 |
+
datasets:
|
27 |
+
- MaziyarPanahi/french_instruct_sharegpt
|
28 |
+
- arcee-ai/EvolKit-20k
|
29 |
+
license_name: qwen-research
|
30 |
+
license_link: https://huggingface.co/Qwen/Qwen2.5-3B/blob/main/LICENSE
|
31 |
+
pipeline_tag: text-generation
|
32 |
+
inference: false
|
33 |
+
model_creator: MaziyarPanahi
|
34 |
+
quantized_by: MaziyarPanahi
|
35 |
+
model-index:
|
36 |
+
- name: calme-3.2-instruct-3b
|
37 |
+
results:
|
38 |
+
- task:
|
39 |
+
type: text-generation
|
40 |
+
name: Text Generation
|
41 |
+
dataset:
|
42 |
+
name: IFEval (0-Shot)
|
43 |
+
type: HuggingFaceH4/ifeval
|
44 |
+
args:
|
45 |
+
num_few_shot: 0
|
46 |
+
metrics:
|
47 |
+
- type: inst_level_strict_acc and prompt_level_strict_acc
|
48 |
+
value: 55.33
|
49 |
+
name: strict accuracy
|
50 |
+
source:
|
51 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-3.2-instruct-3b
|
52 |
+
name: Open LLM Leaderboard
|
53 |
+
- task:
|
54 |
+
type: text-generation
|
55 |
+
name: Text Generation
|
56 |
+
dataset:
|
57 |
+
name: BBH (3-Shot)
|
58 |
+
type: BBH
|
59 |
+
args:
|
60 |
+
num_few_shot: 3
|
61 |
+
metrics:
|
62 |
+
- type: acc_norm
|
63 |
+
value: 27.98
|
64 |
+
name: normalized accuracy
|
65 |
+
source:
|
66 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-3.2-instruct-3b
|
67 |
+
name: Open LLM Leaderboard
|
68 |
+
- task:
|
69 |
+
type: text-generation
|
70 |
+
name: Text Generation
|
71 |
+
dataset:
|
72 |
+
name: MATH Lvl 5 (4-Shot)
|
73 |
+
type: hendrycks/competition_math
|
74 |
+
args:
|
75 |
+
num_few_shot: 4
|
76 |
+
metrics:
|
77 |
+
- type: exact_match
|
78 |
+
value: 9.89
|
79 |
+
name: exact match
|
80 |
+
source:
|
81 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-3.2-instruct-3b
|
82 |
+
name: Open LLM Leaderboard
|
83 |
+
- task:
|
84 |
+
type: text-generation
|
85 |
+
name: Text Generation
|
86 |
+
dataset:
|
87 |
+
name: GPQA (0-shot)
|
88 |
+
type: Idavidrein/gpqa
|
89 |
+
args:
|
90 |
+
num_few_shot: 0
|
91 |
+
metrics:
|
92 |
+
- type: acc_norm
|
93 |
+
value: 4.47
|
94 |
+
name: acc_norm
|
95 |
+
source:
|
96 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-3.2-instruct-3b
|
97 |
+
name: Open LLM Leaderboard
|
98 |
+
- task:
|
99 |
+
type: text-generation
|
100 |
+
name: Text Generation
|
101 |
+
dataset:
|
102 |
+
name: MuSR (0-shot)
|
103 |
+
type: TAUR-Lab/MuSR
|
104 |
+
args:
|
105 |
+
num_few_shot: 0
|
106 |
+
metrics:
|
107 |
+
- type: acc_norm
|
108 |
+
value: 8.79
|
109 |
+
name: acc_norm
|
110 |
+
source:
|
111 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-3.2-instruct-3b
|
112 |
+
name: Open LLM Leaderboard
|
113 |
+
- task:
|
114 |
+
type: text-generation
|
115 |
+
name: Text Generation
|
116 |
+
dataset:
|
117 |
+
name: MMLU-PRO (5-shot)
|
118 |
+
type: TIGER-Lab/MMLU-Pro
|
119 |
+
config: main
|
120 |
+
split: test
|
121 |
+
args:
|
122 |
+
num_few_shot: 5
|
123 |
+
metrics:
|
124 |
+
- type: acc
|
125 |
+
value: 29.48
|
126 |
+
name: accuracy
|
127 |
+
source:
|
128 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-3.2-instruct-3b
|
129 |
+
name: Open LLM Leaderboard
|
130 |
+
---
|
131 |
+
|
132 |
+
<img src="./calme_3.png" alt="Calme-3 Models" width="800" style="margin-left:'auto' margin-right:'auto' display:'block'"/>
|
133 |
+
|
134 |
+
> [!TIP]
|
135 |
+
> This is avery small model, so it might not perform well for some prompts and may be sensitive to hyper parameters. I would appreciate any feedback to see if I can fix any issues in the next iteration. ❤️
|
136 |
+
>
|
137 |
+
# MaziyarPanahi/calme-3.2-instruct-3b
|
138 |
+
|
139 |
+
This model is an advanced iteration of the powerful `Qwen/Qwen2.5-3B`, specifically fine-tuned to enhance its capabilities in generic domains.
|
140 |
+
|
141 |
+
|
142 |
+
# ⚡ Quantized GGUF
|
143 |
+
|
144 |
+
All GGUF models are available here: [MaziyarPanahi/calme-3.2-instruct-3b-GGUF](https://huggingface.co/MaziyarPanahi/calme-3.2-instruct-3b-GGUF)
|
145 |
+
|
146 |
+
|
147 |
+
# 🏆 [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)
|
148 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_MaziyarPanahi__calme-3.2-instruct-3b)
|
149 |
+
|
150 |
+
| Metric |Value|
|
151 |
+
|-------------------|----:|
|
152 |
+
|Avg. |22.66|
|
153 |
+
|IFEval (0-Shot) |55.33|
|
154 |
+
|BBH (3-Shot) |27.98|
|
155 |
+
|MATH Lvl 5 (4-Shot)| 9.89|
|
156 |
+
|GPQA (0-shot) | 4.47|
|
157 |
+
|MuSR (0-shot) | 8.79|
|
158 |
+
|MMLU-PRO (5-shot) |29.48|
|
159 |
+
|
160 |
+
|
161 |
+
# Prompt Template
|
162 |
+
|
163 |
+
This model uses `ChatML` prompt template:
|
164 |
+
|
165 |
+
```
|
166 |
+
<|im_start|>system
|
167 |
+
{System}
|
168 |
+
<|im_end|>
|
169 |
+
<|im_start|>user
|
170 |
+
{User}
|
171 |
+
<|im_end|>
|
172 |
+
<|im_start|>assistant
|
173 |
+
{Assistant}
|
174 |
+
````
|
175 |
+
|
176 |
+
# How to use
|
177 |
+
|
178 |
+
|
179 |
+
```python
|
180 |
+
|
181 |
+
# Use a pipeline as a high-level helper
|
182 |
+
|
183 |
+
from transformers import pipeline
|
184 |
+
|
185 |
+
messages = [
|
186 |
+
{"role": "user", "content": "Who are you?"},
|
187 |
+
]
|
188 |
+
pipe = pipeline("text-generation", model="MaziyarPanahi/calme-3.2-instruct-3b")
|
189 |
+
pipe(messages)
|
190 |
+
|
191 |
+
|
192 |
+
# Load model directly
|
193 |
+
|
194 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
195 |
+
|
196 |
+
tokenizer = AutoTokenizer.from_pretrained("MaziyarPanahi/calme-3.2-instruct-3b")
|
197 |
+
model = AutoModelForCausalLM.from_pretrained("MaziyarPanahi/calme-3.2-instruct-3b")
|
198 |
+
```
|
199 |
+
|
200 |
+
|
201 |
+
|
202 |
+
# Ethical Considerations
|
203 |
+
|
204 |
+
As with any large language model, users should be aware of potential biases and limitations. We recommend implementing appropriate safeguards and human oversight when deploying this model in production environments.
|