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,91 +1,102 @@
|
|
1 |
-
---
|
2 |
-
license: other
|
3 |
-
license_name: qwen-research
|
4 |
-
license_link: https://huggingface.co/Qwen/Qwen2.5-3B/blob/main/LICENSE
|
5 |
-
language:
|
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 |
-
from transformers import
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
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.
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
license_name: qwen-research
|
4 |
+
license_link: https://huggingface.co/Qwen/Qwen2.5-3B/blob/main/LICENSE
|
5 |
+
language:
|
6 |
+
- zho
|
7 |
+
- eng
|
8 |
+
- fra
|
9 |
+
- spa
|
10 |
+
- por
|
11 |
+
- deu
|
12 |
+
- ita
|
13 |
+
- rus
|
14 |
+
- jpn
|
15 |
+
- kor
|
16 |
+
- vie
|
17 |
+
- tha
|
18 |
+
- ara
|
19 |
+
pipeline_tag: text-generation
|
20 |
+
tags:
|
21 |
+
- chat
|
22 |
+
- qwen
|
23 |
+
- qwen2.5
|
24 |
+
- finetune
|
25 |
+
- french
|
26 |
+
- legal
|
27 |
+
- loi
|
28 |
+
library_name: transformers
|
29 |
+
inference: false
|
30 |
+
model_creator: MaziyarPanahi
|
31 |
+
quantized_by: MaziyarPanahi
|
32 |
+
base_model: Qwen/Qwen2.5-3B
|
33 |
+
model_name: calme-3.2-baguette-3b
|
34 |
+
datasets:
|
35 |
+
- MaziyarPanahi/calme-legalkit-v0.2
|
36 |
+
---
|
37 |
+
|
38 |
+
<img src="./calme_3.png" alt="Calme-3 Models" width="800" style="margin-left:'auto' margin-right:'auto' display:'block'"/>
|
39 |
+
|
40 |
+
> [!TIP]
|
41 |
+
> 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. ❤️
|
42 |
+
|
43 |
+
|
44 |
+
# MaziyarPanahi/calme-3.2-baguette-3b
|
45 |
+
|
46 |
+
This model is an advanced iteration of the powerful `Qwen/Qwen2.5-3B`, specifically fine-tuned to enhance its capabilities in French Legal domain.
|
47 |
+
|
48 |
+
|
49 |
+
# ⚡ Quantized GGUF
|
50 |
+
|
51 |
+
All GGUF models are available here: [MaziyarPanahi/calme-3.2-baguette-3b-GGUF](https://huggingface.co/MaziyarPanahi/calme-3.2-baguette-3b-GGUF)
|
52 |
+
|
53 |
+
|
54 |
+
# 🏆 [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
55 |
+
|
56 |
+
Leaderboard 2 coming soon!
|
57 |
+
|
58 |
+
|
59 |
+
# Prompt Template
|
60 |
+
|
61 |
+
This model uses `ChatML` prompt template:
|
62 |
+
|
63 |
+
```
|
64 |
+
<|im_start|>system
|
65 |
+
{System}
|
66 |
+
<|im_end|>
|
67 |
+
<|im_start|>user
|
68 |
+
{User}
|
69 |
+
<|im_end|>
|
70 |
+
<|im_start|>assistant
|
71 |
+
{Assistant}
|
72 |
+
````
|
73 |
+
|
74 |
+
# How to use
|
75 |
+
|
76 |
+
|
77 |
+
```python
|
78 |
+
|
79 |
+
# Use a pipeline as a high-level helper
|
80 |
+
|
81 |
+
from transformers import pipeline
|
82 |
+
|
83 |
+
messages = [
|
84 |
+
{"role": "user", "content": "Who are you?"},
|
85 |
+
]
|
86 |
+
pipe = pipeline("text-generation", model="MaziyarPanahi/calme-3.2-baguette-3b")
|
87 |
+
pipe(messages)
|
88 |
+
|
89 |
+
|
90 |
+
# Load model directly
|
91 |
+
|
92 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
93 |
+
|
94 |
+
tokenizer = AutoTokenizer.from_pretrained("MaziyarPanahi/calme-3.2-baguette-3b")
|
95 |
+
model = AutoModelForCausalLM.from_pretrained("MaziyarPanahi/calme-3.2-baguette-3b")
|
96 |
+
```
|
97 |
+
|
98 |
+
|
99 |
+
|
100 |
+
# Ethical Considerations
|
101 |
+
|
102 |
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.
|