From 1bc7f20cc565e18bb5facf4b9a28d08d09bfce12 Mon Sep 17 00:00:00 2001 From: ModelHub XC Date: Sun, 12 Apr 2026 23:41:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=EF=BC=8C=E7=94=B1ModelHub=20XC=E7=A4=BE=E5=8C=BA=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Model: mradermacher/granite-8b-code-instruct-GGUF Source: Original Platform --- .gitattributes | 50 ++++++++++++++++++ README.md | 79 ++++++++++++++++++++++++++++ granite-8b-code-instruct.IQ3_M.gguf | 3 ++ granite-8b-code-instruct.IQ3_S.gguf | 3 ++ granite-8b-code-instruct.IQ3_XS.gguf | 3 ++ granite-8b-code-instruct.IQ4_XS.gguf | 3 ++ granite-8b-code-instruct.Q2_K.gguf | 3 ++ granite-8b-code-instruct.Q3_K_L.gguf | 3 ++ granite-8b-code-instruct.Q3_K_M.gguf | 3 ++ granite-8b-code-instruct.Q3_K_S.gguf | 3 ++ granite-8b-code-instruct.Q4_K_M.gguf | 3 ++ granite-8b-code-instruct.Q4_K_S.gguf | 3 ++ granite-8b-code-instruct.Q5_K_M.gguf | 3 ++ granite-8b-code-instruct.Q5_K_S.gguf | 3 ++ granite-8b-code-instruct.Q6_K.gguf | 3 ++ granite-8b-code-instruct.Q8_0.gguf | 3 ++ granite-8b-code-instruct.f16.gguf | 3 ++ 17 files changed, 174 insertions(+) create mode 100644 .gitattributes create mode 100644 README.md create mode 100644 granite-8b-code-instruct.IQ3_M.gguf create mode 100644 granite-8b-code-instruct.IQ3_S.gguf create mode 100644 granite-8b-code-instruct.IQ3_XS.gguf create mode 100644 granite-8b-code-instruct.IQ4_XS.gguf create mode 100644 granite-8b-code-instruct.Q2_K.gguf create mode 100644 granite-8b-code-instruct.Q3_K_L.gguf create mode 100644 granite-8b-code-instruct.Q3_K_M.gguf create mode 100644 granite-8b-code-instruct.Q3_K_S.gguf create mode 100644 granite-8b-code-instruct.Q4_K_M.gguf create mode 100644 granite-8b-code-instruct.Q4_K_S.gguf create mode 100644 granite-8b-code-instruct.Q5_K_M.gguf create mode 100644 granite-8b-code-instruct.Q5_K_S.gguf create mode 100644 granite-8b-code-instruct.Q6_K.gguf create mode 100644 granite-8b-code-instruct.Q8_0.gguf create mode 100644 granite-8b-code-instruct.f16.gguf diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ee4191b --- /dev/null +++ b/.gitattributes @@ -0,0 +1,50 @@ +*.7z filter=lfs diff=lfs merge=lfs -text +*.arrow filter=lfs diff=lfs merge=lfs -text +*.bin filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.ckpt filter=lfs diff=lfs merge=lfs -text +*.ftz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.h5 filter=lfs diff=lfs merge=lfs -text +*.joblib filter=lfs diff=lfs merge=lfs -text +*.lfs.* filter=lfs diff=lfs merge=lfs -text +*.mlmodel filter=lfs diff=lfs merge=lfs -text +*.model filter=lfs diff=lfs merge=lfs -text +*.msgpack filter=lfs diff=lfs merge=lfs -text +*.npy filter=lfs diff=lfs merge=lfs -text +*.npz filter=lfs diff=lfs merge=lfs -text +*.onnx filter=lfs diff=lfs merge=lfs -text +*.ot filter=lfs diff=lfs merge=lfs -text +*.parquet filter=lfs diff=lfs merge=lfs -text +*.pb filter=lfs diff=lfs merge=lfs -text +*.pickle filter=lfs diff=lfs merge=lfs -text +*.pkl filter=lfs diff=lfs merge=lfs -text +*.pt filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +*.rar filter=lfs diff=lfs merge=lfs -text +*.safetensors filter=lfs diff=lfs merge=lfs -text +saved_model/**/* filter=lfs diff=lfs merge=lfs -text +*.tar.* filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tflite filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text +*tfevents* filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.f16.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text +granite-8b-code-instruct.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md new file mode 100644 index 0000000..839bee5 --- /dev/null +++ b/README.md @@ -0,0 +1,79 @@ +--- +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 + + + + + + +static quants of https://huggingface.co/ibm-granite/granite-8b-code-instruct-4k + + +weighted/imatrix quants are available at https://huggingface.co/mradermacher/granite-8b-code-instruct-i1-GGUF +## 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-GGUF/resolve/main/granite-8b-code-instruct.Q2_K.gguf) | Q2_K | 3.2 | | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.IQ3_XS.gguf) | IQ3_XS | 3.5 | | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.Q3_K_S.gguf) | Q3_K_S | 3.6 | | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.IQ3_S.gguf) | IQ3_S | 3.7 | beats Q3_K* | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.IQ3_M.gguf) | IQ3_M | 3.8 | | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.Q3_K_M.gguf) | Q3_K_M | 4.0 | lower quality | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.Q3_K_L.gguf) | Q3_K_L | 4.4 | | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.IQ4_XS.gguf) | IQ4_XS | 4.5 | | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.Q4_K_S.gguf) | Q4_K_S | 4.7 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.Q4_K_M.gguf) | Q4_K_M | 5.0 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.Q5_K_S.gguf) | Q5_K_S | 5.7 | | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.Q5_K_M.gguf) | Q5_K_M | 5.8 | | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.Q6_K.gguf) | Q6_K | 6.7 | very good quality | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.Q8_0.gguf) | Q8_0 | 8.7 | fast, best quality | +| [GGUF](https://huggingface.co/mradermacher/granite-8b-code-instruct-GGUF/resolve/main/granite-8b-code-instruct.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. + + diff --git a/granite-8b-code-instruct.IQ3_M.gguf b/granite-8b-code-instruct.IQ3_M.gguf new file mode 100644 index 0000000..c1d811a --- /dev/null +++ b/granite-8b-code-instruct.IQ3_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9ce70e000b6c227d98953ebd6231239d300ba4972e31cda93e62187898676d8 +size 3679551136 diff --git a/granite-8b-code-instruct.IQ3_S.gguf b/granite-8b-code-instruct.IQ3_S.gguf new file mode 100644 index 0000000..cfe59e6 --- /dev/null +++ b/granite-8b-code-instruct.IQ3_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cfd6ef8f487ded818536617489106840739b03202b8a1b997b9e246735483fe +size 3568139936 diff --git a/granite-8b-code-instruct.IQ3_XS.gguf b/granite-8b-code-instruct.IQ3_XS.gguf new file mode 100644 index 0000000..0bc9490 --- /dev/null +++ b/granite-8b-code-instruct.IQ3_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9574abd33b9392ad6aafbba51ce346f53d4eeaa077dae5422f549f940b58bc07 +size 3384114848 diff --git a/granite-8b-code-instruct.IQ4_XS.gguf b/granite-8b-code-instruct.IQ4_XS.gguf new file mode 100644 index 0000000..811b684 --- /dev/null +++ b/granite-8b-code-instruct.IQ4_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2905601612e461bcd14b2dd22fe2e8171d352fb9afca7646ce08c7a476e797fb +size 4405821088 diff --git a/granite-8b-code-instruct.Q2_K.gguf b/granite-8b-code-instruct.Q2_K.gguf new file mode 100644 index 0000000..e8be1c7 --- /dev/null +++ b/granite-8b-code-instruct.Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b45c3906fc0097a9704f02f5cadc40be16c29ccf2abc29f87e3661961cb06b9 +size 3062070944 diff --git a/granite-8b-code-instruct.Q3_K_L.gguf b/granite-8b-code-instruct.Q3_K_L.gguf new file mode 100644 index 0000000..ce82201 --- /dev/null +++ b/granite-8b-code-instruct.Q3_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:676daf4aeb36c47d2e5581995b2f561aa60537c1e9fb8199f06ccb78805ec90d +size 4287725216 diff --git a/granite-8b-code-instruct.Q3_K_M.gguf b/granite-8b-code-instruct.Q3_K_M.gguf new file mode 100644 index 0000000..429f7ac --- /dev/null +++ b/granite-8b-code-instruct.Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:629b184b3278981d3627dbe81e428b0ba44eb68544b59821ce8a40b606cc067a +size 3944840864 diff --git a/granite-8b-code-instruct.Q3_K_S.gguf b/granite-8b-code-instruct.Q3_K_S.gguf new file mode 100644 index 0000000..eab1024 --- /dev/null +++ b/granite-8b-code-instruct.Q3_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7079b4eb73a720d9b85e9b7d164da2f96137cdc9c4d7a2a9cf89e4113a3dc0f4 +size 3548085920 diff --git a/granite-8b-code-instruct.Q4_K_M.gguf b/granite-8b-code-instruct.Q4_K_M.gguf new file mode 100644 index 0000000..5245c8d --- /dev/null +++ b/granite-8b-code-instruct.Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:078d9a062f33d90edb7a32f6e1b85278383490911f5dc2f41cd777e1aa55b58b +size 4882857632 diff --git a/granite-8b-code-instruct.Q4_K_S.gguf b/granite-8b-code-instruct.Q4_K_S.gguf new file mode 100644 index 0000000..2696831 --- /dev/null +++ b/granite-8b-code-instruct.Q4_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b87c9dfd59ff3aaf0beb4a440680d06c3fad8a1bc3babbe942c7bf0bf8dd6cc +size 4622352032 diff --git a/granite-8b-code-instruct.Q5_K_M.gguf b/granite-8b-code-instruct.Q5_K_M.gguf new file mode 100644 index 0000000..089569d --- /dev/null +++ b/granite-8b-code-instruct.Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23aaed8e9e6cf7f1573dcbe6316edfe5c0e6a098d82c6ff6eab78f4598c02a76 +size 5722767008 diff --git a/granite-8b-code-instruct.Q5_K_S.gguf b/granite-8b-code-instruct.Q5_K_S.gguf new file mode 100644 index 0000000..4c2909b --- /dev/null +++ b/granite-8b-code-instruct.Q5_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9296a1dc96ed6285c6045f266f12774d69aa9454b80548ed4e1694d1d4ec0e5d +size 5572361888 diff --git a/granite-8b-code-instruct.Q6_K.gguf b/granite-8b-code-instruct.Q6_K.gguf new file mode 100644 index 0000000..6071c2b --- /dev/null +++ b/granite-8b-code-instruct.Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:980dbcb195910ab0156977fbacb5334b0b7300487567147137fee68ffd26367d +size 6615170720 diff --git a/granite-8b-code-instruct.Q8_0.gguf b/granite-8b-code-instruct.Q8_0.gguf new file mode 100644 index 0000000..67c2649 --- /dev/null +++ b/granite-8b-code-instruct.Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7981ba7329774617c8bb0745a3921233eb4c6427f6550816c916bb552141966 +size 8565522080 diff --git a/granite-8b-code-instruct.f16.gguf b/granite-8b-code-instruct.f16.gguf new file mode 100644 index 0000000..03bee96 --- /dev/null +++ b/granite-8b-code-instruct.f16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d004a1b75f96e4da4bb7fada849a38b08be0a360ebf47e6dc1353b7f7ae60ce +size 16115269280