πŸ“‹ Model Description


base_model: ibm-granite/granite-20b-code-base-8k datasets:
  • codeparrot/github-code-clean
  • bigcode/starcoderdata
  • open-web-math/open-web-math
  • math-ai/StackMathQA
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-20b-code-base-8k


static quants are available at https://huggingface.co/mradermacher/granite-20b-code-base-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_S4.6for the desperate
GGUFi1-IQ1_M5.0mostly desperate
GGUFi1-IQ2_XXS5.7
GGUFi1-IQ2_XS6.3
GGUFi1-IQ2_S6.6
GGUFi1-IQ2_M7.2
GGUFi1-Q2K8.0IQ3XXS probably better
GGUFi1-IQ3_XXS8.2lower quality
GGUFi1-IQ3_XS8.8
GGUFi1-IQ3S9.0beats Q3K*
GGUFi1-Q3KS9.0IQ3XS probably better
GGUFi1-IQ3_M9.7
GGUFi1-Q3KM10.7IQ3S probably better
GGUFi1-IQ4_XS11.0
GGUFi1-Q4_011.7fast, low quality
GGUFi1-Q4K_S11.8optimal size/speed/quality
GGUFi1-Q3KL11.8IQ3M probably better
GGUFi1-Q4K_M12.9fast, recommended
GGUFi1-Q5K_S14.1
GGUFi1-Q5K_M14.9
GGUFi1-Q6K16.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-20b-code-base.i1-IQ1_M.gguf
LFS
4.58 GB Download
granite-20b-code-base.i1-IQ1_S.gguf
LFS
4.21 GB Download
granite-20b-code-base.i1-IQ2_M.gguf
LFS Q2
6.57 GB Download
granite-20b-code-base.i1-IQ2_S.gguf
LFS Q2
6.08 GB Download
granite-20b-code-base.i1-IQ2_XS.gguf
LFS Q2
5.74 GB Download
granite-20b-code-base.i1-IQ2_XXS.gguf
LFS Q2
5.19 GB Download
granite-20b-code-base.i1-IQ3_M.gguf
LFS Q3
8.93 GB Download
granite-20b-code-base.i1-IQ3_S.gguf
LFS Q3
8.32 GB Download
granite-20b-code-base.i1-IQ3_XS.gguf
LFS Q3
8.06 GB Download
granite-20b-code-base.i1-IQ3_XXS.gguf
LFS Q3
7.51 GB Download
granite-20b-code-base.i1-IQ4_XS.gguf
LFS Q4
10.19 GB Download
granite-20b-code-base.i1-Q2_K.gguf
LFS Q2
7.38 GB Download
granite-20b-code-base.i1-Q3_K_L.gguf
LFS Q3
10.93 GB Download
granite-20b-code-base.i1-Q3_K_M.gguf
LFS Q3
9.84 GB Download
granite-20b-code-base.i1-Q3_K_S.gguf
LFS Q3
8.32 GB Download
granite-20b-code-base.i1-Q4_0.gguf
Recommended LFS Q4
10.81 GB Download
granite-20b-code-base.i1-Q4_K_M.gguf
LFS Q4
11.94 GB Download
granite-20b-code-base.i1-Q4_K_S.gguf
LFS Q4
10.86 GB Download
granite-20b-code-base.i1-Q5_K_M.gguf
LFS Q5
13.79 GB Download
granite-20b-code-base.i1-Q5_K_S.gguf
LFS Q5
13.05 GB Download
granite-20b-code-base.i1-Q6_K.gguf
LFS Q6
15.49 GB Download