Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +177 -0
- granite-3.0-1b-a400m-base-Q2_K.gguf +3 -0
- granite-3.0-1b-a400m-base-Q3_K_L.gguf +3 -0
- granite-3.0-1b-a400m-base-Q3_K_M.gguf +3 -0
- granite-3.0-1b-a400m-base-Q3_K_S.gguf +3 -0
- granite-3.0-1b-a400m-base-Q4_0.gguf +3 -0
- granite-3.0-1b-a400m-base-Q4_K_M.gguf +3 -0
- granite-3.0-1b-a400m-base-Q4_K_S.gguf +3 -0
- granite-3.0-1b-a400m-base-Q5_0.gguf +3 -0
- granite-3.0-1b-a400m-base-Q5_K_M.gguf +3 -0
- granite-3.0-1b-a400m-base-Q5_K_S.gguf +3 -0
- granite-3.0-1b-a400m-base-Q6_K.gguf +3 -0
- granite-3.0-1b-a400m-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-1b-a400m-base-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
granite-3.0-1b-a400m-base-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
granite-3.0-1b-a400m-base-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
granite-3.0-1b-a400m-base-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
granite-3.0-1b-a400m-base-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
granite-3.0-1b-a400m-base-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
granite-3.0-1b-a400m-base-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
granite-3.0-1b-a400m-base-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
granite-3.0-1b-a400m-base-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
granite-3.0-1b-a400m-base-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
granite-3.0-1b-a400m-base-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
granite-3.0-1b-a400m-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-1b-a400m-base
|
12 |
+
model-index:
|
13 |
+
- name: granite-3.0-1b-a400m-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: 25.69
|
23 |
+
name: pass@1
|
24 |
+
- type: pass@1
|
25 |
+
value: 11.38
|
26 |
+
name: pass@1
|
27 |
+
- type: pass@1
|
28 |
+
value: 19.96
|
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: 62.43
|
38 |
+
name: pass@1
|
39 |
+
- type: pass@1
|
40 |
+
value: 39.0
|
41 |
+
name: pass@1
|
42 |
+
- type: pass@1
|
43 |
+
value: 35.76
|
44 |
+
name: pass@1
|
45 |
+
- type: pass@1
|
46 |
+
value: 75.35
|
47 |
+
name: pass@1
|
48 |
+
- type: pass@1
|
49 |
+
value: 64.92
|
50 |
+
name: pass@1
|
51 |
+
- type: pass@1
|
52 |
+
value: 39.49
|
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: 65.44
|
62 |
+
name: pass@1
|
63 |
+
- type: pass@1
|
64 |
+
value: 17.78
|
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: 38.14
|
74 |
+
name: pass@1
|
75 |
+
- type: pass@1
|
76 |
+
value: 24.41
|
77 |
+
name: pass@1
|
78 |
+
- type: pass@1
|
79 |
+
value: 29.84
|
80 |
+
name: pass@1
|
81 |
+
- type: pass@1
|
82 |
+
value: 33.99
|
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: 21.95
|
92 |
+
name: pass@1
|
93 |
+
- type: pass@1
|
94 |
+
value: 23.2
|
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: 19.26
|
104 |
+
name: pass@1
|
105 |
+
- type: pass@1
|
106 |
+
value: 8.96
|
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-1b-a400m-base - GGUF
|
122 |
+
|
123 |
+
This repo contains GGUF format model files for [ibm-granite/granite-3.0-1b-a400m-base](https://huggingface.co/ibm-granite/granite-3.0-1b-a400m-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-1b-a400m-base-Q2_K.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q2_K.gguf) | Q2_K | 0.529 GB | smallest, significant quality loss - not recommended for most purposes |
|
144 |
+
| [granite-3.0-1b-a400m-base-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q3_K_S.gguf) | Q3_K_S | 0.619 GB | very small, high quality loss |
|
145 |
+
| [granite-3.0-1b-a400m-base-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q3_K_M.gguf) | Q3_K_M | 0.680 GB | very small, high quality loss |
|
146 |
+
| [granite-3.0-1b-a400m-base-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q3_K_L.gguf) | Q3_K_L | 0.733 GB | small, substantial quality loss |
|
147 |
+
| [granite-3.0-1b-a400m-base-Q4_0.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q4_0.gguf) | Q4_0 | 0.797 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
148 |
+
| [granite-3.0-1b-a400m-base-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q4_K_S.gguf) | Q4_K_S | 0.803 GB | small, greater quality loss |
|
149 |
+
| [granite-3.0-1b-a400m-base-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q4_K_M.gguf) | Q4_K_M | 0.850 GB | medium, balanced quality - recommended |
|
150 |
+
| [granite-3.0-1b-a400m-base-Q5_0.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q5_0.gguf) | Q5_0 | 0.963 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
151 |
+
| [granite-3.0-1b-a400m-base-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q5_K_S.gguf) | Q5_K_S | 0.963 GB | large, low quality loss - recommended |
|
152 |
+
| [granite-3.0-1b-a400m-base-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q5_K_M.gguf) | Q5_K_M | 0.991 GB | large, very low quality loss - recommended |
|
153 |
+
| [granite-3.0-1b-a400m-base-Q6_K.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q6_K.gguf) | Q6_K | 1.140 GB | very large, extremely low quality loss |
|
154 |
+
| [granite-3.0-1b-a400m-base-Q8_0.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-base-GGUF/blob/main/granite-3.0-1b-a400m-base-Q8_0.gguf) | Q8_0 | 1.476 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-1b-a400m-base-GGUF --include "granite-3.0-1b-a400m-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-1b-a400m-base-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
177 |
+
```
|
granite-3.0-1b-a400m-base-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0c5628cb57ae3d9a3a973d6682e2c95318a94cf77f37f1bdd48ef6febb8f3c2
|
3 |
+
size 528747584
|
granite-3.0-1b-a400m-base-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:153ec3f673c2918558e957a56ea4695886117aab7ecfecc33eaac5bbd8bd50c8
|
3 |
+
size 733023296
|
granite-3.0-1b-a400m-base-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c0e47a903d8de1e617f87947d4015dea20198e4baed3208bdcf8ce788d933b7
|
3 |
+
size 680201280
|
granite-3.0-1b-a400m-base-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c535b3189a8a04637624e44427ef360e569648cdaf23301f9a112f52cb367e3
|
3 |
+
size 619482176
|
granite-3.0-1b-a400m-base-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c0586a77cc14d8fbdbddaed56d70786302b27f6efa0dac55fc623702bb3f87c
|
3 |
+
size 796625984
|
granite-3.0-1b-a400m-base-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd568693ac72b441248210d63ed14e070644032ba6cd2786758888440cce38a1
|
3 |
+
size 850152512
|
granite-3.0-1b-a400m-base-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0b2fa8d17449846a9101168599a5cda556ab978e28f041e494ebce88174109a
|
3 |
+
size 803179584
|
granite-3.0-1b-a400m-base-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18f4415e01c1a9d5957a643631b99c981ed12fa8bf91750bc2e99102a79a7e3e
|
3 |
+
size 963349568
|
granite-3.0-1b-a400m-base-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:97db0bc59d600d13e72daab717300ec40fc1b9775126ac0a92554d2b0acb554a
|
3 |
+
size 990923840
|
granite-3.0-1b-a400m-base-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8af1df0308e3acfcd4a865bf7ef30881eca4b2fad3525178705ec7610ce6943a
|
3 |
+
size 963349568
|
granite-3.0-1b-a400m-base-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5849a5e3d198e9569c9f94a091150cfc6d2e2652509e2cf51988154ce94c3e4f
|
3 |
+
size 1140493376
|
granite-3.0-1b-a400m-base-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d7f29187f8eb2c542062f276ecad84661578e81d1d073ce52adbf80fd0f2b97
|
3 |
+
size 1475710016
|