Improve language tag
#2
by
lbourdois
- opened
README.md
CHANGED
@@ -1,33 +1,45 @@
|
|
1 |
-
---
|
2 |
-
base_model:
|
3 |
-
- Qwen/Qwen2.5-1.5B
|
4 |
-
language:
|
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model:
|
3 |
+
- Qwen/Qwen2.5-1.5B
|
4 |
+
language:
|
5 |
+
- zho
|
6 |
+
- eng
|
7 |
+
- fra
|
8 |
+
- spa
|
9 |
+
- por
|
10 |
+
- deu
|
11 |
+
- ita
|
12 |
+
- rus
|
13 |
+
- jpn
|
14 |
+
- kor
|
15 |
+
- vie
|
16 |
+
- tha
|
17 |
+
- ara
|
18 |
+
library_name: transformers
|
19 |
+
license: apache-2.0
|
20 |
+
license_link: https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B/blob/main/LICENSE
|
21 |
+
pipeline_tag: text-generation
|
22 |
+
tags:
|
23 |
+
- code
|
24 |
+
- qwen
|
25 |
+
- qwen-coder
|
26 |
+
- codeqwen
|
27 |
+
- mlx
|
28 |
+
---
|
29 |
+
|
30 |
+
# mlx-community/Qwen2.5-Coder-1.5B-4bit
|
31 |
+
|
32 |
+
The Model [mlx-community/Qwen2.5-Coder-1.5B-4bit](https://huggingface.co/mlx-community/Qwen2.5-Coder-1.5B-4bit) was converted to MLX format from [Qwen/Qwen2.5-Coder-1.5B](https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B) using mlx-lm version **0.18.1**.
|
33 |
+
|
34 |
+
## Use with mlx
|
35 |
+
|
36 |
+
```bash
|
37 |
+
pip install mlx-lm
|
38 |
+
```
|
39 |
+
|
40 |
+
```python
|
41 |
+
from mlx_lm import load, generate
|
42 |
+
|
43 |
+
model, tokenizer = load("mlx-community/Qwen2.5-Coder-1.5B-4bit")
|
44 |
+
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
45 |
+
```
|