Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +83 -0
- granite-3.2-2b-instruct-Q2_K.gguf +3 -0
- granite-3.2-2b-instruct-Q3_K_L.gguf +3 -0
- granite-3.2-2b-instruct-Q3_K_M.gguf +3 -0
- granite-3.2-2b-instruct-Q3_K_S.gguf +3 -0
- granite-3.2-2b-instruct-Q4_0.gguf +3 -0
- granite-3.2-2b-instruct-Q4_K_M.gguf +3 -0
- granite-3.2-2b-instruct-Q4_K_S.gguf +3 -0
- granite-3.2-2b-instruct-Q5_0.gguf +3 -0
- granite-3.2-2b-instruct-Q5_K_M.gguf +3 -0
- granite-3.2-2b-instruct-Q5_K_S.gguf +3 -0
- granite-3.2-2b-instruct-Q6_K.gguf +3 -0
- granite-3.2-2b-instruct-Q8_0.gguf +3 -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 |
+
granite-3.2-2b-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
granite-3.2-2b-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
granite-3.2-2b-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
granite-3.2-2b-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
granite-3.2-2b-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
granite-3.2-2b-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
granite-3.2-2b-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
granite-3.2-2b-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
granite-3.2-2b-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
granite-3.2-2b-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
granite-3.2-2b-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
granite-3.2-2b-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: text-generation
|
| 3 |
+
inference: false
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
library_name: transformers
|
| 6 |
+
tags:
|
| 7 |
+
- language
|
| 8 |
+
- granite-3.2
|
| 9 |
+
- TensorBlock
|
| 10 |
+
- GGUF
|
| 11 |
+
base_model: ibm-granite/granite-3.2-2b-instruct
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 15 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 16 |
+
</div>
|
| 17 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 18 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 19 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 20 |
+
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>
|
| 21 |
+
</p>
|
| 22 |
+
</div>
|
| 23 |
+
</div>
|
| 24 |
+
|
| 25 |
+
## ibm-granite/granite-3.2-2b-instruct - GGUF
|
| 26 |
+
|
| 27 |
+
This repo contains GGUF format model files for [ibm-granite/granite-3.2-2b-instruct](https://huggingface.co/ibm-granite/granite-3.2-2b-instruct).
|
| 28 |
+
|
| 29 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4882](https://github.com/ggml-org/llama.cpp/commit/be7c3034108473beda214fd1d7c98fd6a7a3bdf5).
|
| 30 |
+
|
| 31 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 32 |
+
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
| 33 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 34 |
+
</a>
|
| 35 |
+
</div>
|
| 36 |
+
|
| 37 |
+
## Prompt template
|
| 38 |
+
|
| 39 |
+
```
|
| 40 |
+
<|start_of_role|>system<|end_of_role|>{system_prompt}<|end_of_text|>
|
| 41 |
+
<|start_of_role|>user<|end_of_role|>{prompt}<|end_of_text|>
|
| 42 |
+
<|start_of_role|>assistant<|end_of_role|>
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
## Model file specification
|
| 46 |
+
|
| 47 |
+
| Filename | Quant type | File Size | Description |
|
| 48 |
+
| -------- | ---------- | --------- | ----------- |
|
| 49 |
+
| [granite-3.2-2b-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q2_K.gguf) | Q2_K | 0.978 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 50 |
+
| [granite-3.2-2b-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q3_K_S.gguf) | Q3_K_S | 1.130 GB | very small, high quality loss |
|
| 51 |
+
| [granite-3.2-2b-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q3_K_M.gguf) | Q3_K_M | 1.252 GB | very small, high quality loss |
|
| 52 |
+
| [granite-3.2-2b-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q3_K_L.gguf) | Q3_K_L | 1.357 GB | small, substantial quality loss |
|
| 53 |
+
| [granite-3.2-2b-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q4_0.gguf) | Q4_0 | 1.453 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 54 |
+
| [granite-3.2-2b-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q4_K_S.gguf) | Q4_K_S | 1.464 GB | small, greater quality loss |
|
| 55 |
+
| [granite-3.2-2b-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q4_K_M.gguf) | Q4_K_M | 1.545 GB | medium, balanced quality - recommended |
|
| 56 |
+
| [granite-3.2-2b-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q5_0.gguf) | Q5_0 | 1.757 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 57 |
+
| [granite-3.2-2b-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q5_K_S.gguf) | Q5_K_S | 1.757 GB | large, low quality loss - recommended |
|
| 58 |
+
| [granite-3.2-2b-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q5_K_M.gguf) | Q5_K_M | 1.805 GB | large, very low quality loss - recommended |
|
| 59 |
+
| [granite-3.2-2b-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q6_K.gguf) | Q6_K | 2.081 GB | very large, extremely low quality loss |
|
| 60 |
+
| [granite-3.2-2b-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/granite-3.2-2b-instruct-GGUF/blob/main/granite-3.2-2b-instruct-Q8_0.gguf) | Q8_0 | 2.694 GB | very large, extremely low quality loss - not recommended |
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
## Downloading instruction
|
| 64 |
+
|
| 65 |
+
### Command line
|
| 66 |
+
|
| 67 |
+
Firstly, install Huggingface Client
|
| 68 |
+
|
| 69 |
+
```shell
|
| 70 |
+
pip install -U "huggingface_hub[cli]"
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
Then, downoad the individual model file the a local directory
|
| 74 |
+
|
| 75 |
+
```shell
|
| 76 |
+
huggingface-cli download tensorblock/granite-3.2-2b-instruct-GGUF --include "granite-3.2-2b-instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 80 |
+
|
| 81 |
+
```shell
|
| 82 |
+
huggingface-cli download tensorblock/granite-3.2-2b-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 83 |
+
```
|
granite-3.2-2b-instruct-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ecb84cc899a3d2b1e71750a12df125ba22a2ef464051473826cd9f18f630ce5
|
| 3 |
+
size 978246048
|
granite-3.2-2b-instruct-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50e2787a3573800e1fe4fe85a9809a5fdc1d9ccfbfd02954ae17aa2787808a9b
|
| 3 |
+
size 1357371808
|
granite-3.2-2b-instruct-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6f90be3e4039f22480c82fbeeaa77d56def5cd6b1394d11ef26f9fd877b52fb
|
| 3 |
+
size 1251727776
|
granite-3.2-2b-instruct-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ff27fd8b2962b4f50c29d8fbdb1bab04c2a4f6f93bc005c67e71682cf0d7bcd
|
| 3 |
+
size 1130289568
|
granite-3.2-2b-instruct-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:773a0a7851bee9d66a4266ebb46a5c381b7bea546aa55dd7c81b250221105ec0
|
| 3 |
+
size 1453382048
|
granite-3.2-2b-instruct-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc67f4a4bc323c34317e9eb1ed6f0b41c1b4f964f56bf35dc8e5914c92266755
|
| 3 |
+
size 1545296288
|
granite-3.2-2b-instruct-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a02c74960ee5bc8b79f799214a22a8019fbf4e6dfef0ff1bee5294deef4bc17
|
| 3 |
+
size 1464392096
|
granite-3.2-2b-instruct-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8195f005faf9498399c31da0a8b14ebfc6987ed0f56303bf90ca6727aba8f36b
|
| 3 |
+
size 1757469088
|
granite-3.2-2b-instruct-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9da0d3ee8ccfeea2f6e4bb35625ec7f8bb12d6783b1353c5c2146566bfaa7fa3
|
| 3 |
+
size 1804818848
|
granite-3.2-2b-instruct-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09106011dbff34b8d8a43612086215c37a05279beb3953b177dd2a68b2a525f0
|
| 3 |
+
size 1757469088
|
granite-3.2-2b-instruct-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:974bea3bff8ee08e5722f56d42c801652b68a6c0b976ddbd3da35edcc662c0f0
|
| 3 |
+
size 2080561568
|
granite-3.2-2b-instruct-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d0d0deff262799dd6a943c79a76f6e57e79e9f2fb22aa75db48ca944fc03639
|
| 3 |
+
size 2694111072
|