Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +151 -0
- granite-20b-code-base-r1.1-Q2_K.gguf +3 -0
- granite-20b-code-base-r1.1-Q3_K_L.gguf +3 -0
- granite-20b-code-base-r1.1-Q3_K_M.gguf +3 -0
- granite-20b-code-base-r1.1-Q3_K_S.gguf +3 -0
- granite-20b-code-base-r1.1-Q4_0.gguf +3 -0
- granite-20b-code-base-r1.1-Q4_K_M.gguf +3 -0
- granite-20b-code-base-r1.1-Q4_K_S.gguf +3 -0
- granite-20b-code-base-r1.1-Q5_0.gguf +3 -0
- granite-20b-code-base-r1.1-Q5_K_M.gguf +3 -0
- granite-20b-code-base-r1.1-Q5_K_S.gguf +3 -0
- granite-20b-code-base-r1.1-Q6_K.gguf +3 -0
- granite-20b-code-base-r1.1-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-20b-code-base-r1.1-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
granite-20b-code-base-r1.1-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
granite-20b-code-base-r1.1-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
granite-20b-code-base-r1.1-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
granite-20b-code-base-r1.1-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
granite-20b-code-base-r1.1-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
granite-20b-code-base-r1.1-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
granite-20b-code-base-r1.1-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
granite-20b-code-base-r1.1-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
granite-20b-code-base-r1.1-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
granite-20b-code-base-r1.1-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
granite-20b-code-base-r1.1-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: text-generation
|
3 |
+
inference: true
|
4 |
+
license: apache-2.0
|
5 |
+
datasets:
|
6 |
+
- codeparrot/github-code-clean
|
7 |
+
- bigcode/starcoderdata
|
8 |
+
- open-web-math/open-web-math
|
9 |
+
- math-ai/StackMathQA
|
10 |
+
metrics:
|
11 |
+
- code_eval
|
12 |
+
library_name: transformers
|
13 |
+
tags:
|
14 |
+
- code
|
15 |
+
- granite
|
16 |
+
- TensorBlock
|
17 |
+
- GGUF
|
18 |
+
base_model: ibm-granite/granite-20b-code-base-r1.1
|
19 |
+
model-index:
|
20 |
+
- name: granite-20b-code-base-r1.1
|
21 |
+
results:
|
22 |
+
- task:
|
23 |
+
type: text-generation
|
24 |
+
dataset:
|
25 |
+
name: HumanEvalSynthesis(Python)
|
26 |
+
type: bigcode/humanevalpack
|
27 |
+
metrics:
|
28 |
+
- type: pass@1
|
29 |
+
value: 48.2
|
30 |
+
name: pass@1
|
31 |
+
- type: pass@1
|
32 |
+
value: 56.1
|
33 |
+
name: pass@1
|
34 |
+
- type: pass@1
|
35 |
+
value: 59.8
|
36 |
+
name: pass@1
|
37 |
+
- type: pass@1
|
38 |
+
value: 33.5
|
39 |
+
name: pass@1
|
40 |
+
- type: pass@1
|
41 |
+
value: 50.6
|
42 |
+
name: pass@1
|
43 |
+
- type: pass@1
|
44 |
+
value: 40.9
|
45 |
+
name: pass@1
|
46 |
+
- type: pass@1
|
47 |
+
value: 28.7
|
48 |
+
name: pass@1
|
49 |
+
- type: pass@1
|
50 |
+
value: 24.4
|
51 |
+
name: pass@1
|
52 |
+
- type: pass@1
|
53 |
+
value: 43.3
|
54 |
+
name: pass@1
|
55 |
+
- type: pass@1
|
56 |
+
value: 13.8
|
57 |
+
name: pass@1
|
58 |
+
- type: pass@1
|
59 |
+
value: 29.9
|
60 |
+
name: pass@1
|
61 |
+
- type: pass@1
|
62 |
+
value: 18.3
|
63 |
+
name: pass@1
|
64 |
+
- type: pass@1
|
65 |
+
value: 22.0
|
66 |
+
name: pass@1
|
67 |
+
- type: pass@1
|
68 |
+
value: 24.4
|
69 |
+
name: pass@1
|
70 |
+
- type: pass@1
|
71 |
+
value: 32.3
|
72 |
+
name: pass@1
|
73 |
+
- type: pass@1
|
74 |
+
value: 28.0
|
75 |
+
name: pass@1
|
76 |
+
- type: pass@1
|
77 |
+
value: 30.5
|
78 |
+
name: pass@1
|
79 |
+
- type: pass@1
|
80 |
+
value: 13.4
|
81 |
+
name: pass@1
|
82 |
+
---
|
83 |
+
|
84 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
85 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
86 |
+
</div>
|
87 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
88 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
89 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
90 |
+
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>
|
91 |
+
</p>
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
|
95 |
+
## ibm-granite/granite-20b-code-base-r1.1 - GGUF
|
96 |
+
|
97 |
+
This repo contains GGUF format model files for [ibm-granite/granite-20b-code-base-r1.1](https://huggingface.co/ibm-granite/granite-20b-code-base-r1.1).
|
98 |
+
|
99 |
+
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).
|
100 |
+
|
101 |
+
<div style="text-align: left; margin: 20px 0;">
|
102 |
+
<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;">
|
103 |
+
Run them on the TensorBlock client using your local machine ↗
|
104 |
+
</a>
|
105 |
+
</div>
|
106 |
+
|
107 |
+
## Prompt template
|
108 |
+
|
109 |
+
```
|
110 |
+
|
111 |
+
```
|
112 |
+
|
113 |
+
## Model file specification
|
114 |
+
|
115 |
+
| Filename | Quant type | File Size | Description |
|
116 |
+
| -------- | ---------- | --------- | ----------- |
|
117 |
+
| [granite-20b-code-base-r1.1-Q2_K.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q2_K.gguf) | Q2_K | 7.929 GB | smallest, significant quality loss - not recommended for most purposes |
|
118 |
+
| [granite-20b-code-base-r1.1-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q3_K_S.gguf) | Q3_K_S | 8.935 GB | very small, high quality loss |
|
119 |
+
| [granite-20b-code-base-r1.1-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q3_K_M.gguf) | Q3_K_M | 10.566 GB | very small, high quality loss |
|
120 |
+
| [granite-20b-code-base-r1.1-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q3_K_L.gguf) | Q3_K_L | 11.737 GB | small, substantial quality loss |
|
121 |
+
| [granite-20b-code-base-r1.1-Q4_0.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q4_0.gguf) | Q4_0 | 11.552 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
122 |
+
| [granite-20b-code-base-r1.1-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q4_K_S.gguf) | Q4_K_S | 11.666 GB | small, greater quality loss |
|
123 |
+
| [granite-20b-code-base-r1.1-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q4_K_M.gguf) | Q4_K_M | 12.820 GB | medium, balanced quality - recommended |
|
124 |
+
| [granite-20b-code-base-r1.1-Q5_0.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q5_0.gguf) | Q5_0 | 14.016 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
125 |
+
| [granite-20b-code-base-r1.1-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q5_K_S.gguf) | Q5_K_S | 14.016 GB | large, low quality loss - recommended |
|
126 |
+
| [granite-20b-code-base-r1.1-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q5_K_M.gguf) | Q5_K_M | 14.809 GB | large, very low quality loss - recommended |
|
127 |
+
| [granite-20b-code-base-r1.1-Q6_K.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q6_K.gguf) | Q6_K | 16.634 GB | very large, extremely low quality loss |
|
128 |
+
| [granite-20b-code-base-r1.1-Q8_0.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-r1.1-GGUF/blob/main/granite-20b-code-base-r1.1-Q8_0.gguf) | Q8_0 | 21.481 GB | very large, extremely low quality loss - not recommended |
|
129 |
+
|
130 |
+
|
131 |
+
## Downloading instruction
|
132 |
+
|
133 |
+
### Command line
|
134 |
+
|
135 |
+
Firstly, install Huggingface Client
|
136 |
+
|
137 |
+
```shell
|
138 |
+
pip install -U "huggingface_hub[cli]"
|
139 |
+
```
|
140 |
+
|
141 |
+
Then, downoad the individual model file the a local directory
|
142 |
+
|
143 |
+
```shell
|
144 |
+
huggingface-cli download tensorblock/granite-20b-code-base-r1.1-GGUF --include "granite-20b-code-base-r1.1-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
145 |
+
```
|
146 |
+
|
147 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
148 |
+
|
149 |
+
```shell
|
150 |
+
huggingface-cli download tensorblock/granite-20b-code-base-r1.1-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
151 |
+
```
|
granite-20b-code-base-r1.1-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f650ef8dc41998d0f04c24b03d0ee9dea080e29ec091f494050dfb9c3951d6a0
|
3 |
+
size 7929485152
|
granite-20b-code-base-r1.1-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ffcc22b1940fc1dc36cc2f3f4d5aec22e95ef46b18ac502478928a34998206a
|
3 |
+
size 11736504160
|
granite-20b-code-base-r1.1-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a8241339d85114568a408172d7974b5925d7adf0c7bb1ce71711d3de85cfe9f
|
3 |
+
size 10566293344
|
granite-20b-code-base-r1.1-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bf93b5f1efd54a2fb874f69438c1d67e5547965ac2f15443ebbbe04baf12e613
|
3 |
+
size 8934594400
|
granite-20b-code-base-r1.1-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52c9af833412c56a736855cd2f766ae4b9a56e59443445915195769d368eb4bc
|
3 |
+
size 11552479072
|
granite-20b-code-base-r1.1-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3422315ce96a8b6befe4ed4cd7ab47929a94814efb0a7da3c72ed4de69e0dbe0
|
3 |
+
size 12820207456
|
granite-20b-code-base-r1.1-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:503b654222911edd2fd945f9293d543d52dfc96a89afaf412d1788080a958694
|
3 |
+
size 11665725280
|
granite-20b-code-base-r1.1-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:316e06e9d07bfee9204f590ea7601b06b90dfc20647d316cac063c84370984ed
|
3 |
+
size 14016370528
|
granite-20b-code-base-r1.1-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e6b42d2e1c6c8a135e7c4ad353c105c8d803c06fa2f5dc8581edef28058715e1
|
3 |
+
size 14809339744
|
granite-20b-code-base-r1.1-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c82aa05b4f4fca6ea5bd99da0105e6fc284dd0f8d199a06ab378990e914e193
|
3 |
+
size 14016370528
|
granite-20b-code-base-r1.1-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4cfa7106cb2154fe0688360a584353424c1c12e314fbada7cb981e63389156ef
|
3 |
+
size 16634255200
|
granite-20b-code-base-r1.1-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:feeee9050449579bcde74d1189201b8045813550e6723258d9ae4f7f0c600f5d
|
3 |
+
size 21481183072
|