Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Qwen1.5-4B-Chat-Q2_K.gguf +3 -0
- Qwen1.5-4B-Chat-Q3_K_L.gguf +3 -0
- Qwen1.5-4B-Chat-Q3_K_M.gguf +3 -0
- Qwen1.5-4B-Chat-Q3_K_S.gguf +3 -0
- Qwen1.5-4B-Chat-Q4_0.gguf +3 -0
- Qwen1.5-4B-Chat-Q4_K_M.gguf +3 -0
- Qwen1.5-4B-Chat-Q4_K_S.gguf +3 -0
- Qwen1.5-4B-Chat-Q5_0.gguf +3 -0
- Qwen1.5-4B-Chat-Q5_K_M.gguf +3 -0
- Qwen1.5-4B-Chat-Q5_K_S.gguf +3 -0
- Qwen1.5-4B-Chat-Q6_K.gguf +3 -0
- Qwen1.5-4B-Chat-Q8_0.gguf +3 -0
- README.md +80 -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 |
+
Qwen1.5-4B-Chat-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Qwen1.5-4B-Chat-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Qwen1.5-4B-Chat-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Qwen1.5-4B-Chat-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Qwen1.5-4B-Chat-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Qwen1.5-4B-Chat-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Qwen1.5-4B-Chat-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Qwen1.5-4B-Chat-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Qwen1.5-4B-Chat-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Qwen1.5-4B-Chat-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Qwen1.5-4B-Chat-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Qwen1.5-4B-Chat-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Qwen1.5-4B-Chat-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16d72686b2fca47bcbe2a201a95ff503c872c5be106e3ff472d977c8bafe124e
|
3 |
+
size 1620633280
|
Qwen1.5-4B-Chat-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0fafed34bccb0b255e8c2c1aa2a5fbe85cb4541e2eaf5961b7e8968edd99aaa8
|
3 |
+
size 2174799040
|
Qwen1.5-4B-Chat-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0cda5bc4f54eb8cfce8221ea912e817cc4afdff1d7a3c53eda4f2f143d706928
|
3 |
+
size 2026851520
|
Qwen1.5-4B-Chat-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4ed7465a2bd6bbd38bfcd78417ed0d83d43368aaf7a4417ebd1e900b0398aa2
|
3 |
+
size 1857154240
|
Qwen1.5-4B-Chat-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a3afd1ad5ef4e0378f2f4dc2dd195c8d2b1f450aa1e5e4f8110e2cfc0311e7e
|
3 |
+
size 2330086080
|
Qwen1.5-4B-Chat-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92b0adc78666d2c6942ee9717d43206f5f429aa98c17cf93660c2e498c23b515
|
3 |
+
size 2455116480
|
Qwen1.5-4B-Chat-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12edab30a72f2156a2cf6018490c0ff8ec2d205fc95cd305a34648b30ebccac4
|
3 |
+
size 2344422080
|
Qwen1.5-4B-Chat-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e11bbc60b451748fa80e1a7baa1ee0758cb005be33ada8505e201c5c911ddca
|
3 |
+
size 2775198400
|
Qwen1.5-4B-Chat-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ed7f42c72bab3cf2762318483847c2d34105e1a3be90d094108a622b7785fcf
|
3 |
+
size 2839608000
|
Qwen1.5-4B-Chat-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c9adc6f86b596cd054ac23e49c1970f0bf783e146b2c34594137df16feb23cb
|
3 |
+
size 2775198400
|
Qwen1.5-4B-Chat-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d775fe8abeea4bb5156590da9cf52a8b48c767ac0227dc5f131d9b23a4e6e16
|
3 |
+
size 3248130240
|
Qwen1.5-4B-Chat-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f61f7e4b68be09a25449e65349c232e1955b42920b4da1443c5100aab8198551
|
3 |
+
size 4204735680
|
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
license_name: tongyi-qianwen-research
|
4 |
+
license_link: https://huggingface.co/Qwen/Qwen1.5-4B-Chat/blob/main/LICENSE
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
pipeline_tag: text-generation
|
8 |
+
tags:
|
9 |
+
- chat
|
10 |
+
- TensorBlock
|
11 |
+
- GGUF
|
12 |
+
base_model: Qwen/Qwen1.5-4B-Chat
|
13 |
+
---
|
14 |
+
|
15 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
16 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
17 |
+
</div>
|
18 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
19 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
20 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
21 |
+
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>
|
22 |
+
</p>
|
23 |
+
</div>
|
24 |
+
</div>
|
25 |
+
|
26 |
+
## Qwen/Qwen1.5-4B-Chat - GGUF
|
27 |
+
|
28 |
+
This repo contains GGUF format model files for [Qwen/Qwen1.5-4B-Chat](https://huggingface.co/Qwen/Qwen1.5-4B-Chat).
|
29 |
+
|
30 |
+
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).
|
31 |
+
|
32 |
+
## Prompt template
|
33 |
+
|
34 |
+
```
|
35 |
+
<|im_start|>system
|
36 |
+
{system_prompt}<|im_end|>
|
37 |
+
<|im_start|>user
|
38 |
+
{prompt}<|im_end|>
|
39 |
+
<|im_start|>assistant
|
40 |
+
```
|
41 |
+
|
42 |
+
## Model file specification
|
43 |
+
|
44 |
+
| Filename | Quant type | File Size | Description |
|
45 |
+
| -------- | ---------- | --------- | ----------- |
|
46 |
+
| [Qwen1.5-4B-Chat-Q2_K.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q2_K.gguf) | Q2_K | 1.509 GB | smallest, significant quality loss - not recommended for most purposes |
|
47 |
+
| [Qwen1.5-4B-Chat-Q3_K_S.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q3_K_S.gguf) | Q3_K_S | 1.730 GB | very small, high quality loss |
|
48 |
+
| [Qwen1.5-4B-Chat-Q3_K_M.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q3_K_M.gguf) | Q3_K_M | 1.888 GB | very small, high quality loss |
|
49 |
+
| [Qwen1.5-4B-Chat-Q3_K_L.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q3_K_L.gguf) | Q3_K_L | 2.025 GB | small, substantial quality loss |
|
50 |
+
| [Qwen1.5-4B-Chat-Q4_0.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q4_0.gguf) | Q4_0 | 2.170 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
51 |
+
| [Qwen1.5-4B-Chat-Q4_K_S.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q4_K_S.gguf) | Q4_K_S | 2.183 GB | small, greater quality loss |
|
52 |
+
| [Qwen1.5-4B-Chat-Q4_K_M.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q4_K_M.gguf) | Q4_K_M | 2.287 GB | medium, balanced quality - recommended |
|
53 |
+
| [Qwen1.5-4B-Chat-Q5_0.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q5_0.gguf) | Q5_0 | 2.585 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
54 |
+
| [Qwen1.5-4B-Chat-Q5_K_S.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q5_K_S.gguf) | Q5_K_S | 2.585 GB | large, low quality loss - recommended |
|
55 |
+
| [Qwen1.5-4B-Chat-Q5_K_M.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q5_K_M.gguf) | Q5_K_M | 2.645 GB | large, very low quality loss - recommended |
|
56 |
+
| [Qwen1.5-4B-Chat-Q6_K.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q6_K.gguf) | Q6_K | 3.025 GB | very large, extremely low quality loss |
|
57 |
+
| [Qwen1.5-4B-Chat-Q8_0.gguf](https://huggingface.co/tensorblock/Qwen1.5-4B-Chat-GGUF/tree/main/Qwen1.5-4B-Chat-Q8_0.gguf) | Q8_0 | 3.916 GB | very large, extremely low quality loss - not recommended |
|
58 |
+
|
59 |
+
|
60 |
+
## Downloading instruction
|
61 |
+
|
62 |
+
### Command line
|
63 |
+
|
64 |
+
Firstly, install Huggingface Client
|
65 |
+
|
66 |
+
```shell
|
67 |
+
pip install -U "huggingface_hub[cli]"
|
68 |
+
```
|
69 |
+
|
70 |
+
Then, downoad the individual model file the a local directory
|
71 |
+
|
72 |
+
```shell
|
73 |
+
huggingface-cli download tensorblock/Qwen1.5-4B-Chat-GGUF --include "Qwen1.5-4B-Chat-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
74 |
+
```
|
75 |
+
|
76 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
77 |
+
|
78 |
+
```shell
|
79 |
+
huggingface-cli download tensorblock/Qwen1.5-4B-Chat-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
80 |
+
```
|