Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +152 -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,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: RedHatAI/granite-3.1-8b-instruct
|
12 |
+
new_version: ibm-granite/granite-3.3-8b-instruct
|
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 |
+
|
19 |
+
[](https://tensorblock.co)
|
20 |
+
[](https://twitter.com/tensorblock_aoi)
|
21 |
+
[](https://discord.gg/Ej5NmeHFf2)
|
22 |
+
[](https://github.com/TensorBlock)
|
23 |
+
[](https://t.me/TensorBlock)
|
24 |
+
|
25 |
+
|
26 |
+
## RedHatAI/granite-3.1-8b-instruct - GGUF
|
27 |
+
|
28 |
+
<div style="text-align: left; margin: 20px 0;">
|
29 |
+
<a href="https://discord.com/invite/Ej5NmeHFf2" style="display: inline-block; padding: 10px 20px; background-color: #5865F2; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
30 |
+
Join our Discord to learn more about what we're building ↗
|
31 |
+
</a>
|
32 |
+
</div>
|
33 |
+
|
34 |
+
This repo contains GGUF format model files for [RedHatAI/granite-3.1-8b-instruct](https://huggingface.co/RedHatAI/granite-3.1-8b-instruct).
|
35 |
+
|
36 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b5753](https://github.com/ggml-org/llama.cpp/commit/73e53dc834c0a2336cd104473af6897197b96277).
|
37 |
+
|
38 |
+
## Our projects
|
39 |
+
<table border="1" cellspacing="0" cellpadding="10">
|
40 |
+
<tr>
|
41 |
+
<th colspan="2" style="font-size: 25px;">Forge</th>
|
42 |
+
</tr>
|
43 |
+
<tr>
|
44 |
+
<th colspan="2">
|
45 |
+
<img src="https://imgur.com/faI5UKh.jpeg" alt="Forge Project" width="900"/>
|
46 |
+
</th>
|
47 |
+
</tr>
|
48 |
+
<tr>
|
49 |
+
<th colspan="2">An OpenAI-compatible multi-provider routing layer.</th>
|
50 |
+
</tr>
|
51 |
+
<tr>
|
52 |
+
<th colspan="2">
|
53 |
+
<a href="https://github.com/TensorBlock/forge" target="_blank" style="
|
54 |
+
display: inline-block;
|
55 |
+
padding: 8px 16px;
|
56 |
+
background-color: #FF7F50;
|
57 |
+
color: white;
|
58 |
+
text-decoration: none;
|
59 |
+
border-radius: 6px;
|
60 |
+
font-weight: bold;
|
61 |
+
font-family: sans-serif;
|
62 |
+
">🚀 Try it now! 🚀</a>
|
63 |
+
</th>
|
64 |
+
</tr>
|
65 |
+
|
66 |
+
<tr>
|
67 |
+
<th style="font-size: 25px;">Awesome MCP Servers</th>
|
68 |
+
<th style="font-size: 25px;">TensorBlock Studio</th>
|
69 |
+
</tr>
|
70 |
+
<tr>
|
71 |
+
<th><img src="https://imgur.com/2Xov7B7.jpeg" alt="MCP Servers" width="450"/></th>
|
72 |
+
<th><img src="https://imgur.com/pJcmF5u.jpeg" alt="Studio" width="450"/></th>
|
73 |
+
</tr>
|
74 |
+
<tr>
|
75 |
+
<th>A comprehensive collection of Model Context Protocol (MCP) servers.</th>
|
76 |
+
<th>A lightweight, open, and extensible multi-LLM interaction studio.</th>
|
77 |
+
</tr>
|
78 |
+
<tr>
|
79 |
+
<th>
|
80 |
+
<a href="https://github.com/TensorBlock/awesome-mcp-servers" target="_blank" style="
|
81 |
+
display: inline-block;
|
82 |
+
padding: 8px 16px;
|
83 |
+
background-color: #FF7F50;
|
84 |
+
color: white;
|
85 |
+
text-decoration: none;
|
86 |
+
border-radius: 6px;
|
87 |
+
font-weight: bold;
|
88 |
+
font-family: sans-serif;
|
89 |
+
">👀 See what we built 👀</a>
|
90 |
+
</th>
|
91 |
+
<th>
|
92 |
+
<a href="https://github.com/TensorBlock/TensorBlock-Studio" target="_blank" style="
|
93 |
+
display: inline-block;
|
94 |
+
padding: 8px 16px;
|
95 |
+
background-color: #FF7F50;
|
96 |
+
color: white;
|
97 |
+
text-decoration: none;
|
98 |
+
border-radius: 6px;
|
99 |
+
font-weight: bold;
|
100 |
+
font-family: sans-serif;
|
101 |
+
">👀 See what we built 👀</a>
|
102 |
+
</th>
|
103 |
+
</tr>
|
104 |
+
</table>
|
105 |
+
|
106 |
+
## Prompt template
|
107 |
+
|
108 |
+
```
|
109 |
+
<|start_of_role|>system<|end_of_role|>{system_prompt}<|end_of_text|>
|
110 |
+
<|start_of_role|>user<|end_of_role|>{prompt}<|end_of_text|>
|
111 |
+
<|start_of_role|>assistant<|end_of_role|>
|
112 |
+
```
|
113 |
+
|
114 |
+
## Model file specification
|
115 |
+
|
116 |
+
| Filename | Quant type | File Size | Description |
|
117 |
+
| -------- | ---------- | --------- | ----------- |
|
118 |
+
| [granite-3.1-8b-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
119 |
+
| [granite-3.1-8b-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
120 |
+
| [granite-3.1-8b-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
121 |
+
| [granite-3.1-8b-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
122 |
+
| [granite-3.1-8b-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
123 |
+
| [granite-3.1-8b-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
124 |
+
| [granite-3.1-8b-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
125 |
+
| [granite-3.1-8b-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
126 |
+
| [granite-3.1-8b-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
127 |
+
| [granite-3.1-8b-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
128 |
+
| [granite-3.1-8b-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
129 |
+
| [granite-3.1-8b-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/RedHatAI_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 |
|
130 |
+
|
131 |
+
|
132 |
+
## Downloading instruction
|
133 |
+
|
134 |
+
### Command line
|
135 |
+
|
136 |
+
Firstly, install Huggingface Client
|
137 |
+
|
138 |
+
```shell
|
139 |
+
pip install -U "huggingface_hub[cli]"
|
140 |
+
```
|
141 |
+
|
142 |
+
Then, downoad the individual model file the a local directory
|
143 |
+
|
144 |
+
```shell
|
145 |
+
huggingface-cli download tensorblock/RedHatAI_granite-3.1-8b-instruct-GGUF --include "granite-3.1-8b-instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
146 |
+
```
|
147 |
+
|
148 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
149 |
+
|
150 |
+
```shell
|
151 |
+
huggingface-cli download tensorblock/RedHatAI_granite-3.1-8b-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
152 |
+
```
|
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:e230ec28ece2b9c1e49328cc160d1d869e00436208d4bb3e79573534ee87f6cf
|
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:39dcd18249dd31257e6d43fd1c3ef8a63e5d4056dc10bc573622701b2d536cd1
|
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:e5465f74220c9ef569f46652ca32f5a21918294fd3d3ef720b8cef7a31ee9baa
|
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:3f4cfba83a5ac4e50a3e09bd1ba542697c9c61057ef6e1e6a953f797bd2f8a23
|
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:79929e09fa4cdc80b58e04b20fa84a9255b03f2fba7b35774b4dacbbcd7fe6ea
|
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:57db26166785971721906377c5c9236963a8f0290d7eaf736da90f59fbd3203f
|
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:af1e049691bb854cf069f8d767b1c053d96e87ffdc896474fbaa3c65826395c6
|
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:0ee4663e37222628fdda628bf5f5eb477aff849751e61e4e8385c15547552719
|
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:b191ebcbe6326f1ce72f29443b50f57f34b6e3e5a86ddc2e0b45170b5dddeef0
|
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:d2e781ca87e61bde8bad5902a3b806bc54f7f2aafdebe30250902181ca4ca464
|
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:0b1236faf6cd7e417503d7c7c219e9d59ac7e3544fb211c9a103538028276431
|
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:c3d957219201532805d12b24bfdbc975ee19d1cd14e96b5b1d4ab495b64b0056
|
3 |
+
size 8684246464
|