From d74db7c52e5c9a0ad6343fb328001f17cbdb57f2 Mon Sep 17 00:00:00 2001 From: ModelHub XC Date: Tue, 16 Jun 2026 21:32:22 +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-3b-code-instruct-GGUF Source: Original Platform --- .gitattributes | 50 ++++++++++++++++++ README.md | 79 ++++++++++++++++++++++++++++ granite-3b-code-instruct.IQ3_M.gguf | 3 ++ granite-3b-code-instruct.IQ3_S.gguf | 3 ++ granite-3b-code-instruct.IQ3_XS.gguf | 3 ++ granite-3b-code-instruct.IQ4_XS.gguf | 3 ++ granite-3b-code-instruct.Q2_K.gguf | 3 ++ granite-3b-code-instruct.Q3_K_L.gguf | 3 ++ granite-3b-code-instruct.Q3_K_M.gguf | 3 ++ granite-3b-code-instruct.Q3_K_S.gguf | 3 ++ granite-3b-code-instruct.Q4_K_M.gguf | 3 ++ granite-3b-code-instruct.Q4_K_S.gguf | 3 ++ granite-3b-code-instruct.Q5_K_M.gguf | 3 ++ granite-3b-code-instruct.Q5_K_S.gguf | 3 ++ granite-3b-code-instruct.Q6_K.gguf | 3 ++ granite-3b-code-instruct.Q8_0.gguf | 3 ++ granite-3b-code-instruct.f16.gguf | 3 ++ 17 files changed, 174 insertions(+) create mode 100644 .gitattributes create mode 100644 README.md create mode 100644 granite-3b-code-instruct.IQ3_M.gguf create mode 100644 granite-3b-code-instruct.IQ3_S.gguf create mode 100644 granite-3b-code-instruct.IQ3_XS.gguf create mode 100644 granite-3b-code-instruct.IQ4_XS.gguf create mode 100644 granite-3b-code-instruct.Q2_K.gguf create mode 100644 granite-3b-code-instruct.Q3_K_L.gguf create mode 100644 granite-3b-code-instruct.Q3_K_M.gguf create mode 100644 granite-3b-code-instruct.Q3_K_S.gguf create mode 100644 granite-3b-code-instruct.Q4_K_M.gguf create mode 100644 granite-3b-code-instruct.Q4_K_S.gguf create mode 100644 granite-3b-code-instruct.Q5_K_M.gguf create mode 100644 granite-3b-code-instruct.Q5_K_S.gguf create mode 100644 granite-3b-code-instruct.Q6_K.gguf create mode 100644 granite-3b-code-instruct.Q8_0.gguf create mode 100644 granite-3b-code-instruct.f16.gguf diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1838149 --- /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-3b-code-instruct.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.f16.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-code-instruct.IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text +granite-3b-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..9f58246 --- /dev/null +++ b/README.md @@ -0,0 +1,79 @@ +--- +base_model: ibm-granite/granite-3b-code-instruct-2k +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-3b-code-instruct-2k + + +weighted/imatrix quants are available at https://huggingface.co/mradermacher/granite-3b-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-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.Q2_K.gguf) | Q2_K | 1.4 | | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.IQ3_XS.gguf) | IQ3_XS | 1.6 | | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.IQ3_S.gguf) | IQ3_S | 1.7 | beats Q3_K* | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.Q3_K_S.gguf) | Q3_K_S | 1.7 | | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.IQ3_M.gguf) | IQ3_M | 1.7 | | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.Q3_K_M.gguf) | Q3_K_M | 1.8 | lower quality | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.Q3_K_L.gguf) | Q3_K_L | 2.0 | | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.IQ4_XS.gguf) | IQ4_XS | 2.0 | | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.Q4_K_S.gguf) | Q4_K_S | 2.1 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.Q4_K_M.gguf) | Q4_K_M | 2.2 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.Q5_K_S.gguf) | Q5_K_S | 2.5 | | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.Q5_K_M.gguf) | Q5_K_M | 2.6 | | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.Q6_K.gguf) | Q6_K | 3.0 | very good quality | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.Q8_0.gguf) | Q8_0 | 3.8 | fast, best quality | +| [GGUF](https://huggingface.co/mradermacher/granite-3b-code-instruct-GGUF/resolve/main/granite-3b-code-instruct.f16.gguf) | f16 | 7.1 | 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-3b-code-instruct.IQ3_M.gguf b/granite-3b-code-instruct.IQ3_M.gguf new file mode 100644 index 0000000..10dbb49 --- /dev/null +++ b/granite-3b-code-instruct.IQ3_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24ffb890f4e7df617feaa206cdd4ad5434b006aa0aac5226de15ced7e158f5b5 +size 1621317792 diff --git a/granite-3b-code-instruct.IQ3_S.gguf b/granite-3b-code-instruct.IQ3_S.gguf new file mode 100644 index 0000000..91bcf0d --- /dev/null +++ b/granite-3b-code-instruct.IQ3_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eee360d1fa665e3ec1d762b4703aeea98dcf192a03f76e3e2d386e2ebfd3f6f6 +size 1551685792 diff --git a/granite-3b-code-instruct.IQ3_XS.gguf b/granite-3b-code-instruct.IQ3_XS.gguf new file mode 100644 index 0000000..d9c0395 --- /dev/null +++ b/granite-3b-code-instruct.IQ3_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be5d74ba577e6b15adbc0a8c4f82177349044d7d08ec40e13523576d387b322c +size 1473042592 diff --git a/granite-3b-code-instruct.IQ4_XS.gguf b/granite-3b-code-instruct.IQ4_XS.gguf new file mode 100644 index 0000000..d217a97 --- /dev/null +++ b/granite-3b-code-instruct.IQ4_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c9593acf76738e65026bb0d53af162832f402151a4932820c73a4d46f1df614 +size 1908856992 diff --git a/granite-3b-code-instruct.Q2_K.gguf b/granite-3b-code-instruct.Q2_K.gguf new file mode 100644 index 0000000..d73d9b1 --- /dev/null +++ b/granite-3b-code-instruct.Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7532b7e0d8383f8d9ba0ce4e0549698fe26333072199239b3f9a34bec1fa9aab +size 1338693792 diff --git a/granite-3b-code-instruct.Q3_K_L.gguf b/granite-3b-code-instruct.Q3_K_L.gguf new file mode 100644 index 0000000..4d652d7 --- /dev/null +++ b/granite-3b-code-instruct.Q3_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:345b315680366835b7f795681a8de3aa5094eec31c84705f925bb386ee44881c +size 1876088992 diff --git a/granite-3b-code-instruct.Q3_K_M.gguf b/granite-3b-code-instruct.Q3_K_M.gguf new file mode 100644 index 0000000..b56409b --- /dev/null +++ b/granite-3b-code-instruct.Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02f1d8b21dc92906d1397d3bc8be34c11bdb8938de4b33fbd109566b2e6e25a7 +size 1726994592 diff --git a/granite-3b-code-instruct.Q3_K_S.gguf b/granite-3b-code-instruct.Q3_K_S.gguf new file mode 100644 index 0000000..a0de733 --- /dev/null +++ b/granite-3b-code-instruct.Q3_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4b8b7086c2ce0dee4271e7a295df4e5cf25189db3532da6b8b1882ad98d8c66 +size 1551685792 diff --git a/granite-3b-code-instruct.Q4_K_M.gguf b/granite-3b-code-instruct.Q4_K_M.gguf new file mode 100644 index 0000000..0331f18 --- /dev/null +++ b/granite-3b-code-instruct.Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4152bd03fe3ef5da7f4db55ae4d3175f768a0ea091908f885febf0db3a8d147 +size 2132498592 diff --git a/granite-3b-code-instruct.Q4_K_S.gguf b/granite-3b-code-instruct.Q4_K_S.gguf new file mode 100644 index 0000000..f2309f0 --- /dev/null +++ b/granite-3b-code-instruct.Q4_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:beaa753b602194af7d70911ae897bc9fae16b8d2fb25c1c281be58c0292ac658 +size 2013714592 diff --git a/granite-3b-code-instruct.Q5_K_M.gguf b/granite-3b-code-instruct.Q5_K_M.gguf new file mode 100644 index 0000000..bee6b15 --- /dev/null +++ b/granite-3b-code-instruct.Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5112dc920efb258cdaeabf0477d600ba0d6fb45f3ce530ccad71a6f9749ad149 +size 2486392992 diff --git a/granite-3b-code-instruct.Q5_K_S.gguf b/granite-3b-code-instruct.Q5_K_S.gguf new file mode 100644 index 0000000..de24c6f --- /dev/null +++ b/granite-3b-code-instruct.Q5_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66c53e9cc7b7ec19c52510d8bcf5f6a805b667fc6c2fb285e959b9271a4a1681 +size 2416760992 diff --git a/granite-3b-code-instruct.Q6_K.gguf b/granite-3b-code-instruct.Q6_K.gguf new file mode 100644 index 0000000..774724d --- /dev/null +++ b/granite-3b-code-instruct.Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:304329e5b3634882fe1f1c00ab5043a592ff656cf44e2c608e720734619c4453 +size 2862405792 diff --git a/granite-3b-code-instruct.Q8_0.gguf b/granite-3b-code-instruct.Q8_0.gguf new file mode 100644 index 0000000..f400e84 --- /dev/null +++ b/granite-3b-code-instruct.Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8f3649edee44e33fb4086a1ff2e8c210dd90a216ffb2c0d7d71eda63ad7f6ee +size 3705526432 diff --git a/granite-3b-code-instruct.f16.gguf b/granite-3b-code-instruct.f16.gguf new file mode 100644 index 0000000..5b2683b --- /dev/null +++ b/granite-3b-code-instruct.f16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de8d1da373d5ad660982bd24fc81aed566647579b7a1dd88b4f421546a2f113e +size 6969219232