--- base_model: ibm-granite/granite-8b-code-instruct-128k 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 - bigcode/self-oss-instruct-sc2-exec-filter-50k language: - en library_name: transformers license: apache-2.0 quantized_by: mradermacher tags: - code - granite --- ## About static quants of https://huggingface.co/ibm-granite/granite-8b-code-instruct-128k weighted/imatrix quants seem not to be available (by me) at this time. If they do not show up a week or so after the static ones, I have probably not planned for them. Feel free to request them by opening a Community Discussion. ## Usage If you are unsure how to use GGUF files, refer to one of [TheBloke's READMEs](https://huggingface.co/TheBloke/KafkaLM-70B-German-V0.1-GGUF) 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) | Link | Type | Size/GB | Notes | |:-----|:-----|--------:|:------| | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.Q2_K.gguf) | Q2_K | 3.2 | | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.IQ3_XS.gguf) | IQ3_XS | 3.5 | | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.Q3_K_S.gguf) | Q3_K_S | 3.6 | | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.IQ3_S.gguf) | IQ3_S | 3.7 | beats Q3_K* | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.IQ3_M.gguf) | IQ3_M | 3.8 | | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.Q3_K_M.gguf) | Q3_K_M | 4.0 | lower quality | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.Q3_K_L.gguf) | Q3_K_L | 4.4 | | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.IQ4_XS.gguf) | IQ4_XS | 4.5 | | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.Q4_K_S.gguf) | Q4_K_S | 4.7 | fast, recommended | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.Q4_K_M.gguf) | Q4_K_M | 5.0 | fast, recommended | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.Q5_K_S.gguf) | Q5_K_S | 5.7 | | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.Q5_K_M.gguf) | Q5_K_M | 5.8 | | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.Q6_K.gguf) | Q6_K | 6.7 | very good quality | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.Q8_0.gguf) | Q8_0 | 8.7 | fast, best quality | | [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-128k-GGUF/resolve/main/granite-8b-code-instruct-128k.f16.gguf) | f16 | 16.2 | 16 bpw, overkill | Here is a handy graph by ikawrakow comparing some lower-quality quant types (lower is better): ![image.png](https://www.nethype.de/huggingface_embed/quantpplgraph.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](https://www.nethype.de/), for letting me use its servers and providing upgrades to my workstation to enable this work in my free time.