Commit ·
e2e979d
verified ·
0
Parent(s):
Super-squash history to reclaim storage
Browse files- .gitattributes +77 -0
- README.md +349 -0
- granite-3b-code-base-128k-bf16.gguf +3 -0
- granite-3b-code-base-128k-bf16_q8_0.gguf +3 -0
- granite-3b-code-base-128k-f16_q8_0.gguf +3 -0
- granite-3b-code-base-128k-iq2_m.gguf +3 -0
- granite-3b-code-base-128k-iq2_s.gguf +3 -0
- granite-3b-code-base-128k-iq2_xs.gguf +3 -0
- granite-3b-code-base-128k-iq2_xxs.gguf +3 -0
- granite-3b-code-base-128k-iq3_m.gguf +3 -0
- granite-3b-code-base-128k-iq3_s.gguf +3 -0
- granite-3b-code-base-128k-iq3_xs.gguf +3 -0
- granite-3b-code-base-128k-iq3_xxs.gguf +3 -0
- granite-3b-code-base-128k-iq4_nl.gguf +3 -0
- granite-3b-code-base-128k-iq4_xs.gguf +3 -0
- granite-3b-code-base-128k-q2_k_m.gguf +3 -0
- granite-3b-code-base-128k-q2_k_s.gguf +3 -0
- granite-3b-code-base-128k-q3_k_m.gguf +3 -0
- granite-3b-code-base-128k-q3_k_s.gguf +3 -0
- granite-3b-code-base-128k-q4_0.gguf +3 -0
- granite-3b-code-base-128k-q4_1.gguf +3 -0
- granite-3b-code-base-128k-q4_k_m.gguf +3 -0
- granite-3b-code-base-128k-q4_k_s.gguf +3 -0
- granite-3b-code-base-128k-q5_0.gguf +3 -0
- granite-3b-code-base-128k-q5_1.gguf +3 -0
- granite-3b-code-base-128k-q5_k_m.gguf +3 -0
- granite-3b-code-base-128k-q5_k_s.gguf +3 -0
- granite-3b-code-base-128k-q6_k_m.gguf +3 -0
- granite-3b-code-base-128k-q8_0.gguf +3 -0
- granite-3b-code-base-128k.imatrix +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz 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-base-128k-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
granite-3b-code-base-128k-f16_q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
granite-3b-code-base-128k-bf16_q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
granite-3b-code-base-128k-f16_q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
granite-3b-code-base-128k-bf16_q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
granite-3b-code-base-128k-f16_q4_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
granite-3b-code-base-128k-bf16_q4_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
granite-3b-code-base-128k-q2_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
granite-3b-code-base-128k-q3_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
granite-3b-code-base-128k-q4_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
granite-3b-code-base-128k-q5_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
granite-3b-code-base-128k-q6_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
granite-3b-code-base-128k-q2_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
granite-3b-code-base-128k-q2_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
granite-3b-code-base-128k-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
granite-3b-code-base-128k-q3_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
granite-3b-code-base-128k-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
granite-3b-code-base-128k-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
granite-3b-code-base-128k-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
granite-3b-code-base-128k-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
granite-3b-code-base-128k-q6_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
granite-3b-code-base-128k-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
granite-3b-code-base-128k-q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
granite-3b-code-base-128k-q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
granite-3b-code-base-128k-q4_0_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
granite-3b-code-base-128k-q4_1_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
granite-3b-code-base-128k-q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
granite-3b-code-base-128k-q5_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
granite-3b-code-base-128k-q5_0_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
granite-3b-code-base-128k-q5_1_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
granite-3b-code-base-128k-iq2_xs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
granite-3b-code-base-128k-iq2_xxs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
granite-3b-code-base-128k-iq2_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
granite-3b-code-base-128k-iq2_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
granite-3b-code-base-128k-iq3_xs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
granite-3b-code-base-128k-iq3_xxs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
granite-3b-code-base-128k-iq3_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
granite-3b-code-base-128k-iq3_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
granite-3b-code-base-128k-iq4_xs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
granite-3b-code-base-128k-iq4_nl.gguf filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
granite-3b-code-base-128k.imatrix filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
granite-3b-code-base-128k-bf16.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,349 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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Stackexchange
|
| 9 |
+
# - CommonCrawl
|
| 10 |
+
- open-web-math/open-web-math
|
| 11 |
+
- math-ai/StackMathQA
|
| 12 |
+
# - Arxiv
|
| 13 |
+
# - Wikipedia
|
| 14 |
+
# - conceptofmind/FLAN_2022 # Original link is broken, we used IBM's filtered version
|
| 15 |
+
metrics:
|
| 16 |
+
- code_eval
|
| 17 |
+
library_name: transformers
|
| 18 |
+
tags:
|
| 19 |
+
- code
|
| 20 |
+
- granite
|
| 21 |
+
model-index:
|
| 22 |
+
- name: granite-3b-code-base-128k
|
| 23 |
+
results:
|
| 24 |
+
- task:
|
| 25 |
+
type: text-generation
|
| 26 |
+
dataset:
|
| 27 |
+
type: bigcode/humanevalpack
|
| 28 |
+
name: HumanEvalSynthesis (Python)
|
| 29 |
+
metrics:
|
| 30 |
+
- name: pass@1
|
| 31 |
+
type: pass@1
|
| 32 |
+
value: 36.0
|
| 33 |
+
verified: false
|
| 34 |
+
- task:
|
| 35 |
+
type: text-generation
|
| 36 |
+
dataset:
|
| 37 |
+
type: bigcode/humanevalpack
|
| 38 |
+
name: HumanEvalSynthesis (Average)
|
| 39 |
+
metrics:
|
| 40 |
+
- name: pass@1
|
| 41 |
+
type: pass@1
|
| 42 |
+
value: 30.5
|
| 43 |
+
verified: false
|
| 44 |
+
- task:
|
| 45 |
+
type: text-generation
|
| 46 |
+
dataset:
|
| 47 |
+
type: bigcode/humanevalpack
|
| 48 |
+
name: HumanEvalExplain (Average)
|
| 49 |
+
metrics:
|
| 50 |
+
- name: pass@1
|
| 51 |
+
type: pass@1
|
| 52 |
+
value: 22.4
|
| 53 |
+
verified: false
|
| 54 |
+
- task:
|
| 55 |
+
type: text-generation
|
| 56 |
+
dataset:
|
| 57 |
+
type: bigcode/humanevalpack
|
| 58 |
+
name: HumanEvalFix (Average)
|
| 59 |
+
metrics:
|
| 60 |
+
- name: pass@1
|
| 61 |
+
type: pass@1
|
| 62 |
+
value: 19.9
|
| 63 |
+
verified: false
|
| 64 |
+
- task:
|
| 65 |
+
type: text-generation
|
| 66 |
+
dataset:
|
| 67 |
+
type: repoqa
|
| 68 |
+
name: RepoQA (Python@16K)
|
| 69 |
+
metrics:
|
| 70 |
+
- name: pass@1 (thresh=0.5)
|
| 71 |
+
type: pass@1 (thresh=0.5)
|
| 72 |
+
value: 40.0
|
| 73 |
+
verified: false
|
| 74 |
+
- task:
|
| 75 |
+
type: text-generation
|
| 76 |
+
dataset:
|
| 77 |
+
type: repoqa
|
| 78 |
+
name: RepoQA (C++@16K)
|
| 79 |
+
metrics:
|
| 80 |
+
- name: pass@1 (thresh=0.5)
|
| 81 |
+
type: pass@1 (thresh=0.5)
|
| 82 |
+
value: 36.0
|
| 83 |
+
verified: false
|
| 84 |
+
- task:
|
| 85 |
+
type: text-generation
|
| 86 |
+
dataset:
|
| 87 |
+
type: repoqa
|
| 88 |
+
name: RepoQA (Java@16K)
|
| 89 |
+
metrics:
|
| 90 |
+
- name: pass@1 (thresh=0.5)
|
| 91 |
+
type: pass@1 (thresh=0.5)
|
| 92 |
+
value: 37.0
|
| 93 |
+
verified: false
|
| 94 |
+
- task:
|
| 95 |
+
type: text-generation
|
| 96 |
+
dataset:
|
| 97 |
+
type: repoqa
|
| 98 |
+
name: RepoQA (TypeScript@16K)
|
| 99 |
+
metrics:
|
| 100 |
+
- name: pass@1 (thresh=0.5)
|
| 101 |
+
type: pass@1 (thresh=0.5)
|
| 102 |
+
value: 27.0
|
| 103 |
+
verified: false
|
| 104 |
+
- task:
|
| 105 |
+
type: text-generation
|
| 106 |
+
dataset:
|
| 107 |
+
type: repoqa
|
| 108 |
+
name: RepoQA (Rust@16K)
|
| 109 |
+
metrics:
|
| 110 |
+
- name: pass@1 (thresh=0.5)
|
| 111 |
+
type: pass@1 (thresh=0.5)
|
| 112 |
+
value: 29.0
|
| 113 |
+
verified: false
|
| 114 |
+
- task:
|
| 115 |
+
type: text-generation
|
| 116 |
+
dataset:
|
| 117 |
+
type: lcc
|
| 118 |
+
name: LCC (Balanced)
|
| 119 |
+
metrics:
|
| 120 |
+
- name: Exact Match@4K
|
| 121 |
+
type: Exact Match@4K
|
| 122 |
+
value: 54.6
|
| 123 |
+
verified: false
|
| 124 |
+
- task:
|
| 125 |
+
type: text-generation
|
| 126 |
+
dataset:
|
| 127 |
+
type: lcc
|
| 128 |
+
name: LCC (Balanced)
|
| 129 |
+
metrics:
|
| 130 |
+
- name: Exact Match@8K
|
| 131 |
+
type: Exact Match@8K
|
| 132 |
+
value: 56.8
|
| 133 |
+
verified: false
|
| 134 |
+
- task:
|
| 135 |
+
type: text-generation
|
| 136 |
+
dataset:
|
| 137 |
+
type: lcc
|
| 138 |
+
name: LCC (Balanced)
|
| 139 |
+
metrics:
|
| 140 |
+
- name: Exact Match@16K
|
| 141 |
+
type: Exact Match@16K
|
| 142 |
+
value: 52.2
|
| 143 |
+
verified: false
|
| 144 |
+
- task:
|
| 145 |
+
type: text-generation
|
| 146 |
+
dataset:
|
| 147 |
+
type: lcc
|
| 148 |
+
name: LCC (Balanced)
|
| 149 |
+
metrics:
|
| 150 |
+
- name: Exact Match@32K
|
| 151 |
+
type: Exact Match@32K
|
| 152 |
+
value: 57.8
|
| 153 |
+
verified: false
|
| 154 |
+
- task:
|
| 155 |
+
type: text-generation
|
| 156 |
+
dataset:
|
| 157 |
+
type: repobench
|
| 158 |
+
name: RepoBench-P (Balanced)
|
| 159 |
+
metrics:
|
| 160 |
+
- name: Exact Match@4K
|
| 161 |
+
type: Exact Match@4K
|
| 162 |
+
value: 39.8
|
| 163 |
+
verified: false
|
| 164 |
+
- task:
|
| 165 |
+
type: text-generation
|
| 166 |
+
dataset:
|
| 167 |
+
type: repobench
|
| 168 |
+
name: RepoBench-P (Balanced)
|
| 169 |
+
metrics:
|
| 170 |
+
- name: Exact Match@8K
|
| 171 |
+
type: Exact Match@8K
|
| 172 |
+
value: 46.8
|
| 173 |
+
verified: false
|
| 174 |
+
- task:
|
| 175 |
+
type: text-generation
|
| 176 |
+
dataset:
|
| 177 |
+
type: repobench
|
| 178 |
+
name: RepoBench-P (Balanced)
|
| 179 |
+
metrics:
|
| 180 |
+
- name: Exact Match@16K
|
| 181 |
+
type: Exact Match@16K
|
| 182 |
+
value: 43.1
|
| 183 |
+
verified: false
|
| 184 |
+
- task:
|
| 185 |
+
type: text-generation
|
| 186 |
+
dataset:
|
| 187 |
+
type: repobench
|
| 188 |
+
name: RepoBench-Pn(Balanced)
|
| 189 |
+
metrics:
|
| 190 |
+
- name: Exact Match@32K
|
| 191 |
+
type: Exact Match@32K
|
| 192 |
+
value: 45.3
|
| 193 |
+
verified: false
|
| 194 |
+
---
|
| 195 |
+
|
| 196 |
+
# <span style="color: #7FFF7F;">granite-3b-code-base-128k GGUF Models</span>
|
| 197 |
+
|
| 198 |
+
|
| 199 |
+
## <span style="color: #7F7FFF;">Model Generation Details</span>
|
| 200 |
+
|
| 201 |
+
This model was generated using [llama.cpp](https://github.com/ggerganov/llama.cpp) at commit [`0a5a3b5c`](https://github.com/ggerganov/llama.cpp/commit/0a5a3b5cdfd887cf0f8e09d9ff89dee130cfcdde).
|
| 202 |
+
|
| 203 |
+
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
|
| 207 |
+
---
|
| 208 |
+
|
| 209 |
+
## <span style="color: #7FFF7F;">Quantization Beyond the IMatrix</span>
|
| 210 |
+
|
| 211 |
+
I've been experimenting with a new quantization approach that selectively elevates the precision of key layers beyond what the default IMatrix configuration provides.
|
| 212 |
+
|
| 213 |
+
In my testing, standard IMatrix quantization underperforms at lower bit depths, especially with Mixture of Experts (MoE) models. To address this, I'm using the `--tensor-type` option in `llama.cpp` to manually "bump" important layers to higher precision. You can see the implementation here:
|
| 214 |
+
👉 [Layer bumping with llama.cpp](https://github.com/Mungert69/GGUFModelBuilder/blob/main/model-converter/tensor_list_builder.py)
|
| 215 |
+
|
| 216 |
+
While this does increase model file size, it significantly improves precision for a given quantization level.
|
| 217 |
+
|
| 218 |
+
### **I'd love your feedback—have you tried this? How does it perform for you?**
|
| 219 |
+
|
| 220 |
+
|
| 221 |
+
|
| 222 |
+
|
| 223 |
+
---
|
| 224 |
+
|
| 225 |
+
<a href="https://readyforquantum.com/huggingface_gguf_selection_guide.html" style="color: #7FFF7F;">
|
| 226 |
+
Click here to get info on choosing the right GGUF model format
|
| 227 |
+
</a>
|
| 228 |
+
|
| 229 |
+
---
|
| 230 |
+
|
| 231 |
+
|
| 232 |
+
|
| 233 |
+
<!--Begin Original Model Card-->
|
| 234 |
+
|
| 235 |
+
|
| 236 |
+

|
| 237 |
+
|
| 238 |
+
# Granite-3B-Code-Base-128K
|
| 239 |
+
|
| 240 |
+
## Model Summary
|
| 241 |
+
**Granite-3B-Code-Base-128K** extends the context length of Granite-3B-Code-Base from 2K to 128K with continual pretraining using the original training data but with repository-level file packing and per-language length upsampling, that we found to be critical for long-context pretraining.
|
| 242 |
+
We adopt an progressive training strategy where we doubled the context window until it reached the desired length of 128K by appropriately adjusting RoPE theta. We trained on 4B tokens total for all stages, which is only 0.1% of Granite-3B-Code-Base's original pre-training data.
|
| 243 |
+
|
| 244 |
+
- **Developers:** IBM Research
|
| 245 |
+
- **GitHub Repository:** [ibm-granite/granite-code-models](https://github.com/ibm-granite/granite-code-models)
|
| 246 |
+
- **Paper:** [Scaling Granite Code Models to 128K Context](https://arxiv.org/abs/2405.04324)
|
| 247 |
+
- **Release Date**: July 18th, 2024
|
| 248 |
+
- **License:** [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
| 249 |
+
|
| 250 |
+
## Usage
|
| 251 |
+
### Intended use
|
| 252 |
+
Prominent enterprise use cases of LLMs in software engineering productivity with 128K context length support that includes code generation, code explanation, code fixing, generating unit tests, generating documentation, addressing technical debt issues, vulnerability detection, code translation, and more. All Granite Code Base models, including the **3B parameter model**, are able to handle these tasks as they were trained on a large amount of code data from 116 programming languages.
|
| 253 |
+
|
| 254 |
+
### Generation
|
| 255 |
+
This is a simple example of how to use **Granite-3B-Code-Base-128K** model.
|
| 256 |
+
|
| 257 |
+
```python
|
| 258 |
+
import torch
|
| 259 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 260 |
+
device = "cuda" # or "cpu"
|
| 261 |
+
model_path = "ibm-granite/granite-3b-code-base-128k"
|
| 262 |
+
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
| 263 |
+
# drop device_map if running on CPU
|
| 264 |
+
model = AutoModelForCausalLM.from_pretrained(model_path, device_map=device)
|
| 265 |
+
model.eval()
|
| 266 |
+
# change input text as desired
|
| 267 |
+
input_text = "def generate():"
|
| 268 |
+
# tokenize the text
|
| 269 |
+
input_tokens = tokenizer(input_text, return_tensors="pt")
|
| 270 |
+
# transfer tokenized inputs to the device
|
| 271 |
+
for i in input_tokens:
|
| 272 |
+
input_tokens[i] = input_tokens[i].to(device)
|
| 273 |
+
# generate output tokens
|
| 274 |
+
output = model.generate(**input_tokens)
|
| 275 |
+
# decode output tokens into text
|
| 276 |
+
output = tokenizer.batch_decode(output)
|
| 277 |
+
# loop over the batch to print, in this example the batch size is 1
|
| 278 |
+
for i in output:
|
| 279 |
+
print(i)
|
| 280 |
+
```
|
| 281 |
+
|
| 282 |
+
## Training Data
|
| 283 |
+
Starting from the base Granite model, this model was further pretrained on repository-level code data with per-language context-length oversampling, allowing it to effectively utilize up to 128K tokens of context. This continued training stage focused on a curated selection of programming languages, such as Python, C, C++, Go, Java, JavaScript, and TypeScript.
|
| 284 |
+
|
| 285 |
+
## Infrastructure
|
| 286 |
+
We train the Granite Code models using two of IBM's super computing clusters, namely Vela and Blue Vela, both outfitted with NVIDIA A100 and H100 GPUs respectively. These clusters provide a scalable and efficient infrastructure for training our models over thousands of GPUs.
|
| 287 |
+
|
| 288 |
+
## Ethical Considerations and Limitations
|
| 289 |
+
The use of Large Language Models involves risks and ethical considerations people must be aware of. Regarding code generation, caution is urged against complete reliance on specific code models for crucial decisions or impactful information as the generated code is not guaranteed to work as intended. **Granite-3B-Code-Base-128K** model is not the exception in this regard. Even though this model is suited for multiple code-related tasks, it has not undergone any safety alignment, there it may produce problematic outputs. Additionally, it remains uncertain whether smaller models might exhibit increased susceptibility to hallucination in generation scenarios by copying source code verbatim from the training dataset due to their reduced sizes and memorization capacities. This aspect is currently an active area of research, and we anticipate more rigorous exploration, comprehension, and mitigations in this domain. Regarding ethics, a latent risk associated with all Large Language Models is their malicious utilization. We urge the community to use **Granite-3B-Code-Base-128K** model with ethical intentions and in a responsible way.
|
| 290 |
+
|
| 291 |
+
|
| 292 |
+
<!--End Original Model Card-->
|
| 293 |
+
|
| 294 |
+
---
|
| 295 |
+
|
| 296 |
+
# <span id="testllm" style="color: #7F7FFF;">🚀 If you find these models useful</span>
|
| 297 |
+
|
| 298 |
+
Help me test my **AI-Powered Quantum Network Monitor Assistant** with **quantum-ready security checks**:
|
| 299 |
+
|
| 300 |
+
👉 [Quantum Network Monitor](https://readyforquantum.com/?assistant=open&utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme)
|
| 301 |
+
|
| 302 |
+
|
| 303 |
+
The full Open Source Code for the Quantum Network Monitor Service available at my github repos ( repos with NetworkMonitor in the name) : [Source Code Quantum Network Monitor](https://github.com/Mungert69). You will also find the code I use to quantize the models if you want to do it yourself [GGUFModelBuilder](https://github.com/Mungert69/GGUFModelBuilder)
|
| 304 |
+
|
| 305 |
+
💬 **How to test**:
|
| 306 |
+
Choose an **AI assistant type**:
|
| 307 |
+
- `TurboLLM` (GPT-4.1-mini)
|
| 308 |
+
- `HugLLM` (Hugginface Open-source models)
|
| 309 |
+
- `TestLLM` (Experimental CPU-only)
|
| 310 |
+
|
| 311 |
+
### **What I’m Testing**
|
| 312 |
+
I’m pushing the limits of **small open-source models for AI network monitoring**, specifically:
|
| 313 |
+
- **Function calling** against live network services
|
| 314 |
+
- **How small can a model go** while still handling:
|
| 315 |
+
- Automated **Nmap security scans**
|
| 316 |
+
- **Quantum-readiness checks**
|
| 317 |
+
- **Network Monitoring tasks**
|
| 318 |
+
|
| 319 |
+
🟡 **TestLLM** – Current experimental model (llama.cpp on 2 CPU threads on huggingface docker space):
|
| 320 |
+
- ✅ **Zero-configuration setup**
|
| 321 |
+
- ⏳ 30s load time (slow inference but **no API costs**) . No token limited as the cost is low.
|
| 322 |
+
- 🔧 **Help wanted!** If you’re into **edge-device AI**, let’s collaborate!
|
| 323 |
+
|
| 324 |
+
### **Other Assistants**
|
| 325 |
+
🟢 **TurboLLM** – Uses **gpt-4.1-mini** :
|
| 326 |
+
- **It performs very well but unfortunatly OpenAI charges per token. For this reason tokens usage is limited.
|
| 327 |
+
- **Create custom cmd processors to run .net code on Quantum Network Monitor Agents**
|
| 328 |
+
- **Real-time network diagnostics and monitoring**
|
| 329 |
+
- **Security Audits**
|
| 330 |
+
- **Penetration testing** (Nmap/Metasploit)
|
| 331 |
+
|
| 332 |
+
🔵 **HugLLM** – Latest Open-source models:
|
| 333 |
+
- 🌐 Runs on Hugging Face Inference API. Performs pretty well using the lastest models hosted on Novita.
|
| 334 |
+
|
| 335 |
+
### 💡 **Example commands you could test**:
|
| 336 |
+
1. `"Give me info on my websites SSL certificate"`
|
| 337 |
+
2. `"Check if my server is using quantum safe encyption for communication"`
|
| 338 |
+
3. `"Run a comprehensive security audit on my server"`
|
| 339 |
+
4. '"Create a cmd processor to .. (what ever you want)" Note you need to install a [Quantum Network Monitor Agent](https://readyforquantum.com/Download/?utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme) to run the .net code on. This is a very flexible and powerful feature. Use with caution!
|
| 340 |
+
|
| 341 |
+
### Final Word
|
| 342 |
+
|
| 343 |
+
I fund the servers used to create these model files, run the Quantum Network Monitor service, and pay for inference from Novita and OpenAI—all out of my own pocket. All the code behind the model creation and the Quantum Network Monitor project is [open source](https://github.com/Mungert69). Feel free to use whatever you find helpful.
|
| 344 |
+
|
| 345 |
+
If you appreciate the work, please consider [buying me a coffee](https://www.buymeacoffee.com/mahadeva) ☕. Your support helps cover service costs and allows me to raise token limits for everyone.
|
| 346 |
+
|
| 347 |
+
I'm also open to job opportunities or sponsorship.
|
| 348 |
+
|
| 349 |
+
Thank you! 😊
|
granite-3b-code-base-128k-bf16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:705fa7d56ba7fbc893b200c3444e827ed2bff0ded03f463fcc146b7cc96bb489
|
| 3 |
+
size 6969219680
|
granite-3b-code-base-128k-bf16_q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eaf75ae1c98e79a7cbe9846e52073d56ee5e0d4a7fd409dd95883f0b132d3d01
|
| 3 |
+
size 5003139680
|
granite-3b-code-base-128k-f16_q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e46feb1ecd61a70aa00fb169a4da117167cf50217610d3f364034e507912bb0b
|
| 3 |
+
size 5003139680
|
granite-3b-code-base-128k-iq2_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5fe8b7485df36d139fa08c50c0c7167e77835bbc970c6882720a56e9d3df4912
|
| 3 |
+
size 1273854912
|
granite-3b-code-base-128k-iq2_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a72289beddc09220b66dfc71492aa38c463f5e6999201940571ce8bc34fdfa5
|
| 3 |
+
size 1214053312
|
granite-3b-code-base-128k-iq2_xs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5f8f176557d38cd99d68896900498883ad9de85a6d0734e9aecc85b75243c8e
|
| 3 |
+
size 1173912512
|
granite-3b-code-base-128k-iq2_xxs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86979aab62f45504a43d87bc2e109263adb727c277d13fea89ac2dd7a6fb40df
|
| 3 |
+
size 1077042112
|
granite-3b-code-base-128k-iq3_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:211402b4231729eefee161394408d4b382f34ff89926c3b2fead90836f56e578
|
| 3 |
+
size 1654987712
|
granite-3b-code-base-128k-iq3_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba0cc960b8794f06c721dcbcfeaf385596f2e4451cd3b36c4a82684ecdce149a
|
| 3 |
+
size 1654987712
|
granite-3b-code-base-128k-iq3_xs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64b70e0d9757405b6f81aa593abd3472e17ace154e12c8747d5ee80785e1112f
|
| 3 |
+
size 1482955712
|
granite-3b-code-base-128k-iq3_xxs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5904aff168c3a8d0b487a24145adfa41678b118b5073f9a43ca7b3ceb817684a
|
| 3 |
+
size 1437080512
|
granite-3b-code-base-128k-iq4_nl.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba6061e3acdd0ec37981391e01ed8de1ce9175490c3b4e555e9eddcb40355ab4
|
| 3 |
+
size 1997331392
|
granite-3b-code-base-128k-iq4_xs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83c8770bcf54554a98e408443f9410438d4350421354ab85ca961ef826584ae3
|
| 3 |
+
size 1892473792
|
granite-3b-code-base-128k-q2_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2e0726f3f444d3b7b4afeb76e43dadc9a84bd903509c53eb2e47a3335af68a0
|
| 3 |
+
size 1331321792
|
granite-3b-code-base-128k-q2_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed1961afc4687e7a1b1ea4e0759314b21615750a72c8f8cb68e9bec385edc083
|
| 3 |
+
size 1314610112
|
granite-3b-code-base-128k-q3_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5539ef8d0677f70b2e93e48f5f586ad26d74147265b38ec118847ee50f746d6
|
| 3 |
+
size 1713888192
|
granite-3b-code-base-128k-q3_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77af5b53fa8612503055da7edf16b972a7b2b685816a06257807eabfebaa4f7e
|
| 3 |
+
size 1697176512
|
granite-3b-code-base-128k-q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69eb4ac1ac5513eeeafef387d7d007a3c081880f9b9dc415622b9005890561ae
|
| 3 |
+
size 1964891072
|
granite-3b-code-base-128k-q4_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3ef010d88af773c7290c6c48c9afdf5e8a07b9afaa28427c14fd8591d869a80
|
| 3 |
+
size 2182470592
|
granite-3b-code-base-128k-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:341f79f315c1aced35c474498e1e2d1abf33832af176c39bd33b3c607ac9cc7e
|
| 3 |
+
size 2104236992
|
granite-3b-code-base-128k-q4_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:daa7ebede6f140f103cf549d38087b5d385bf78501c1a6842c5bdd6141dd71d5
|
| 3 |
+
size 2036652992
|
granite-3b-code-base-128k-q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c19231bb13848c4988c64ec0c449172f2fa7f641908ae0c2ac37196e1fdc01aa
|
| 3 |
+
size 2400050112
|
granite-3b-code-base-128k-q5_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8dde82af1cf7ec24d2faa864b3c24410d9fd3860bdc8d13386d3eab1c1e79dce
|
| 3 |
+
size 2617629632
|
granite-3b-code-base-128k-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9851c78e176ee3e3b4eb1bb2fb14cb61b5cafecdd32f35344ffa641da4ba519
|
| 3 |
+
size 2493356992
|
granite-3b-code-base-128k-q5_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cc82279dfe415af6ed92ed89fe03cfbf859da13bad333a439879e59e3ecd26d
|
| 3 |
+
size 2458540992
|
granite-3b-code-base-128k-q6_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e537e968a1adc79d5102531bafcccc95c5f8488d7b04e93904ab0ebedc164537
|
| 3 |
+
size 2862406592
|
granite-3b-code-base-128k-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6a6340fb3c0a5a0c34480f04758f61f5966a3a621d2ffbb3dde13f6e918af5f
|
| 3 |
+
size 3705526880
|
granite-3b-code-base-128k.imatrix
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:428cdf271eae8b1f7f72fb6e7d2e716f9dcc46da8822b72e696b1949d4c75791
|
| 3 |
+
size 3284268
|