Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +177 -0
- granite-3.0-8b-base-Q2_K.gguf +3 -0
- granite-3.0-8b-base-Q3_K_L.gguf +3 -0
- granite-3.0-8b-base-Q3_K_M.gguf +3 -0
- granite-3.0-8b-base-Q3_K_S.gguf +3 -0
- granite-3.0-8b-base-Q4_0.gguf +3 -0
- granite-3.0-8b-base-Q4_K_M.gguf +3 -0
- granite-3.0-8b-base-Q4_K_S.gguf +3 -0
- granite-3.0-8b-base-Q5_0.gguf +3 -0
- granite-3.0-8b-base-Q5_K_M.gguf +3 -0
- granite-3.0-8b-base-Q5_K_S.gguf +3 -0
- granite-3.0-8b-base-Q6_K.gguf +3 -0
- granite-3.0-8b-base-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-base-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
granite-3.0-8b-base-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
granite-3.0-8b-base-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
granite-3.0-8b-base-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
granite-3.0-8b-base-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
granite-3.0-8b-base-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
granite-3.0-8b-base-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
granite-3.0-8b-base-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
granite-3.0-8b-base-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
granite-3.0-8b-base-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
granite-3.0-8b-base-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
granite-3.0-8b-base-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-base
|
12 |
+
model-index:
|
13 |
+
- name: granite-3.0-8b-base
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
type: text-generation
|
17 |
+
dataset:
|
18 |
+
name: MMLU
|
19 |
+
type: human-exams
|
20 |
+
metrics:
|
21 |
+
- type: pass@1
|
22 |
+
value: 65.54
|
23 |
+
name: pass@1
|
24 |
+
- type: pass@1
|
25 |
+
value: 33.27
|
26 |
+
name: pass@1
|
27 |
+
- type: pass@1
|
28 |
+
value: 34.45
|
29 |
+
name: pass@1
|
30 |
+
- task:
|
31 |
+
type: text-generation
|
32 |
+
dataset:
|
33 |
+
name: WinoGrande
|
34 |
+
type: commonsense
|
35 |
+
metrics:
|
36 |
+
- type: pass@1
|
37 |
+
value: 80.9
|
38 |
+
name: pass@1
|
39 |
+
- type: pass@1
|
40 |
+
value: 46.8
|
41 |
+
name: pass@1
|
42 |
+
- type: pass@1
|
43 |
+
value: 67.8
|
44 |
+
name: pass@1
|
45 |
+
- type: pass@1
|
46 |
+
value: 82.32
|
47 |
+
name: pass@1
|
48 |
+
- type: pass@1
|
49 |
+
value: 83.61
|
50 |
+
name: pass@1
|
51 |
+
- type: pass@1
|
52 |
+
value: 52.89
|
53 |
+
name: pass@1
|
54 |
+
- task:
|
55 |
+
type: text-generation
|
56 |
+
dataset:
|
57 |
+
name: BoolQ
|
58 |
+
type: reading-comprehension
|
59 |
+
metrics:
|
60 |
+
- type: pass@1
|
61 |
+
value: 86.97
|
62 |
+
name: pass@1
|
63 |
+
- type: pass@1
|
64 |
+
value: 32.92
|
65 |
+
name: pass@1
|
66 |
+
- task:
|
67 |
+
type: text-generation
|
68 |
+
dataset:
|
69 |
+
name: ARC-C
|
70 |
+
type: reasoning
|
71 |
+
metrics:
|
72 |
+
- type: pass@1
|
73 |
+
value: 63.4
|
74 |
+
name: pass@1
|
75 |
+
- type: pass@1
|
76 |
+
value: 32.13
|
77 |
+
name: pass@1
|
78 |
+
- type: pass@1
|
79 |
+
value: 49.31
|
80 |
+
name: pass@1
|
81 |
+
- type: pass@1
|
82 |
+
value: 41.08
|
83 |
+
name: pass@1
|
84 |
+
- task:
|
85 |
+
type: text-generation
|
86 |
+
dataset:
|
87 |
+
name: HumanEval
|
88 |
+
type: code
|
89 |
+
metrics:
|
90 |
+
- type: pass@1
|
91 |
+
value: 52.44
|
92 |
+
name: pass@1
|
93 |
+
- type: pass@1
|
94 |
+
value: 41.4
|
95 |
+
name: pass@1
|
96 |
+
- task:
|
97 |
+
type: text-generation
|
98 |
+
dataset:
|
99 |
+
name: GSM8K
|
100 |
+
type: math
|
101 |
+
metrics:
|
102 |
+
- type: pass@1
|
103 |
+
value: 64.06
|
104 |
+
name: pass@1
|
105 |
+
- type: pass@1
|
106 |
+
value: 29.28
|
107 |
+
name: pass@1
|
108 |
+
---
|
109 |
+
|
110 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
111 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
112 |
+
</div>
|
113 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
114 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
115 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
116 |
+
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>
|
117 |
+
</p>
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
|
121 |
+
## ibm-granite/granite-3.0-8b-base - GGUF
|
122 |
+
|
123 |
+
This repo contains GGUF format model files for [ibm-granite/granite-3.0-8b-base](https://huggingface.co/ibm-granite/granite-3.0-8b-base).
|
124 |
+
|
125 |
+
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).
|
126 |
+
|
127 |
+
<div style="text-align: left; margin: 20px 0;">
|
128 |
+
<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;">
|
129 |
+
Run them on the TensorBlock client using your local machine ↗
|
130 |
+
</a>
|
131 |
+
</div>
|
132 |
+
|
133 |
+
## Prompt template
|
134 |
+
|
135 |
+
```
|
136 |
+
|
137 |
+
```
|
138 |
+
|
139 |
+
## Model file specification
|
140 |
+
|
141 |
+
| Filename | Quant type | File Size | Description |
|
142 |
+
| -------- | ---------- | --------- | ----------- |
|
143 |
+
| [granite-3.0-8b-base-Q2_K.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q2_K.gguf) | Q2_K | 3.104 GB | smallest, significant quality loss - not recommended for most purposes |
|
144 |
+
| [granite-3.0-8b-base-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q3_K_S.gguf) | Q3_K_S | 3.592 GB | very small, high quality loss |
|
145 |
+
| [granite-3.0-8b-base-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q3_K_M.gguf) | Q3_K_M | 3.997 GB | very small, high quality loss |
|
146 |
+
| [granite-3.0-8b-base-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q3_K_L.gguf) | Q3_K_L | 4.349 GB | small, substantial quality loss |
|
147 |
+
| [granite-3.0-8b-base-Q4_0.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q4_0.gguf) | Q4_0 | 4.651 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
148 |
+
| [granite-3.0-8b-base-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q4_K_S.gguf) | Q4_K_S | 4.686 GB | small, greater quality loss |
|
149 |
+
| [granite-3.0-8b-base-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q4_K_M.gguf) | Q4_K_M | 4.943 GB | medium, balanced quality - recommended |
|
150 |
+
| [granite-3.0-8b-base-Q5_0.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q5_0.gguf) | Q5_0 | 5.647 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
151 |
+
| [granite-3.0-8b-base-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q5_K_S.gguf) | Q5_K_S | 5.647 GB | large, low quality loss - recommended |
|
152 |
+
| [granite-3.0-8b-base-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q5_K_M.gguf) | Q5_K_M | 5.797 GB | large, very low quality loss - recommended |
|
153 |
+
| [granite-3.0-8b-base-Q6_K.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q6_K.gguf) | Q6_K | 6.705 GB | very large, extremely low quality loss |
|
154 |
+
| [granite-3.0-8b-base-Q8_0.gguf](https://huggingface.co/tensorblock/granite-3.0-8b-base-GGUF/blob/main/granite-3.0-8b-base-Q8_0.gguf) | Q8_0 | 8.684 GB | very large, extremely low quality loss - not recommended |
|
155 |
+
|
156 |
+
|
157 |
+
## Downloading instruction
|
158 |
+
|
159 |
+
### Command line
|
160 |
+
|
161 |
+
Firstly, install Huggingface Client
|
162 |
+
|
163 |
+
```shell
|
164 |
+
pip install -U "huggingface_hub[cli]"
|
165 |
+
```
|
166 |
+
|
167 |
+
Then, downoad the individual model file the a local directory
|
168 |
+
|
169 |
+
```shell
|
170 |
+
huggingface-cli download tensorblock/granite-3.0-8b-base-GGUF --include "granite-3.0-8b-base-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
171 |
+
```
|
172 |
+
|
173 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
174 |
+
|
175 |
+
```shell
|
176 |
+
huggingface-cli download tensorblock/granite-3.0-8b-base-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
177 |
+
```
|
granite-3.0-8b-base-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b38939ddd92c30daa93f9a2c7ab54a87466975fa192a9dabafbfd9d1b5964280
|
3 |
+
size 3103576896
|
granite-3.0-8b-base-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6e9fdb4f48d9351a364ba292484ede897b8779f0f179d02cecbfaa71d0bccfe
|
3 |
+
size 4349416256
|
granite-3.0-8b-base-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1dcf256b80f8256df1e4d04932ab468fec69b19629db4fca17b4118008617f43
|
3 |
+
size 3996570432
|
granite-3.0-8b-base-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92f4c56422a8775edb27cb932d7d5c8fcad37a2fe91c9c6a884902ee730b4784
|
3 |
+
size 3592475456
|
granite-3.0-8b-base-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29cef65719c2445551885ab3359031ba84caffd47bd4becd14793b30ed5ba241
|
3 |
+
size 4650881856
|
granite-3.0-8b-base-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8a1692434a2b2b35cf512e722646b5d46b849a1f74ee007c950e62346c22486
|
3 |
+
size 4942844736
|
granite-3.0-8b-base-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34178ff0ff8f340f57b3d0fb9e9305748c29fd9769d40c92cba9d4b2fcf29573
|
3 |
+
size 4685747008
|
granite-3.0-8b-base-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a2f84052022d89c21db898d79e8055874b310866e49d6121e9e54b2e7fb645f
|
3 |
+
size 5647029056
|
granite-3.0-8b-base-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8700068686021141a758a714242be40a7c62a3c1a43277f93ad0349692b6ed9
|
3 |
+
size 5797434176
|
granite-3.0-8b-base-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e9e97b36236317656db15bea02f8f28a30955b86118cba751fa238e010a9f05
|
3 |
+
size 5647029056
|
granite-3.0-8b-base-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38e2eee298b731dbbddc71672cc694d909b4ce9af9711d203898dd8d2a470853
|
3 |
+
size 6705435456
|
granite-3.0-8b-base-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d24ad18cca054f5e4d8b651150878e8047202804cd27c3d6ba17a2bd3f20c1ae
|
3 |
+
size 8684229440
|