Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +177 -0
- granite-3.0-2b-base-Q2_K.gguf +3 -0
- granite-3.0-2b-base-Q3_K_L.gguf +3 -0
- granite-3.0-2b-base-Q3_K_M.gguf +3 -0
- granite-3.0-2b-base-Q3_K_S.gguf +3 -0
- granite-3.0-2b-base-Q4_0.gguf +3 -0
- granite-3.0-2b-base-Q4_K_M.gguf +3 -0
- granite-3.0-2b-base-Q4_K_S.gguf +3 -0
- granite-3.0-2b-base-Q5_0.gguf +3 -0
- granite-3.0-2b-base-Q5_K_M.gguf +3 -0
- granite-3.0-2b-base-Q5_K_S.gguf +3 -0
- granite-3.0-2b-base-Q6_K.gguf +3 -0
- granite-3.0-2b-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-2b-base-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
granite-3.0-2b-base-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
granite-3.0-2b-base-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
granite-3.0-2b-base-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
granite-3.0-2b-base-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
granite-3.0-2b-base-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
granite-3.0-2b-base-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
granite-3.0-2b-base-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
granite-3.0-2b-base-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
granite-3.0-2b-base-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
granite-3.0-2b-base-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
granite-3.0-2b-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-2b-base
|
12 |
+
model-index:
|
13 |
+
- name: granite-3.0-2b-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: 55.0
|
23 |
+
name: pass@1
|
24 |
+
- type: pass@1
|
25 |
+
value: 23.79
|
26 |
+
name: pass@1
|
27 |
+
- type: pass@1
|
28 |
+
value: 22.56
|
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: 74.9
|
38 |
+
name: pass@1
|
39 |
+
- type: pass@1
|
40 |
+
value: 43.0
|
41 |
+
name: pass@1
|
42 |
+
- type: pass@1
|
43 |
+
value: 59.84
|
44 |
+
name: pass@1
|
45 |
+
- type: pass@1
|
46 |
+
value: 79.27
|
47 |
+
name: pass@1
|
48 |
+
- type: pass@1
|
49 |
+
value: 77.65
|
50 |
+
name: pass@1
|
51 |
+
- type: pass@1
|
52 |
+
value: 39.9
|
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: 81.35
|
62 |
+
name: pass@1
|
63 |
+
- type: pass@1
|
64 |
+
value: 25.22
|
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: 54.27
|
74 |
+
name: pass@1
|
75 |
+
- type: pass@1
|
76 |
+
value: 30.58
|
77 |
+
name: pass@1
|
78 |
+
- type: pass@1
|
79 |
+
value: 40.69
|
80 |
+
name: pass@1
|
81 |
+
- type: pass@1
|
82 |
+
value: 34.34
|
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: 38.41
|
92 |
+
name: pass@1
|
93 |
+
- type: pass@1
|
94 |
+
value: 35.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: 47.23
|
104 |
+
name: pass@1
|
105 |
+
- type: pass@1
|
106 |
+
value: 19.46
|
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-2b-base - GGUF
|
122 |
+
|
123 |
+
This repo contains GGUF format model files for [ibm-granite/granite-3.0-2b-base](https://huggingface.co/ibm-granite/granite-3.0-2b-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-2b-base-Q2_K.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q2_K.gguf) | Q2_K | 0.978 GB | smallest, significant quality loss - not recommended for most purposes |
|
144 |
+
| [granite-3.0-2b-base-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q3_K_S.gguf) | Q3_K_S | 1.130 GB | very small, high quality loss |
|
145 |
+
| [granite-3.0-2b-base-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q3_K_M.gguf) | Q3_K_M | 1.252 GB | very small, high quality loss |
|
146 |
+
| [granite-3.0-2b-base-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q3_K_L.gguf) | Q3_K_L | 1.357 GB | small, substantial quality loss |
|
147 |
+
| [granite-3.0-2b-base-Q4_0.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q4_0.gguf) | Q4_0 | 1.453 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
148 |
+
| [granite-3.0-2b-base-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q4_K_S.gguf) | Q4_K_S | 1.464 GB | small, greater quality loss |
|
149 |
+
| [granite-3.0-2b-base-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q4_K_M.gguf) | Q4_K_M | 1.545 GB | medium, balanced quality - recommended |
|
150 |
+
| [granite-3.0-2b-base-Q5_0.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q5_0.gguf) | Q5_0 | 1.757 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
151 |
+
| [granite-3.0-2b-base-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q5_K_S.gguf) | Q5_K_S | 1.757 GB | large, low quality loss - recommended |
|
152 |
+
| [granite-3.0-2b-base-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q5_K_M.gguf) | Q5_K_M | 1.805 GB | large, very low quality loss - recommended |
|
153 |
+
| [granite-3.0-2b-base-Q6_K.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q6_K.gguf) | Q6_K | 2.081 GB | very large, extremely low quality loss |
|
154 |
+
| [granite-3.0-2b-base-Q8_0.gguf](https://huggingface.co/tensorblock/granite-3.0-2b-base-GGUF/blob/main/granite-3.0-2b-base-Q8_0.gguf) | Q8_0 | 2.694 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-2b-base-GGUF --include "granite-3.0-2b-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-2b-base-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
177 |
+
```
|
granite-3.0-2b-base-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a86182099e9ecf15636f8f65d13a3dfc49aace1800809373486ac97ff0312d0e
|
3 |
+
size 978236224
|
granite-3.0-2b-base-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae05515b30e69d1cad5c31674518722885ee6c56c1033913a1b7edfb9e983783
|
3 |
+
size 1357361984
|
granite-3.0-2b-base-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:65359e93e4c68fdd15f80bceefce4ee8277263f9069085f1fbf6a6bdf76adef8
|
3 |
+
size 1251717952
|
granite-3.0-2b-base-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7691e3f706553dcf884f9a20dca58034b8b6e9af4d301a11acb1be21b259ffc
|
3 |
+
size 1130279744
|
granite-3.0-2b-base-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa18c26f85f2e2e915d3b4e514b56d77010cec13976f2f7c456d48532422b152
|
3 |
+
size 1453372224
|
granite-3.0-2b-base-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:caa3c2b93a13036b5487febd709dbdaddcd3e994194935138025d532509312c3
|
3 |
+
size 1545286464
|
granite-3.0-2b-base-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:118c27727a26691e26e6d7d18480b6afeb7c99e51824aeccc4c53179a1058d0a
|
3 |
+
size 1464382272
|
granite-3.0-2b-base-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e7af441a0d9b7c2f0efbb73e6e012650c474a503a85524b23e2918ebcf54376
|
3 |
+
size 1757459264
|
granite-3.0-2b-base-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca332f92c8b24d0fbe3ff9ceab3f27e1cf5217d71caa46d619588c18fe692849
|
3 |
+
size 1804809024
|
granite-3.0-2b-base-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8884a6f15bc83a3fe99d9526a5fcb2c83c31a8d1d01e705f01295fdade4c9052
|
3 |
+
size 1757459264
|
granite-3.0-2b-base-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0de881d7f1803614f3fd4ba17cdf1b16fbec3e524488f853b318c8476a520d0f
|
3 |
+
size 2080551744
|
granite-3.0-2b-base-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4597bb921558641f37882fbc646bff980e8e2e91c62a8a4fe493d3aca06397ff
|
3 |
+
size 2694099776
|