morriszms commited on
Commit
53e29a2
1 Parent(s): 1ec498f

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-3b-code-instruct-128k-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ granite-3b-code-instruct-128k-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ granite-3b-code-instruct-128k-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ granite-3b-code-instruct-128k-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ granite-3b-code-instruct-128k-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ granite-3b-code-instruct-128k-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ granite-3b-code-instruct-128k-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ granite-3b-code-instruct-128k-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ granite-3b-code-instruct-128k-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ granite-3b-code-instruct-128k-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ granite-3b-code-instruct-128k-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ granite-3b-code-instruct-128k-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: text-generation
3
+ inference: false
4
+ license: apache-2.0
5
+ datasets:
6
+ - bigcode/commitpackft
7
+ - TIGER-Lab/MathInstruct
8
+ - meta-math/MetaMathQA
9
+ - glaiveai/glaive-code-assistant-v3
10
+ - glaive-function-calling-v2
11
+ - bugdaryan/sql-create-context-instruction
12
+ - garage-bAInd/Open-Platypus
13
+ - nvidia/HelpSteer
14
+ - bigcode/self-oss-instruct-sc2-exec-filter-50k
15
+ metrics:
16
+ - code_eval
17
+ library_name: transformers
18
+ tags:
19
+ - code
20
+ - granite
21
+ - TensorBlock
22
+ - GGUF
23
+ base_model: ibm-granite/granite-3b-code-instruct-128k
24
+ model-index:
25
+ - name: granite-3b-code-instruct-128k
26
+ results:
27
+ - task:
28
+ type: text-generation
29
+ dataset:
30
+ name: HumanEvalSynthesis (Python)
31
+ type: bigcode/humanevalpack
32
+ metrics:
33
+ - type: pass@1
34
+ value: 53.7
35
+ name: pass@1
36
+ verified: false
37
+ - type: pass@1
38
+ value: 41.4
39
+ name: pass@1
40
+ verified: false
41
+ - type: pass@1
42
+ value: 25.1
43
+ name: pass@1
44
+ verified: false
45
+ - type: pass@1
46
+ value: 26.2
47
+ name: pass@1
48
+ verified: false
49
+ - task:
50
+ type: text-generation
51
+ dataset:
52
+ name: RepoQA (Python@16K)
53
+ type: repoqa
54
+ metrics:
55
+ - type: pass@1 (thresh=0.5)
56
+ value: 48.0
57
+ name: pass@1 (thresh=0.5)
58
+ verified: false
59
+ - type: pass@1 (thresh=0.5)
60
+ value: 36.0
61
+ name: pass@1 (thresh=0.5)
62
+ verified: false
63
+ - type: pass@1 (thresh=0.5)
64
+ value: 38.0
65
+ name: pass@1 (thresh=0.5)
66
+ verified: false
67
+ - type: pass@1 (thresh=0.5)
68
+ value: 39.0
69
+ name: pass@1 (thresh=0.5)
70
+ verified: false
71
+ - type: pass@1 (thresh=0.5)
72
+ value: 29.0
73
+ name: pass@1 (thresh=0.5)
74
+ verified: false
75
+ ---
76
+
77
+ <div style="width: auto; margin-left: auto; margin-right: auto">
78
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
79
+ </div>
80
+ <div style="display: flex; justify-content: space-between; width: 100%;">
81
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
82
+ <p style="margin-top: 0.5em; margin-bottom: 0em;">
83
+ 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>
84
+ </p>
85
+ </div>
86
+ </div>
87
+
88
+ ## ibm-granite/granite-3b-code-instruct-128k - GGUF
89
+
90
+ This repo contains GGUF format model files for [ibm-granite/granite-3b-code-instruct-128k](https://huggingface.co/ibm-granite/granite-3b-code-instruct-128k).
91
+
92
+ 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).
93
+
94
+ <div style="text-align: left; margin: 20px 0;">
95
+ <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;">
96
+ Run them on the TensorBlock client using your local machine ↗
97
+ </a>
98
+ </div>
99
+
100
+ ## Prompt template
101
+
102
+ ```
103
+ System:
104
+ {system_prompt}
105
+
106
+ Question:
107
+ {prompt}
108
+
109
+ Answer:
110
+ ```
111
+
112
+ ## Model file specification
113
+
114
+ | Filename | Quant type | File Size | Description |
115
+ | -------- | ---------- | --------- | ----------- |
116
+ | [granite-3b-code-instruct-128k-Q2_K.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q2_K.gguf) | Q2_K | 1.247 GB | smallest, significant quality loss - not recommended for most purposes |
117
+ | [granite-3b-code-instruct-128k-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q3_K_S.gguf) | Q3_K_S | 1.445 GB | very small, high quality loss |
118
+ | [granite-3b-code-instruct-128k-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q3_K_M.gguf) | Q3_K_M | 1.608 GB | very small, high quality loss |
119
+ | [granite-3b-code-instruct-128k-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q3_K_L.gguf) | Q3_K_L | 1.747 GB | small, substantial quality loss |
120
+ | [granite-3b-code-instruct-128k-Q4_0.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q4_0.gguf) | Q4_0 | 1.860 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
121
+ | [granite-3b-code-instruct-128k-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q4_K_S.gguf) | Q4_K_S | 1.875 GB | small, greater quality loss |
122
+ | [granite-3b-code-instruct-128k-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q4_K_M.gguf) | Q4_K_M | 1.986 GB | medium, balanced quality - recommended |
123
+ | [granite-3b-code-instruct-128k-Q5_0.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q5_0.gguf) | Q5_0 | 2.251 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
124
+ | [granite-3b-code-instruct-128k-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q5_K_S.gguf) | Q5_K_S | 2.251 GB | large, low quality loss - recommended |
125
+ | [granite-3b-code-instruct-128k-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q5_K_M.gguf) | Q5_K_M | 2.316 GB | large, very low quality loss - recommended |
126
+ | [granite-3b-code-instruct-128k-Q6_K.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q6_K.gguf) | Q6_K | 2.666 GB | very large, extremely low quality loss |
127
+ | [granite-3b-code-instruct-128k-Q8_0.gguf](https://huggingface.co/tensorblock/granite-3b-code-instruct-128k-GGUF/blob/main/granite-3b-code-instruct-128k-Q8_0.gguf) | Q8_0 | 3.451 GB | very large, extremely low quality loss - not recommended |
128
+
129
+
130
+ ## Downloading instruction
131
+
132
+ ### Command line
133
+
134
+ Firstly, install Huggingface Client
135
+
136
+ ```shell
137
+ pip install -U "huggingface_hub[cli]"
138
+ ```
139
+
140
+ Then, downoad the individual model file the a local directory
141
+
142
+ ```shell
143
+ huggingface-cli download tensorblock/granite-3b-code-instruct-128k-GGUF --include "granite-3b-code-instruct-128k-Q2_K.gguf" --local-dir MY_LOCAL_DIR
144
+ ```
145
+
146
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
147
+
148
+ ```shell
149
+ huggingface-cli download tensorblock/granite-3b-code-instruct-128k-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
150
+ ```
granite-3b-code-instruct-128k-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73d0b78d721bf748a391e75e267f1219ec82dfffa30476ad0fad39d4f6db6881
3
+ size 1338694016
granite-3b-code-instruct-128k-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6289d36e8da7db2a05d4ce8f506f38221d80ff437748061de7b3f827f7bc2b6d
3
+ size 1876089216
granite-3b-code-instruct-128k-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1be1af1e71e7810b9a5dfe054e163e8e6cb9223d8b235ec7a34a77128807f115
3
+ size 1726994816
granite-3b-code-instruct-128k-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3505f7058837518913c9ebed44d7fab004a8af744b82e677a9910315aa8aca44
3
+ size 1551686016
granite-3b-code-instruct-128k-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:259e525afc718ba49b87472e666ff0673cf8dd90f4f1c59a8be640d4e43ad87b
3
+ size 1997330816
granite-3b-code-instruct-128k-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c27e1f8798d9ab1f1c2af435f71844990c8a8e889459539ca57c4882b4729fca
3
+ size 2132498816
granite-3b-code-instruct-128k-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d3f8429a028d507463e28f0f1d3b212089687290f3e6a45159fd4e939636184
3
+ size 2013714816
granite-3b-code-instruct-128k-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72e557c5f95057f548e22ce32fa474f964052d117b6878331e5f4266bb186cde
3
+ size 2416761216
granite-3b-code-instruct-128k-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fad97024600c7be3e13ad360161b2fe806b6e45d00c6db34fb1b03d01a84565a
3
+ size 2486393216
granite-3b-code-instruct-128k-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f9a15f2ceb81334f1a0654d5d2a335a1066a7e765bf3938aa21eedc2ec07b6c
3
+ size 2416761216
granite-3b-code-instruct-128k-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24ff4b25dcb2e0799dc2eacfe09f97a7087edc36e804366ade18ad88c85a8afc
3
+ size 2862406016
granite-3b-code-instruct-128k-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e937e8d8054ff5383ac8b410bbf29ee6bf76bde543848076a8aa9ee274868b8b
3
+ size 3705526656