πŸ“‹ Model Description


base_model: ibm-granite/granite-8b-code-instruct-4k datasets:
  • bigcode/commitpackft
  • TIGER-Lab/MathInstruct
  • meta-math/MetaMathQA
  • glaiveai/glaive-code-assistant-v3
  • glaive-function-calling-v2
  • bugdaryan/sql-create-context-instruction
  • garage-bAInd/Open-Platypus
  • nvidia/HelpSteer
language:
  • en
library_name: transformers license: apache-2.0 quantized_by: mradermacher tags:
  • code
  • granite

About






weighted/imatrix quants of https://huggingface.co/ibm-granite/granite-8b-code-instruct-4k


static quants are available at https://huggingface.co/mradermacher/granite-8b-code-instruct-4k-GGUF

Usage

If you are unsure how to use GGUF files, refer to one of TheBloke's
READMEs
for
more details, including on how to concatenate multi-part files.

Provided Quants

(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)

LinkTypeSize/GBNotes
GGUFi1-IQ1_S1.9for the desperate
GGUFi1-IQ1_M2.1mostly desperate
GGUFi1-IQ2_XXS2.3
GGUFi1-IQ2_XS2.6
GGUFi1-IQ2_S2.7
GGUFi1-IQ2_M2.9
GGUFi1-Q2K3.2IQ3XXS probably better
GGUFi1-IQ3_XXS3.3lower quality
GGUFi1-IQ3_XS3.5
GGUFi1-Q3KS3.6IQ3XS probably better
GGUFi1-IQ3S3.7beats Q3K*
GGUFi1-IQ3_M3.8
GGUFi1-Q3KM4.0IQ3S probably better
GGUFi1-Q3KL4.4IQ3M probably better
GGUFi1-IQ4_XS4.5
GGUFi1-Q404_44.7fast on arm, low quality
GGUFi1-Q404_84.7fast on arm+i8mm, low quality
GGUFi1-Q408_84.7fast on arm+sve, low quality
GGUFi1-Q4_04.7fast, low quality
GGUFi1-Q4K_S4.7optimal size/speed/quality
GGUFi1-Q4K_M5.0fast, recommended
GGUFi1-Q5K_S5.7
GGUFi1-Q5K_M5.8
GGUFi1-Q6K6.7practically like static Q6K
Here is a handy graph by ikawrakow comparing some lower-quality quant types (lower is better):

!image.png

And here are Artefact2's thoughts on the matter:
https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9

FAQ / Model Request

See https://huggingface.co/mradermacher/model_requests for some answers to
questions you might have and/or if you want some other model quantized.

Thanks

I thank my company, nethype GmbH, for letting
me use its servers and providing upgrades to my workstation to enable
this work in my free time. Additional thanks to @nicoboss for giving me access to his private supercomputer, enabling me to provide many more imatrix quants, at much higher quality, than I would otherwise be able to.

πŸ“‚ GGUF File List

πŸ“ Filename πŸ“¦ Size ⚑ Download
granite-8b-code-instruct-4k.i1-IQ1_M.gguf
LFS
1.83 GB Download
granite-8b-code-instruct-4k.i1-IQ1_S.gguf
LFS
1.68 GB Download
granite-8b-code-instruct-4k.i1-IQ2_M.gguf
LFS Q2
2.6 GB Download
granite-8b-code-instruct-4k.i1-IQ2_S.gguf
LFS Q2
2.4 GB Download
granite-8b-code-instruct-4k.i1-IQ2_XS.gguf
LFS Q2
2.3 GB Download
granite-8b-code-instruct-4k.i1-IQ2_XXS.gguf
LFS Q2
2.08 GB Download
granite-8b-code-instruct-4k.i1-IQ3_M.gguf
LFS Q3
3.43 GB Download
granite-8b-code-instruct-4k.i1-IQ3_S.gguf
LFS Q3
3.32 GB Download
granite-8b-code-instruct-4k.i1-IQ3_XS.gguf
LFS Q3
3.15 GB Download
granite-8b-code-instruct-4k.i1-IQ3_XXS.gguf
LFS Q3
2.94 GB Download
granite-8b-code-instruct-4k.i1-IQ4_XS.gguf
LFS Q4
4.07 GB Download
granite-8b-code-instruct-4k.i1-Q2_K.gguf
LFS Q2
2.85 GB Download
granite-8b-code-instruct-4k.i1-Q3_K_L.gguf
LFS Q3
3.99 GB Download
granite-8b-code-instruct-4k.i1-Q3_K_M.gguf
LFS Q3
3.67 GB Download
granite-8b-code-instruct-4k.i1-Q3_K_S.gguf
LFS Q3
3.3 GB Download
granite-8b-code-instruct-4k.i1-Q4_0.gguf
Recommended LFS Q4
4.29 GB Download
granite-8b-code-instruct-4k.i1-Q4_0_4_4.gguf
LFS Q4
4.28 GB Download
granite-8b-code-instruct-4k.i1-Q4_0_4_8.gguf
LFS Q4
4.28 GB Download
granite-8b-code-instruct-4k.i1-Q4_0_8_8.gguf
LFS Q4
4.28 GB Download
granite-8b-code-instruct-4k.i1-Q4_K_M.gguf
LFS Q4
4.55 GB Download
granite-8b-code-instruct-4k.i1-Q4_K_S.gguf
LFS Q4
4.3 GB Download
granite-8b-code-instruct-4k.i1-Q5_K_M.gguf
LFS Q5
5.33 GB Download
granite-8b-code-instruct-4k.i1-Q5_K_S.gguf
LFS Q5
5.19 GB Download
granite-8b-code-instruct-4k.i1-Q6_K.gguf
LFS Q6
6.16 GB Download