Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +197 -0
- granite-3.0-8b-instruct-Q2_K.gguf +3 -0
- granite-3.0-8b-instruct-Q3_K_L.gguf +3 -0
- granite-3.0-8b-instruct-Q3_K_M.gguf +3 -0
- granite-3.0-8b-instruct-Q3_K_S.gguf +3 -0
- granite-3.0-8b-instruct-Q4_0.gguf +3 -0
- granite-3.0-8b-instruct-Q4_K_M.gguf +3 -0
- granite-3.0-8b-instruct-Q4_K_S.gguf +3 -0
- granite-3.0-8b-instruct-Q5_0.gguf +3 -0
- granite-3.0-8b-instruct-Q5_K_M.gguf +3 -0
- granite-3.0-8b-instruct-Q5_K_S.gguf +3 -0
- granite-3.0-8b-instruct-Q6_K.gguf +3 -0
- granite-3.0-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.0-8b-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
granite-3.0-8b-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
granite-3.0-8b-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
granite-3.0-8b-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
granite-3.0-8b-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
granite-3.0-8b-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
granite-3.0-8b-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
granite-3.0-8b-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
granite-3.0-8b-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
granite-3.0-8b-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
granite-3.0-8b-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
granite-3.0-8b-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.0
|
9 |
+
- TensorBlock
|
10 |
+
- GGUF
|
11 |
+
base_model: ibm-granite/granite-3.0-8b-instruct
|
12 |
+
model-index:
|
13 |
+
- name: granite-3.0-2b-instruct
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
type: text-generation
|
17 |
+
dataset:
|
18 |
+
name: IFEval
|
19 |
+
type: instruction-following
|
20 |
+
metrics:
|
21 |
+
- type: pass@1
|
22 |
+
value: 52.27
|
23 |
+
name: pass@1
|
24 |
+
- type: pass@1
|
25 |
+
value: 8.22
|
26 |
+
name: pass@1
|
27 |
+
- task:
|
28 |
+
type: text-generation
|
29 |
+
dataset:
|
30 |
+
name: AGI-Eval
|
31 |
+
type: human-exams
|
32 |
+
metrics:
|
33 |
+
- type: pass@1
|
34 |
+
value: 40.52
|
35 |
+
name: pass@1
|
36 |
+
- type: pass@1
|
37 |
+
value: 65.82
|
38 |
+
name: pass@1
|
39 |
+
- type: pass@1
|
40 |
+
value: 34.45
|
41 |
+
name: pass@1
|
42 |
+
- task:
|
43 |
+
type: text-generation
|
44 |
+
dataset:
|
45 |
+
name: OBQA
|
46 |
+
type: commonsense
|
47 |
+
metrics:
|
48 |
+
- type: pass@1
|
49 |
+
value: 46.6
|
50 |
+
name: pass@1
|
51 |
+
- type: pass@1
|
52 |
+
value: 71.21
|
53 |
+
name: pass@1
|
54 |
+
- type: pass@1
|
55 |
+
value: 82.61
|
56 |
+
name: pass@1
|
57 |
+
- type: pass@1
|
58 |
+
value: 77.51
|
59 |
+
name: pass@1
|
60 |
+
- type: pass@1
|
61 |
+
value: 60.32
|
62 |
+
name: pass@1
|
63 |
+
- task:
|
64 |
+
type: text-generation
|
65 |
+
dataset:
|
66 |
+
name: BoolQ
|
67 |
+
type: reading-comprehension
|
68 |
+
metrics:
|
69 |
+
- type: pass@1
|
70 |
+
value: 88.65
|
71 |
+
name: pass@1
|
72 |
+
- type: pass@1
|
73 |
+
value: 21.58
|
74 |
+
name: pass@1
|
75 |
+
- task:
|
76 |
+
type: text-generation
|
77 |
+
dataset:
|
78 |
+
name: ARC-C
|
79 |
+
type: reasoning
|
80 |
+
metrics:
|
81 |
+
- type: pass@1
|
82 |
+
value: 64.16
|
83 |
+
name: pass@1
|
84 |
+
- type: pass@1
|
85 |
+
value: 33.81
|
86 |
+
name: pass@1
|
87 |
+
- type: pass@1
|
88 |
+
value: 51.55
|
89 |
+
name: pass@1
|
90 |
+
- task:
|
91 |
+
type: text-generation
|
92 |
+
dataset:
|
93 |
+
name: HumanEvalSynthesis
|
94 |
+
type: code
|
95 |
+
metrics:
|
96 |
+
- type: pass@1
|
97 |
+
value: 64.63
|
98 |
+
name: pass@1
|
99 |
+
- type: pass@1
|
100 |
+
value: 57.16
|
101 |
+
name: pass@1
|
102 |
+
- type: pass@1
|
103 |
+
value: 65.85
|
104 |
+
name: pass@1
|
105 |
+
- type: pass@1
|
106 |
+
value: 49.6
|
107 |
+
name: pass@1
|
108 |
+
- task:
|
109 |
+
type: text-generation
|
110 |
+
dataset:
|
111 |
+
name: GSM8K
|
112 |
+
type: math
|
113 |
+
metrics:
|
114 |
+
- type: pass@1
|
115 |
+
value: 68.99
|
116 |
+
name: pass@1
|
117 |
+
- type: pass@1
|
118 |
+
value: 30.94
|
119 |
+
name: pass@1
|
120 |
+
- task:
|
121 |
+
type: text-generation
|
122 |
+
dataset:
|
123 |
+
name: PAWS-X (7 langs)
|
124 |
+
type: multilingual
|
125 |
+
metrics:
|
126 |
+
- type: pass@1
|
127 |
+
value: 64.94
|
128 |
+
name: pass@1
|
129 |
+
- type: pass@1
|
130 |
+
value: 48.2
|
131 |
+
name: pass@1
|
132 |
+
---
|
133 |
+
|
134 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
135 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
136 |
+
</div>
|
137 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
138 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
139 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
140 |
+
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>
|
141 |
+
</p>
|
142 |
+
</div>
|
143 |
+
</div>
|
144 |
+
|
145 |
+
## ibm-granite/granite-3.0-8b-instruct - GGUF
|
146 |
+
|
147 |
+
This repo contains GGUF format model files for [ibm-granite/granite-3.0-8b-instruct](https://huggingface.co/ibm-granite/granite-3.0-8b-instruct).
|
148 |
+
|
149 |
+
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).
|
150 |
+
|
151 |
+
## Prompt template
|
152 |
+
|
153 |
+
```
|
154 |
+
<|start_of_role|>system<|end_of_role|>{system_prompt}<|end_of_text|>
|
155 |
+
<|start_of_role|>user<|end_of_role|>{prompt}<|end_of_text|>
|
156 |
+
<|start_of_role|>assistant<|end_of_role|>
|
157 |
+
```
|
158 |
+
|
159 |
+
## Model file specification
|
160 |
+
|
161 |
+
| Filename | Quant type | File Size | Description |
|
162 |
+
| -------- | ---------- | --------- | ----------- |
|
163 |
+
| [granite-3.0-8b-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q2_K.gguf) | Q2_K | 2.890 GB | smallest, significant quality loss - not recommended for most purposes |
|
164 |
+
| [granite-3.0-8b-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q3_K_S.gguf) | Q3_K_S | 3.346 GB | very small, high quality loss |
|
165 |
+
| [granite-3.0-8b-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q3_K_M.gguf) | Q3_K_M | 3.722 GB | very small, high quality loss |
|
166 |
+
| [granite-3.0-8b-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q3_K_L.gguf) | Q3_K_L | 4.051 GB | small, substantial quality loss |
|
167 |
+
| [granite-3.0-8b-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q4_0.gguf) | Q4_0 | 4.331 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
168 |
+
| [granite-3.0-8b-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q4_K_S.gguf) | Q4_K_S | 4.364 GB | small, greater quality loss |
|
169 |
+
| [granite-3.0-8b-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q4_K_M.gguf) | Q4_K_M | 4.603 GB | medium, balanced quality - recommended |
|
170 |
+
| [granite-3.0-8b-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q5_0.gguf) | Q5_0 | 5.259 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
171 |
+
| [granite-3.0-8b-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q5_K_S.gguf) | Q5_K_S | 5.259 GB | large, low quality loss - recommended |
|
172 |
+
| [granite-3.0-8b-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q5_K_M.gguf) | Q5_K_M | 5.399 GB | large, very low quality loss - recommended |
|
173 |
+
| [granite-3.0-8b-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q6_K.gguf) | Q6_K | 6.245 GB | very large, extremely low quality loss |
|
174 |
+
| [granite-3.0-8b-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-instruct-GGUF/tree/main/granite-3.0-8b-instruct-Q8_0.gguf) | Q8_0 | 8.088 GB | very large, extremely low quality loss - not recommended |
|
175 |
+
|
176 |
+
|
177 |
+
## Downloading instruction
|
178 |
+
|
179 |
+
### Command line
|
180 |
+
|
181 |
+
Firstly, install Huggingface Client
|
182 |
+
|
183 |
+
```shell
|
184 |
+
pip install -U "huggingface_hub[cli]"
|
185 |
+
```
|
186 |
+
|
187 |
+
Then, downoad the individual model file the a local directory
|
188 |
+
|
189 |
+
```shell
|
190 |
+
huggingface-cli download tensorblock/granite-3.0-8b-instruct-GGUF --include "granite-3.0-8b-instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
191 |
+
```
|
192 |
+
|
193 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
194 |
+
|
195 |
+
```shell
|
196 |
+
huggingface-cli download tensorblock/granite-3.0-8b-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
197 |
+
```
|
granite-3.0-8b-instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9756977625b2c2f0b696dd6a13c4b2c558d117e9a3cbff2aee63a89ab33d153f
|
3 |
+
size 3103588576
|
granite-3.0-8b-instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:387326198eca75979a1f11942807eea022b53763f47f7e46ca34667d161c4935
|
3 |
+
size 4349427936
|
granite-3.0-8b-instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16dab975fafd4694cce96450b22f6d712867dffba60cdef64aa51715f6f6c346
|
3 |
+
size 3996582112
|
granite-3.0-8b-instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ec0ea5653ddc950b4114d72c868db7c7b384d880205cc1c04ca9a0dee436766
|
3 |
+
size 3592487136
|
granite-3.0-8b-instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a546d89aea85a98eee1029a26042b66f7ef12f7c2709a4b175d6ac5d5cd71a8f
|
3 |
+
size 4650893536
|
granite-3.0-8b-instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28b149699e5d40a5a18c78f1868f462b216a164e6b377ace3e4aa8391461e81b
|
3 |
+
size 4942856416
|
granite-3.0-8b-instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:89190a66806a1aa328b9d921dbc28a369a44be676056a87b10bda783d11dc5fa
|
3 |
+
size 4685758688
|
granite-3.0-8b-instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1761e3cfd23a89465cf30845a750693b4be5be460d1523a4b08f89cce4598144
|
3 |
+
size 5647040736
|
granite-3.0-8b-instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d6d0526840d074edb2dd87b5cb122a463f3ed2dd434e576c750ed8c4e00c60b
|
3 |
+
size 5797445856
|
granite-3.0-8b-instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51387df0ffc2098b33c83ba2e0e30af488f26e615b6ef035b6110d5acd3f5eb2
|
3 |
+
size 5647040736
|
granite-3.0-8b-instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a7daebcb72a24ccc8c83173d391afd24cf23b3399dc4d57f27b08ff144ea35a
|
3 |
+
size 6705447136
|
granite-3.0-8b-instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42ac480e15eeaf4b4692875cb91fd7cf787963fe9a06bc17e762a8ee29337a1a
|
3 |
+
size 8684244096
|