Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +83 -0
- granite-3.1-8b-instruct-Q2_K.gguf +3 -0
- granite-3.1-8b-instruct-Q3_K_L.gguf +3 -0
- granite-3.1-8b-instruct-Q3_K_M.gguf +3 -0
- granite-3.1-8b-instruct-Q3_K_S.gguf +3 -0
- granite-3.1-8b-instruct-Q4_0.gguf +3 -0
- granite-3.1-8b-instruct-Q4_K_M.gguf +3 -0
- granite-3.1-8b-instruct-Q4_K_S.gguf +3 -0
- granite-3.1-8b-instruct-Q5_0.gguf +3 -0
- granite-3.1-8b-instruct-Q5_K_M.gguf +3 -0
- granite-3.1-8b-instruct-Q5_K_S.gguf +3 -0
- granite-3.1-8b-instruct-Q6_K.gguf +3 -0
- granite-3.1-8b-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.1-8b-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
granite-3.1-8b-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
granite-3.1-8b-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
granite-3.1-8b-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
granite-3.1-8b-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
granite-3.1-8b-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
granite-3.1-8b-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
granite-3.1-8b-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
granite-3.1-8b-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
granite-3.1-8b-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
granite-3.1-8b-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
granite-3.1-8b-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.1
|
9 |
+
- TensorBlock
|
10 |
+
- GGUF
|
11 |
+
base_model: ibm-granite/granite-3.1-8b-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.1-8b-instruct - GGUF
|
26 |
+
|
27 |
+
This repo contains GGUF format model files for [ibm-granite/granite-3.1-8b-instruct](https://huggingface.co/ibm-granite/granite-3.1-8b-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 b4242](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
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.1-8b-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q2_K.gguf) | Q2_K | 3.104 GB | smallest, significant quality loss - not recommended for most purposes |
|
50 |
+
| [granite-3.1-8b-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q3_K_S.gguf) | Q3_K_S | 3.592 GB | very small, high quality loss |
|
51 |
+
| [granite-3.1-8b-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q3_K_M.gguf) | Q3_K_M | 3.997 GB | very small, high quality loss |
|
52 |
+
| [granite-3.1-8b-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q3_K_L.gguf) | Q3_K_L | 4.349 GB | small, substantial quality loss |
|
53 |
+
| [granite-3.1-8b-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q4_0.gguf) | Q4_0 | 4.651 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
54 |
+
| [granite-3.1-8b-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q4_K_S.gguf) | Q4_K_S | 4.686 GB | small, greater quality loss |
|
55 |
+
| [granite-3.1-8b-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q4_K_M.gguf) | Q4_K_M | 4.943 GB | medium, balanced quality - recommended |
|
56 |
+
| [granite-3.1-8b-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q5_0.gguf) | Q5_0 | 5.647 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
57 |
+
| [granite-3.1-8b-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q5_K_S.gguf) | Q5_K_S | 5.647 GB | large, low quality loss - recommended |
|
58 |
+
| [granite-3.1-8b-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q5_K_M.gguf) | Q5_K_M | 5.797 GB | large, very low quality loss - recommended |
|
59 |
+
| [granite-3.1-8b-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q6_K.gguf) | Q6_K | 6.705 GB | very large, extremely low quality loss |
|
60 |
+
| [granite-3.1-8b-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/granite-3.1-8b-instruct-GGUF/blob/main/granite-3.1-8b-instruct-Q8_0.gguf) | Q8_0 | 8.684 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.1-8b-instruct-GGUF --include "granite-3.1-8b-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.1-8b-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
83 |
+
```
|
granite-3.1-8b-instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:818b32afc401f10648e8e030f2934586e9889d6597ee70def8edba216298c070
|
3 |
+
size 3103590944
|
granite-3.1-8b-instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07b4f9348dcfcb6c098cbb03f93e386fee56c660775d2c53cb184bce9b30bb13
|
3 |
+
size 4349430304
|
granite-3.1-8b-instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0a0111a912f31635d790e0bd5c6024f88378cb218cbe5082955351b16f0438b
|
3 |
+
size 3996584480
|
granite-3.1-8b-instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbda6c4ff97094dd61808845f66e1c8190d2d75441e86bae5680643d8cc2d324
|
3 |
+
size 3592489504
|
granite-3.1-8b-instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa5caf243e32e17570582c744bc72b5502cff3a6e93fdca559910fdbf59f6d14
|
3 |
+
size 4650895904
|
granite-3.1-8b-instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4046b7037611f9f9ae50b56d50e1beb00b220c789697eed68dcd25c3b013c635
|
3 |
+
size 4942858784
|
granite-3.1-8b-instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9d2bc0dd67aacca0eea94efee1005f5a7d76cc4cd4bd63d3da186c57c417e95
|
3 |
+
size 4685761056
|
granite-3.1-8b-instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ca522d72b166fabc3102bb6503c7d43c7ad2b8021c041517662cb53185f61c1
|
3 |
+
size 5647043104
|
granite-3.1-8b-instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:364b1287a3cd19c4709d8d1b915d6a540b66fe773eaff74518910a7e7672199f
|
3 |
+
size 5797448224
|
granite-3.1-8b-instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6243410e3e6dd90f33cecebcaf67eb7c892b2e2ffaf129fac13aa933b9ea29ad
|
3 |
+
size 5647043104
|
granite-3.1-8b-instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32772f079c0d82796e0e5acb6bbee5493f192cb5acefeb61014d25fbfeeb7083
|
3 |
+
size 6705449504
|
granite-3.1-8b-instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e884f9908601703fcb1fefbc6a2d8a5b26cbf2e1a3b406569a494bd84c927f97
|
3 |
+
size 8684246464
|