Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Qwen2-0.5B-Instruct-Q2_K.gguf +3 -0
- Qwen2-0.5B-Instruct-Q3_K_L.gguf +3 -0
- Qwen2-0.5B-Instruct-Q3_K_M.gguf +3 -0
- Qwen2-0.5B-Instruct-Q3_K_S.gguf +3 -0
- Qwen2-0.5B-Instruct-Q4_0.gguf +3 -0
- Qwen2-0.5B-Instruct-Q4_K_M.gguf +3 -0
- Qwen2-0.5B-Instruct-Q4_K_S.gguf +3 -0
- Qwen2-0.5B-Instruct-Q5_0.gguf +3 -0
- Qwen2-0.5B-Instruct-Q5_K_M.gguf +3 -0
- Qwen2-0.5B-Instruct-Q5_K_S.gguf +3 -0
- Qwen2-0.5B-Instruct-Q6_K.gguf +3 -0
- Qwen2-0.5B-Instruct-Q8_0.gguf +3 -0
- README.md +78 -0
.gitattributes
CHANGED
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
Qwen2-0.5B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Qwen2-0.5B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Qwen2-0.5B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Qwen2-0.5B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Qwen2-0.5B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Qwen2-0.5B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Qwen2-0.5B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Qwen2-0.5B-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Qwen2-0.5B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Qwen2-0.5B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Qwen2-0.5B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Qwen2-0.5B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Qwen2-0.5B-Instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d43596be36813d5ab33d63e896e2f5658cf826c088c61d61eb4f784cd3bd6f7a
|
3 |
+
size 338605024
|
Qwen2-0.5B-Instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02d0ec32b2a9055ed8e5cd77f3ea16f39f4cc0c07598ca7fac38b99f0f51ae13
|
3 |
+
size 369355744
|
Qwen2-0.5B-Instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f08b2aa543d9ba22af59d71f950e1455b2a9aa854056f43fe999cd2b35dba27c
|
3 |
+
size 355464160
|
Qwen2-0.5B-Instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:916dfdaf7c373f0b764eb9127e842638ca7d5b0f31e7ae9140e4b22d6c5e784c
|
3 |
+
size 338260960
|
Qwen2-0.5B-Instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20fb81f3ca87c630d2b9f2e4b1f16af1852be7f46bb1950765acc0a7819abd20
|
3 |
+
size 352152544
|
Qwen2-0.5B-Instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a0f0156fcae03c9634e4baf741255d4c4c298f56fa5f58cee4e5b2968c45a56
|
3 |
+
size 397805536
|
Qwen2-0.5B-Instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:704d9427c332c44864a9d97f9e49828f5e8c29d287bae2aa9a97872b76f4c946
|
3 |
+
size 385469408
|
Qwen2-0.5B-Instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d09ceb8913769e3dc842addf815d8674f97fc4ef16c4dfc5e081baa8d02f79b5
|
3 |
+
size 396880864
|
Qwen2-0.5B-Instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:effa0514900503e1fa76dad557f900e5b3b206853e6c10411c485b6c98ddbfb0
|
3 |
+
size 420083680
|
Qwen2-0.5B-Instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5bbde80c9c103b2d690f7cbee298968edd8b4bd8e84faabe05bd90db48668cd9
|
3 |
+
size 412707808
|
Qwen2-0.5B-Instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a856ce83b8183afb08605ce4ccb59d8be100d439ca8a6a42c71605837a5774e9
|
3 |
+
size 505734112
|
Qwen2-0.5B-Instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d544cadcab036c74814ca2f8783482bae1422670c7c4d320b5c58e2956aca7ba
|
3 |
+
size 531065824
|
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
pipeline_tag: text-generation
|
6 |
+
tags:
|
7 |
+
- chat
|
8 |
+
- TensorBlock
|
9 |
+
- GGUF
|
10 |
+
base_model: Qwen/Qwen2-0.5B-Instruct
|
11 |
+
---
|
12 |
+
|
13 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
14 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
15 |
+
</div>
|
16 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
17 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
18 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
19 |
+
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
|
20 |
+
</p>
|
21 |
+
</div>
|
22 |
+
</div>
|
23 |
+
|
24 |
+
## Qwen/Qwen2-0.5B-Instruct - GGUF
|
25 |
+
|
26 |
+
This repo contains GGUF format model files for [Qwen/Qwen2-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2-0.5B-Instruct).
|
27 |
+
|
28 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
29 |
+
|
30 |
+
## Prompt template
|
31 |
+
|
32 |
+
```
|
33 |
+
<|im_start|>system
|
34 |
+
{system_prompt}<|im_end|>
|
35 |
+
<|im_start|>user
|
36 |
+
{prompt}<|im_end|>
|
37 |
+
<|im_start|>assistant
|
38 |
+
```
|
39 |
+
|
40 |
+
## Model file specification
|
41 |
+
|
42 |
+
| Filename | Quant type | File Size | Description |
|
43 |
+
| -------- | ---------- | --------- | ----------- |
|
44 |
+
| [Qwen2-0.5B-Instruct-Q2_K.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q2_K.gguf) | Q2_K | 0.315 GB | smallest, significant quality loss - not recommended for most purposes |
|
45 |
+
| [Qwen2-0.5B-Instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q3_K_S.gguf) | Q3_K_S | 0.315 GB | very small, high quality loss |
|
46 |
+
| [Qwen2-0.5B-Instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q3_K_M.gguf) | Q3_K_M | 0.331 GB | very small, high quality loss |
|
47 |
+
| [Qwen2-0.5B-Instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q3_K_L.gguf) | Q3_K_L | 0.344 GB | small, substantial quality loss |
|
48 |
+
| [Qwen2-0.5B-Instruct-Q4_0.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q4_0.gguf) | Q4_0 | 0.328 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
49 |
+
| [Qwen2-0.5B-Instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q4_K_S.gguf) | Q4_K_S | 0.359 GB | small, greater quality loss |
|
50 |
+
| [Qwen2-0.5B-Instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q4_K_M.gguf) | Q4_K_M | 0.370 GB | medium, balanced quality - recommended |
|
51 |
+
| [Qwen2-0.5B-Instruct-Q5_0.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q5_0.gguf) | Q5_0 | 0.370 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
52 |
+
| [Qwen2-0.5B-Instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q5_K_S.gguf) | Q5_K_S | 0.384 GB | large, low quality loss - recommended |
|
53 |
+
| [Qwen2-0.5B-Instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q5_K_M.gguf) | Q5_K_M | 0.391 GB | large, very low quality loss - recommended |
|
54 |
+
| [Qwen2-0.5B-Instruct-Q6_K.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q6_K.gguf) | Q6_K | 0.471 GB | very large, extremely low quality loss |
|
55 |
+
| [Qwen2-0.5B-Instruct-Q8_0.gguf](https://huggingface.co/tensorblock/Qwen2-0.5B-Instruct-GGUF/tree/main/Qwen2-0.5B-Instruct-Q8_0.gguf) | Q8_0 | 0.495 GB | very large, extremely low quality loss - not recommended |
|
56 |
+
|
57 |
+
|
58 |
+
## Downloading instruction
|
59 |
+
|
60 |
+
### Command line
|
61 |
+
|
62 |
+
Firstly, install Huggingface Client
|
63 |
+
|
64 |
+
```shell
|
65 |
+
pip install -U "huggingface_hub[cli]"
|
66 |
+
```
|
67 |
+
|
68 |
+
Then, downoad the individual model file the a local directory
|
69 |
+
|
70 |
+
```shell
|
71 |
+
huggingface-cli download tensorblock/Qwen2-0.5B-Instruct-GGUF --include "Qwen2-0.5B-Instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
72 |
+
```
|
73 |
+
|
74 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
75 |
+
|
76 |
+
```shell
|
77 |
+
huggingface-cli download tensorblock/Qwen2-0.5B-Instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
78 |
+
```
|