morriszms commited on
Commit
5893dfa
1 Parent(s): 5717b39

Upload folder using huggingface_hub

Browse files
.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-8k-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ granite-20b-code-base-8k-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ granite-20b-code-base-8k-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ granite-20b-code-base-8k-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ granite-20b-code-base-8k-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ granite-20b-code-base-8k-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ granite-20b-code-base-8k-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ granite-20b-code-base-8k-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ granite-20b-code-base-8k-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ granite-20b-code-base-8k-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ granite-20b-code-base-8k-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ granite-20b-code-base-8k-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-8k
19
+ model-index:
20
+ - name: granite-20b-code-base-8k
21
+ results:
22
+ - task:
23
+ type: text-generation
24
+ dataset:
25
+ name: MBPP
26
+ type: mbpp
27
+ metrics:
28
+ - type: pass@1
29
+ value: 43.8
30
+ name: pass@1
31
+ - task:
32
+ type: text-generation
33
+ dataset:
34
+ name: MBPP+
35
+ type: evalplus/mbppplus
36
+ metrics:
37
+ - type: pass@1
38
+ value: 51.6
39
+ name: pass@1
40
+ - task:
41
+ type: text-generation
42
+ dataset:
43
+ name: HumanEvalSynthesis(Python)
44
+ type: bigcode/humanevalpack
45
+ metrics:
46
+ - type: pass@1
47
+ value: 48.2
48
+ name: pass@1
49
+ - type: pass@1
50
+ value: 50.0
51
+ name: pass@1
52
+ - type: pass@1
53
+ value: 59.1
54
+ name: pass@1
55
+ - type: pass@1
56
+ value: 32.3
57
+ name: pass@1
58
+ - type: pass@1
59
+ value: 40.9
60
+ name: pass@1
61
+ - type: pass@1
62
+ value: 35.4
63
+ name: pass@1
64
+ - type: pass@1
65
+ value: 17.1
66
+ name: pass@1
67
+ - type: pass@1
68
+ value: 18.3
69
+ name: pass@1
70
+ - type: pass@1
71
+ value: 23.2
72
+ name: pass@1
73
+ - type: pass@1
74
+ value: 10.4
75
+ name: pass@1
76
+ - type: pass@1
77
+ value: 25.6
78
+ name: pass@1
79
+ - type: pass@1
80
+ value: 18.3
81
+ name: pass@1
82
+ - type: pass@1
83
+ value: 23.2
84
+ name: pass@1
85
+ - type: pass@1
86
+ value: 23.8
87
+ name: pass@1
88
+ - type: pass@1
89
+ value: 14.6
90
+ name: pass@1
91
+ - type: pass@1
92
+ value: 26.2
93
+ name: pass@1
94
+ - type: pass@1
95
+ value: 15.2
96
+ name: pass@1
97
+ - type: pass@1
98
+ value: 3.0
99
+ name: pass@1
100
+ ---
101
+
102
+ <div style="width: auto; margin-left: auto; margin-right: auto">
103
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
104
+ </div>
105
+ <div style="display: flex; justify-content: space-between; width: 100%;">
106
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
107
+ <p style="margin-top: 0.5em; margin-bottom: 0em;">
108
+ 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>
109
+ </p>
110
+ </div>
111
+ </div>
112
+
113
+ ## ibm-granite/granite-20b-code-base-8k - GGUF
114
+
115
+ This repo contains GGUF format model files for [ibm-granite/granite-20b-code-base-8k](https://huggingface.co/ibm-granite/granite-20b-code-base-8k).
116
+
117
+ 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).
118
+
119
+ ## Prompt template
120
+
121
+ ```
122
+
123
+ ```
124
+
125
+ ## Model file specification
126
+
127
+ | Filename | Quant type | File Size | Description |
128
+ | -------- | ---------- | --------- | ----------- |
129
+ | [granite-20b-code-base-8k-Q2_K.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q2_K.gguf) | Q2_K | 7.385 GB | smallest, significant quality loss - not recommended for most purposes |
130
+ | [granite-20b-code-base-8k-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q3_K_S.gguf) | Q3_K_S | 8.321 GB | very small, high quality loss |
131
+ | [granite-20b-code-base-8k-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q3_K_M.gguf) | Q3_K_M | 9.841 GB | very small, high quality loss |
132
+ | [granite-20b-code-base-8k-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q3_K_L.gguf) | Q3_K_L | 10.930 GB | small, substantial quality loss |
133
+ | [granite-20b-code-base-8k-Q4_0.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q4_0.gguf) | Q4_0 | 10.759 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
134
+ | [granite-20b-code-base-8k-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q4_K_S.gguf) | Q4_K_S | 10.865 GB | small, greater quality loss |
135
+ | [granite-20b-code-base-8k-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q4_K_M.gguf) | Q4_K_M | 11.940 GB | medium, balanced quality - recommended |
136
+ | [granite-20b-code-base-8k-Q5_0.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q5_0.gguf) | Q5_0 | 13.054 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
137
+ | [granite-20b-code-base-8k-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q5_K_S.gguf) | Q5_K_S | 13.054 GB | large, low quality loss - recommended |
138
+ | [granite-20b-code-base-8k-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q5_K_M.gguf) | Q5_K_M | 13.792 GB | large, very low quality loss - recommended |
139
+ | [granite-20b-code-base-8k-Q6_K.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q6_K.gguf) | Q6_K | 15.492 GB | very large, extremely low quality loss |
140
+ | [granite-20b-code-base-8k-Q8_0.gguf](https://huggingface.co/tensorblock/granite-20b-code-base-8k-GGUF/tree/main/granite-20b-code-base-8k-Q8_0.gguf) | Q8_0 | 20.006 GB | very large, extremely low quality loss - not recommended |
141
+
142
+
143
+ ## Downloading instruction
144
+
145
+ ### Command line
146
+
147
+ Firstly, install Huggingface Client
148
+
149
+ ```shell
150
+ pip install -U "huggingface_hub[cli]"
151
+ ```
152
+
153
+ Then, downoad the individual model file the a local directory
154
+
155
+ ```shell
156
+ huggingface-cli download tensorblock/granite-20b-code-base-8k-GGUF --include "granite-20b-code-base-8k-Q2_K.gguf" --local-dir MY_LOCAL_DIR
157
+ ```
158
+
159
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
160
+
161
+ ```shell
162
+ huggingface-cli download tensorblock/granite-20b-code-base-8k-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
163
+ ```
granite-20b-code-base-8k-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f56d9e33f434d237e136418aca71a088e306639747a7457392f595fa90b2d47
3
+ size 7929485152
granite-20b-code-base-8k-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0337ebd3199c88f32b694072946fca7ce8aef493ac4919d56f498135ce94428
3
+ size 11736504160
granite-20b-code-base-8k-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79f3d24395a565793c70a29006a836ae0255cfd6d9d7b35a3f669a771701dd0d
3
+ size 10566293344
granite-20b-code-base-8k-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b9fc585cec410bcdf1e342eaf75903d3566c4fb407646bd38d06d8bf770e613
3
+ size 8934594400
granite-20b-code-base-8k-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34d7ac7b95ffa22d5e722f18b81e17d30aa92a95ce750219c0edaf7145f5360d
3
+ size 11552479072
granite-20b-code-base-8k-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cedef153e05490bc88e292eb98e062f6dca5c08c9f90a0dde162b82b96f75d41
3
+ size 12820207456
granite-20b-code-base-8k-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb24f107d7057eee6e2e66afad09633a1f9ad921bf8f40935a5cfc795369d34c
3
+ size 11665725280
granite-20b-code-base-8k-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b6929d67b6cf1a047662fc72cfe8af05c41d52474829ca6822396675f00091f
3
+ size 14016370528
granite-20b-code-base-8k-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e13adb0d5f6fa963126e7dbc69e02113e5a25f908a1346b8064ca2cf3352e6b3
3
+ size 14809339744
granite-20b-code-base-8k-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b8d2656e28f3bbb81a454f11d1fe3988649285744b33c30de0a9ed29faf4bf9
3
+ size 14016370528
granite-20b-code-base-8k-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23344685597c9e45d32ff2e163945bbcee32be1a522e262e0dadaa26c58612b7
3
+ size 16634255200
granite-20b-code-base-8k-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65f11193d2ff72046100b80626186ebecb6f02effe18abfeb34d4ea755368622
3
+ size 21481183072