From f2d97ad8e20f16683a2ecc2f19a1c39e1e134871 Mon Sep 17 00:00:00 2001 From: ModelHub XC Date: Fri, 26 Jun 2026 23:56:18 +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/CodeLlama-7b-Python-hf-GGUF Source: Original Platform --- .gitattributes | 50 ++++++++++++++++++++++ CodeLlama-7b-Python-hf.IQ3_M.gguf | 3 ++ CodeLlama-7b-Python-hf.IQ3_S.gguf | 3 ++ CodeLlama-7b-Python-hf.IQ3_XS.gguf | 3 ++ CodeLlama-7b-Python-hf.IQ4_XS.gguf | 3 ++ CodeLlama-7b-Python-hf.Q2_K.gguf | 3 ++ CodeLlama-7b-Python-hf.Q3_K_L.gguf | 3 ++ CodeLlama-7b-Python-hf.Q3_K_M.gguf | 3 ++ CodeLlama-7b-Python-hf.Q3_K_S.gguf | 3 ++ CodeLlama-7b-Python-hf.Q4_K_M.gguf | 3 ++ CodeLlama-7b-Python-hf.Q4_K_S.gguf | 3 ++ CodeLlama-7b-Python-hf.Q5_K_M.gguf | 3 ++ CodeLlama-7b-Python-hf.Q5_K_S.gguf | 3 ++ CodeLlama-7b-Python-hf.Q6_K.gguf | 3 ++ CodeLlama-7b-Python-hf.Q8_0.gguf | 3 ++ CodeLlama-7b-Python-hf.f16.gguf | 3 ++ README.md | 69 ++++++++++++++++++++++++++++++ 17 files changed, 164 insertions(+) create mode 100644 .gitattributes create mode 100644 CodeLlama-7b-Python-hf.IQ3_M.gguf create mode 100644 CodeLlama-7b-Python-hf.IQ3_S.gguf create mode 100644 CodeLlama-7b-Python-hf.IQ3_XS.gguf create mode 100644 CodeLlama-7b-Python-hf.IQ4_XS.gguf create mode 100644 CodeLlama-7b-Python-hf.Q2_K.gguf create mode 100644 CodeLlama-7b-Python-hf.Q3_K_L.gguf create mode 100644 CodeLlama-7b-Python-hf.Q3_K_M.gguf create mode 100644 CodeLlama-7b-Python-hf.Q3_K_S.gguf create mode 100644 CodeLlama-7b-Python-hf.Q4_K_M.gguf create mode 100644 CodeLlama-7b-Python-hf.Q4_K_S.gguf create mode 100644 CodeLlama-7b-Python-hf.Q5_K_M.gguf create mode 100644 CodeLlama-7b-Python-hf.Q5_K_S.gguf create mode 100644 CodeLlama-7b-Python-hf.Q6_K.gguf create mode 100644 CodeLlama-7b-Python-hf.Q8_0.gguf create mode 100644 CodeLlama-7b-Python-hf.f16.gguf create mode 100644 README.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2919ba1 --- /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 +CodeLlama-7b-Python-hf.IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.f16.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python-hf.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/CodeLlama-7b-Python-hf.IQ3_M.gguf b/CodeLlama-7b-Python-hf.IQ3_M.gguf new file mode 100644 index 0000000..f1ee36a --- /dev/null +++ b/CodeLlama-7b-Python-hf.IQ3_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5f280b045b77d07b6d749ff038ba88617300a809cd1ef1f6b6324d4d89eca78 +size 3114865376 diff --git a/CodeLlama-7b-Python-hf.IQ3_S.gguf b/CodeLlama-7b-Python-hf.IQ3_S.gguf new file mode 100644 index 0000000..b6262e6 --- /dev/null +++ b/CodeLlama-7b-Python-hf.IQ3_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2727cfbfc045ecd8eb67a75d091228a8e6785ca30c5f5cc9af7a52848329fe75 +size 2948305632 diff --git a/CodeLlama-7b-Python-hf.IQ3_XS.gguf b/CodeLlama-7b-Python-hf.IQ3_XS.gguf new file mode 100644 index 0000000..01afa8f --- /dev/null +++ b/CodeLlama-7b-Python-hf.IQ3_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:298a2e197354666d8bba8583368c31730618f504fe2588f323fbac5b4161ccad +size 2796524256 diff --git a/CodeLlama-7b-Python-hf.IQ4_XS.gguf b/CodeLlama-7b-Python-hf.IQ4_XS.gguf new file mode 100644 index 0000000..e86666d --- /dev/null +++ b/CodeLlama-7b-Python-hf.IQ4_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb5f06fc1817ad3cfc6df9e7ab1fedcae1e8aefc25cfd0cdc9fc3c1ff9e7f9db +size 3647517408 diff --git a/CodeLlama-7b-Python-hf.Q2_K.gguf b/CodeLlama-7b-Python-hf.Q2_K.gguf new file mode 100644 index 0000000..48b5069 --- /dev/null +++ b/CodeLlama-7b-Python-hf.Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f1a10209ffe93cf92ffbbee0ec6ccbd83d899647f300ce890d15885e3fb1bb4 +size 2532864736 diff --git a/CodeLlama-7b-Python-hf.Q3_K_L.gguf b/CodeLlama-7b-Python-hf.Q3_K_L.gguf new file mode 100644 index 0000000..941b836 --- /dev/null +++ b/CodeLlama-7b-Python-hf.Q3_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4065ee2109e8143fc9b9cd41bd6bd0eff6695f7bbffb26a99b462c0c6a59eeb +size 3597112032 diff --git a/CodeLlama-7b-Python-hf.Q3_K_M.gguf b/CodeLlama-7b-Python-hf.Q3_K_M.gguf new file mode 100644 index 0000000..5623368 --- /dev/null +++ b/CodeLlama-7b-Python-hf.Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d41a4b9bf509224e87c4a6c3890e8ee1bf7c3af0196f02b9a0b9f6c9500ead1 +size 3298005728 diff --git a/CodeLlama-7b-Python-hf.Q3_K_S.gguf b/CodeLlama-7b-Python-hf.Q3_K_S.gguf new file mode 100644 index 0000000..ab78d0c --- /dev/null +++ b/CodeLlama-7b-Python-hf.Q3_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a6a7eb862b45833d43446f05b46250046b614edcbb234e77f5bbb921fa51f60 +size 2948305632 diff --git a/CodeLlama-7b-Python-hf.Q4_K_M.gguf b/CodeLlama-7b-Python-hf.Q4_K_M.gguf new file mode 100644 index 0000000..652b416 --- /dev/null +++ b/CodeLlama-7b-Python-hf.Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed9a775300d1904da17998324240171d45af91bdd177a3690a3f1f1c78f6cc81 +size 4081005280 diff --git a/CodeLlama-7b-Python-hf.Q4_K_S.gguf b/CodeLlama-7b-Python-hf.Q4_K_S.gguf new file mode 100644 index 0000000..a9c848a --- /dev/null +++ b/CodeLlama-7b-Python-hf.Q4_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed055aa5d85ced29f3c4e6f9ea96db6b3d059b8f16b628765e60c81e8e1cfa7a +size 3856741088 diff --git a/CodeLlama-7b-Python-hf.Q5_K_M.gguf b/CodeLlama-7b-Python-hf.Q5_K_M.gguf new file mode 100644 index 0000000..560312c --- /dev/null +++ b/CodeLlama-7b-Python-hf.Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:533fe131f4b26afaeedd264c6eae871c553e405e4c5b150bc6a0ed0a3a8aa019 +size 4783157984 diff --git a/CodeLlama-7b-Python-hf.Q5_K_S.gguf b/CodeLlama-7b-Python-hf.Q5_K_S.gguf new file mode 100644 index 0000000..69b4979 --- /dev/null +++ b/CodeLlama-7b-Python-hf.Q5_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63d86aca08dcf48c091ec71c69a571bb01ba0e500212341afcae3aa45d7f4620 +size 4651692768 diff --git a/CodeLlama-7b-Python-hf.Q6_K.gguf b/CodeLlama-7b-Python-hf.Q6_K.gguf new file mode 100644 index 0000000..0330180 --- /dev/null +++ b/CodeLlama-7b-Python-hf.Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cbac943081e36d18131467afd61806ed018d89fea7bc6532364473a5f9df6aa +size 5529195232 diff --git a/CodeLlama-7b-Python-hf.Q8_0.gguf b/CodeLlama-7b-Python-hf.Q8_0.gguf new file mode 100644 index 0000000..b20069c --- /dev/null +++ b/CodeLlama-7b-Python-hf.Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0445f7a026bcb3e3c1e63700f8573a856acfae88efbd671a7e5f135af72b9c1f +size 7161090784 diff --git a/CodeLlama-7b-Python-hf.f16.gguf b/CodeLlama-7b-Python-hf.f16.gguf new file mode 100644 index 0000000..b7d55c3 --- /dev/null +++ b/CodeLlama-7b-Python-hf.f16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32ca5c02e389629e2ef359a2e061e1bd2cb2f69357a3fe69fb93d3497c7514b5 +size 13478105824 diff --git a/README.md b/README.md new file mode 100644 index 0000000..19332cc --- /dev/null +++ b/README.md @@ -0,0 +1,69 @@ +--- +base_model: codellama/CodeLlama-7b-Python-hf +language: +- code +library_name: transformers +license: llama2 +quantized_by: mradermacher +tags: +- llama-2 +--- +## About + + + + + + +static quants of https://huggingface.co/codellama/CodeLlama-7b-Python-hf + + +weighted/imatrix quants are available at https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-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/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.Q2_K.gguf) | Q2_K | 2.6 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.IQ3_XS.gguf) | IQ3_XS | 2.9 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.IQ3_S.gguf) | IQ3_S | 3.0 | beats Q3_K* | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.Q3_K_S.gguf) | Q3_K_S | 3.0 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.IQ3_M.gguf) | IQ3_M | 3.2 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.Q3_K_M.gguf) | Q3_K_M | 3.4 | lower quality | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.Q3_K_L.gguf) | Q3_K_L | 3.7 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.IQ4_XS.gguf) | IQ4_XS | 3.7 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.Q4_K_S.gguf) | Q4_K_S | 4.0 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.Q4_K_M.gguf) | Q4_K_M | 4.2 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.Q5_K_S.gguf) | Q5_K_S | 4.8 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.Q5_K_M.gguf) | Q5_K_M | 4.9 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.Q6_K.gguf) | Q6_K | 5.6 | very good quality | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.Q8_0.gguf) | Q8_0 | 7.3 | fast, best quality | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-hf-GGUF/resolve/main/CodeLlama-7b-Python-hf.f16.gguf) | f16 | 13.6 | 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. + +