morriszms commited on
Commit
6a682c7
·
verified ·
1 Parent(s): 845abb0

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-34b-code-instruct-8k-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ granite-34b-code-instruct-8k-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ granite-34b-code-instruct-8k-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ granite-34b-code-instruct-8k-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ granite-34b-code-instruct-8k-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ granite-34b-code-instruct-8k-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ granite-34b-code-instruct-8k-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ granite-34b-code-instruct-8k-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ granite-34b-code-instruct-8k-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ granite-34b-code-instruct-8k-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ granite-34b-code-instruct-8k-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ granite-34b-code-instruct-8k-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: text-generation
3
+ base_model: ibm-granite/granite-34b-code-instruct-8k
4
+ inference: true
5
+ license: apache-2.0
6
+ datasets:
7
+ - bigcode/commitpackft
8
+ - TIGER-Lab/MathInstruct
9
+ - meta-math/MetaMathQA
10
+ - glaiveai/glaive-code-assistant-v3
11
+ - glaive-function-calling-v2
12
+ - bugdaryan/sql-create-context-instruction
13
+ - garage-bAInd/Open-Platypus
14
+ - nvidia/HelpSteer
15
+ metrics:
16
+ - code_eval
17
+ library_name: transformers
18
+ tags:
19
+ - code
20
+ - granite
21
+ - TensorBlock
22
+ - GGUF
23
+ model-index:
24
+ - name: granite-34b-code-instruct-8k
25
+ results:
26
+ - task:
27
+ type: text-generation
28
+ dataset:
29
+ name: HumanEvalSynthesis(Python)
30
+ type: bigcode/humanevalpack
31
+ metrics:
32
+ - type: pass@1
33
+ value: 62.2
34
+ name: pass@1
35
+ - type: pass@1
36
+ value: 56.7
37
+ name: pass@1
38
+ - type: pass@1
39
+ value: 62.8
40
+ name: pass@1
41
+ - type: pass@1
42
+ value: 47.6
43
+ name: pass@1
44
+ - type: pass@1
45
+ value: 57.9
46
+ name: pass@1
47
+ - type: pass@1
48
+ value: 41.5
49
+ name: pass@1
50
+ - type: pass@1
51
+ value: 53.0
52
+ name: pass@1
53
+ - type: pass@1
54
+ value: 45.1
55
+ name: pass@1
56
+ - type: pass@1
57
+ value: 50.6
58
+ name: pass@1
59
+ - type: pass@1
60
+ value: 36.0
61
+ name: pass@1
62
+ - type: pass@1
63
+ value: 42.7
64
+ name: pass@1
65
+ - type: pass@1
66
+ value: 23.8
67
+ name: pass@1
68
+ - type: pass@1
69
+ value: 54.9
70
+ name: pass@1
71
+ - type: pass@1
72
+ value: 47.6
73
+ name: pass@1
74
+ - type: pass@1
75
+ value: 55.5
76
+ name: pass@1
77
+ - type: pass@1
78
+ value: 51.2
79
+ name: pass@1
80
+ - type: pass@1
81
+ value: 47.0
82
+ name: pass@1
83
+ - type: pass@1
84
+ value: 45.1
85
+ name: pass@1
86
+ ---
87
+
88
+ <div style="width: auto; margin-left: auto; margin-right: auto">
89
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
90
+ </div>
91
+ <div style="display: flex; justify-content: space-between; width: 100%;">
92
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
93
+ <p style="margin-top: 0.5em; margin-bottom: 0em;">
94
+ 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>
95
+ </p>
96
+ </div>
97
+ </div>
98
+
99
+ ## ibm-granite/granite-34b-code-instruct-8k - GGUF
100
+
101
+ This repo contains GGUF format model files for [ibm-granite/granite-34b-code-instruct-8k](https://huggingface.co/ibm-granite/granite-34b-code-instruct-8k).
102
+
103
+ 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).
104
+
105
+ ## Prompt template
106
+
107
+ ```
108
+ System:
109
+ {system_prompt}
110
+
111
+ Question:
112
+ {prompt}
113
+
114
+ Answer:
115
+ ```
116
+
117
+ ## Model file specification
118
+
119
+ | Filename | Quant type | File Size | Description |
120
+ | -------- | ---------- | --------- | ----------- |
121
+ | [granite-34b-code-instruct-8k-Q2_K.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q2_K.gguf) | Q2_K | 12.207 GB | smallest, significant quality loss - not recommended for most purposes |
122
+ | [granite-34b-code-instruct-8k-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q3_K_S.gguf) | Q3_K_S | 13.791 GB | very small, high quality loss |
123
+ | [granite-34b-code-instruct-8k-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q3_K_M.gguf) | Q3_K_M | 16.361 GB | very small, high quality loss |
124
+ | [granite-34b-code-instruct-8k-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q3_K_L.gguf) | Q3_K_L | 18.207 GB | small, substantial quality loss |
125
+ | [granite-34b-code-instruct-8k-Q4_0.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q4_0.gguf) | Q4_0 | 17.917 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
126
+ | [granite-34b-code-instruct-8k-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q4_K_S.gguf) | Q4_K_S | 18.110 GB | small, greater quality loss |
127
+ | [granite-34b-code-instruct-8k-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q4_K_M.gguf) | Q4_K_M | 19.915 GB | medium, balanced quality - recommended |
128
+ | [granite-34b-code-instruct-8k-Q5_0.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q5_0.gguf) | Q5_0 | 21.800 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
129
+ | [granite-34b-code-instruct-8k-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q5_K_S.gguf) | Q5_K_S | 21.800 GB | large, low quality loss - recommended |
130
+ | [granite-34b-code-instruct-8k-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q5_K_M.gguf) | Q5_K_M | 23.050 GB | large, very low quality loss - recommended |
131
+ | [granite-34b-code-instruct-8k-Q6_K.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q6_K.gguf) | Q6_K | 25.926 GB | very large, extremely low quality loss |
132
+ | [granite-34b-code-instruct-8k-Q8_0.gguf](https://huggingface.co/tensorblock/granite-34b-code-instruct-8k-GGUF/tree/main/granite-34b-code-instruct-8k-Q8_0.gguf) | Q8_0 | 33.518 GB | very large, extremely low quality loss - not recommended |
133
+
134
+
135
+ ## Downloading instruction
136
+
137
+ ### Command line
138
+
139
+ Firstly, install Huggingface Client
140
+
141
+ ```shell
142
+ pip install -U "huggingface_hub[cli]"
143
+ ```
144
+
145
+ Then, downoad the individual model file the a local directory
146
+
147
+ ```shell
148
+ huggingface-cli download tensorblock/granite-34b-code-instruct-8k-GGUF --include "granite-34b-code-instruct-8k-Q2_K.gguf" --local-dir MY_LOCAL_DIR
149
+ ```
150
+
151
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
152
+
153
+ ```shell
154
+ huggingface-cli download tensorblock/granite-34b-code-instruct-8k-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
155
+ ```
granite-34b-code-instruct-8k-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99e990e259feae3d5c02341b691163ca7584dba1f16d0cef109bb641676050c5
3
+ size 13107022144
granite-34b-code-instruct-8k-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91bb91dd64da7cf04163f39da9bde159b698d43721f54d9d34215c2ccb9386ac
3
+ size 19549669696
granite-34b-code-instruct-8k-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:466579373e98ec72dc0f6543eea71509a1e5de1b5e189c46b4d8dbc34f816882
3
+ size 17567861056
granite-34b-code-instruct-8k-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c04a0744c7ffca0cd710469238db80e49bcc7e02ecb4a23b88147bd213dc4062
3
+ size 14807976256
granite-34b-code-instruct-8k-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8fddde839433f20a0087c0a6072693fb55151403b9a0c71279f65a16bddcb9a
3
+ size 19238242624
granite-34b-code-instruct-8k-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:982eff4a94083b558da1f21814841bc262e5c8dffc5bbc7d164441002961ab9f
3
+ size 21383629120
granite-34b-code-instruct-8k-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ac6ef8f4fc9fa18ef19ad14d17adecfd1c229af45c2dd061d645fb2468bb424
3
+ size 19445860672
granite-34b-code-instruct-8k-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7735b0f47fcf3abab6cd03adf9514c3a66c973cd52d69ccf9fb02ab6170e7995
3
+ size 23407905088
granite-34b-code-instruct-8k-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe80956278b94a2369ab6e3d7ce9d0b03fcc27af7552195fef689b6334b167c5
3
+ size 24749852992
granite-34b-code-instruct-8k-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60cd2307c0e3e1d2e2656264de1ca7276afa1a92c4e49e16103618c1834b0800
3
+ size 23407905088
granite-34b-code-instruct-8k-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:534c9e2d41729dc85c277fdbacb4ee19973afa5f0bdf34a42cbd479e76d5956f
3
+ size 27838171456
granite-34b-code-instruct-8k-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dbb05a4ec263d51670bbf5c88fab26cdc942a7b8d2ecd2b783fe726bf0bd43a
3
+ size 35990030656