Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Qwen2-1.5B-Instruct-Q2_K.gguf +3 -0
- Qwen2-1.5B-Instruct-Q3_K_L.gguf +3 -0
- Qwen2-1.5B-Instruct-Q3_K_M.gguf +3 -0
- Qwen2-1.5B-Instruct-Q3_K_S.gguf +3 -0
- Qwen2-1.5B-Instruct-Q4_0.gguf +3 -0
- Qwen2-1.5B-Instruct-Q4_K_M.gguf +3 -0
- Qwen2-1.5B-Instruct-Q4_K_S.gguf +3 -0
- Qwen2-1.5B-Instruct-Q5_0.gguf +3 -0
- Qwen2-1.5B-Instruct-Q5_K_M.gguf +3 -0
- Qwen2-1.5B-Instruct-Q5_K_S.gguf +3 -0
- Qwen2-1.5B-Instruct-Q6_K.gguf +3 -0
- Qwen2-1.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-1.5B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Qwen2-1.5B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Qwen2-1.5B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Qwen2-1.5B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Qwen2-1.5B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Qwen2-1.5B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Qwen2-1.5B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Qwen2-1.5B-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Qwen2-1.5B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Qwen2-1.5B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Qwen2-1.5B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Qwen2-1.5B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Qwen2-1.5B-Instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3ff3eb56d7692e6613d203f2760dd9f12952080e1c9c450951418bd85914910
|
3 |
+
size 676302272
|
Qwen2-1.5B-Instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ccc79243e3a0f5660c23c25f2f24d07ceede212fa9ae508059ddebccdaa4788
|
3 |
+
size 880160192
|
Qwen2-1.5B-Instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f4976340a49ac830e49c40dfacb92f0a55ab373ca8ba6776b0b75ceab0a9171
|
3 |
+
size 824176064
|
Qwen2-1.5B-Instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3fe491cc3c240b0addd369795fe9e1a375465c3c0dfa0b923d836e2a12cf292
|
3 |
+
size 760942016
|
Qwen2-1.5B-Instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03d6d2e765083789106c27fdd0e9d2aa962288b749d3005a857f04c87c8a426a
|
3 |
+
size 934952384
|
Qwen2-1.5B-Instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:734878b7741d3ed00ce721916f3780a653ba902a59ea93b432cad3e6d45bbef3
|
3 |
+
size 986045888
|
Qwen2-1.5B-Instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66ecd0a39024dc092fc1b8d125115bbdb9158db41de24ba5c5e72f9ee157392d
|
3 |
+
size 940309952
|
Qwen2-1.5B-Instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a2c8c6e2a45edd6dcb43cc99cce9b00f779254384124bbacbd2250db79ec3f5
|
3 |
+
size 1098726848
|
Qwen2-1.5B-Instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:806773691612ddbf47fd9bac19a4227fa8309d84e0cb34d2e8bf05ed747f2daa
|
3 |
+
size 1125047744
|
Qwen2-1.5B-Instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e5fccc6a2e8a7138159d60a2699a033229689f2fff058c71f708af10ef17cd1
|
3 |
+
size 1098726848
|
Qwen2-1.5B-Instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f5125ecde99e44829e07c6c285d203d1d49439fda0ce8bf95fe29f61080f2654
|
3 |
+
size 1272737216
|
Qwen2-1.5B-Instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbf6cdca5d960fdd63158e4aba7d7249c82091d060f6311a9ce120130d549b06
|
3 |
+
size 1646570432
|
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-1.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-1.5B-Instruct - GGUF
|
25 |
+
|
26 |
+
This repo contains GGUF format model files for [Qwen/Qwen2-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2-1.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-1.5B-Instruct-Q2_K.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q2_K.gguf) | Q2_K | 0.630 GB | smallest, significant quality loss - not recommended for most purposes |
|
45 |
+
| [Qwen2-1.5B-Instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q3_K_S.gguf) | Q3_K_S | 0.709 GB | very small, high quality loss |
|
46 |
+
| [Qwen2-1.5B-Instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q3_K_M.gguf) | Q3_K_M | 0.768 GB | very small, high quality loss |
|
47 |
+
| [Qwen2-1.5B-Instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q3_K_L.gguf) | Q3_K_L | 0.820 GB | small, substantial quality loss |
|
48 |
+
| [Qwen2-1.5B-Instruct-Q4_0.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q4_0.gguf) | Q4_0 | 0.871 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
49 |
+
| [Qwen2-1.5B-Instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q4_K_S.gguf) | Q4_K_S | 0.876 GB | small, greater quality loss |
|
50 |
+
| [Qwen2-1.5B-Instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q4_K_M.gguf) | Q4_K_M | 0.918 GB | medium, balanced quality - recommended |
|
51 |
+
| [Qwen2-1.5B-Instruct-Q5_0.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q5_0.gguf) | Q5_0 | 1.023 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
52 |
+
| [Qwen2-1.5B-Instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q5_K_S.gguf) | Q5_K_S | 1.023 GB | large, low quality loss - recommended |
|
53 |
+
| [Qwen2-1.5B-Instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q5_K_M.gguf) | Q5_K_M | 1.048 GB | large, very low quality loss - recommended |
|
54 |
+
| [Qwen2-1.5B-Instruct-Q6_K.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q6_K.gguf) | Q6_K | 1.185 GB | very large, extremely low quality loss |
|
55 |
+
| [Qwen2-1.5B-Instruct-Q8_0.gguf](https://huggingface.co/tensorblock/Qwen2-1.5B-Instruct-GGUF/tree/main/Qwen2-1.5B-Instruct-Q8_0.gguf) | Q8_0 | 1.533 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-1.5B-Instruct-GGUF --include "Qwen2-1.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-1.5B-Instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
78 |
+
```
|