From 77ce02a704009d68e9a7a50722c4e15de06a404f Mon Sep 17 00:00:00 2001 From: ModelHub XC Date: Fri, 26 Jun 2026 15:30:19 +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-GGUF Source: Original Platform --- .gitattributes | 48 +++++++++++++++++++++++ CodeLlama-7b-Python.IQ4_XS.gguf | 3 ++ CodeLlama-7b-Python.Q2_K.gguf | 3 ++ CodeLlama-7b-Python.Q3_K_L.gguf | 3 ++ CodeLlama-7b-Python.Q3_K_M.gguf | 3 ++ CodeLlama-7b-Python.Q3_K_S.gguf | 3 ++ CodeLlama-7b-Python.Q4_0_4_4.gguf | 3 ++ CodeLlama-7b-Python.Q4_K_M.gguf | 3 ++ CodeLlama-7b-Python.Q4_K_S.gguf | 3 ++ CodeLlama-7b-Python.Q5_K_M.gguf | 3 ++ CodeLlama-7b-Python.Q5_K_S.gguf | 3 ++ CodeLlama-7b-Python.Q6_K.gguf | 3 ++ CodeLlama-7b-Python.Q8_0.gguf | 3 ++ CodeLlama-7b-Python.f16.gguf | 3 ++ README.md | 64 +++++++++++++++++++++++++++++++ 15 files changed, 151 insertions(+) create mode 100644 .gitattributes create mode 100644 CodeLlama-7b-Python.IQ4_XS.gguf create mode 100644 CodeLlama-7b-Python.Q2_K.gguf create mode 100644 CodeLlama-7b-Python.Q3_K_L.gguf create mode 100644 CodeLlama-7b-Python.Q3_K_M.gguf create mode 100644 CodeLlama-7b-Python.Q3_K_S.gguf create mode 100644 CodeLlama-7b-Python.Q4_0_4_4.gguf create mode 100644 CodeLlama-7b-Python.Q4_K_M.gguf create mode 100644 CodeLlama-7b-Python.Q4_K_S.gguf create mode 100644 CodeLlama-7b-Python.Q5_K_M.gguf create mode 100644 CodeLlama-7b-Python.Q5_K_S.gguf create mode 100644 CodeLlama-7b-Python.Q6_K.gguf create mode 100644 CodeLlama-7b-Python.Q8_0.gguf create mode 100644 CodeLlama-7b-Python.f16.gguf create mode 100644 README.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e9ce545 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,48 @@ +*.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.f16.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama-7b-Python.Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/CodeLlama-7b-Python.IQ4_XS.gguf b/CodeLlama-7b-Python.IQ4_XS.gguf new file mode 100644 index 0000000..58f5eee --- /dev/null +++ b/CodeLlama-7b-Python.IQ4_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39d425117c809cf53683b38d183a95912ee362443cdaf0e03031633234754b36 +size 3647517216 diff --git a/CodeLlama-7b-Python.Q2_K.gguf b/CodeLlama-7b-Python.Q2_K.gguf new file mode 100644 index 0000000..0071bf2 --- /dev/null +++ b/CodeLlama-7b-Python.Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4ad8c0dcbacd186cbc7b4cee725761f74e286486cec03354e20af908c6c3e58 +size 2532864544 diff --git a/CodeLlama-7b-Python.Q3_K_L.gguf b/CodeLlama-7b-Python.Q3_K_L.gguf new file mode 100644 index 0000000..a362f3a --- /dev/null +++ b/CodeLlama-7b-Python.Q3_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88cd824593a2d6ba9f29208f84166349c1830c189bf229c6ec9985e386d03112 +size 3597111840 diff --git a/CodeLlama-7b-Python.Q3_K_M.gguf b/CodeLlama-7b-Python.Q3_K_M.gguf new file mode 100644 index 0000000..930922a --- /dev/null +++ b/CodeLlama-7b-Python.Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:484d754497c086cb106ead747e240f4138ab19f368734ba9ba516dcd575beaee +size 3298005536 diff --git a/CodeLlama-7b-Python.Q3_K_S.gguf b/CodeLlama-7b-Python.Q3_K_S.gguf new file mode 100644 index 0000000..90f844b --- /dev/null +++ b/CodeLlama-7b-Python.Q3_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50c220f2bc2866f551f464338e8979a8845b58022ca4713bf64d7a50b64906d8 +size 2948305440 diff --git a/CodeLlama-7b-Python.Q4_0_4_4.gguf b/CodeLlama-7b-Python.Q4_0_4_4.gguf new file mode 100644 index 0000000..74ff8aa --- /dev/null +++ b/CodeLlama-7b-Python.Q4_0_4_4.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0994cc0ed6fad068275ca1f07b1842c2846dcdacca84639c14d1db0090febfa3 +size 3825807904 diff --git a/CodeLlama-7b-Python.Q4_K_M.gguf b/CodeLlama-7b-Python.Q4_K_M.gguf new file mode 100644 index 0000000..aa63ef1 --- /dev/null +++ b/CodeLlama-7b-Python.Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:046635fa03fb75458f7f877be639de6871e3758faeaa2814e46b98f255ffbdf5 +size 4081005088 diff --git a/CodeLlama-7b-Python.Q4_K_S.gguf b/CodeLlama-7b-Python.Q4_K_S.gguf new file mode 100644 index 0000000..71838e4 --- /dev/null +++ b/CodeLlama-7b-Python.Q4_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f784e4e98b06cb2d303cc557a8cc8eaace8faee05d2b40c55eebc292a3258deb +size 3856740896 diff --git a/CodeLlama-7b-Python.Q5_K_M.gguf b/CodeLlama-7b-Python.Q5_K_M.gguf new file mode 100644 index 0000000..365140e --- /dev/null +++ b/CodeLlama-7b-Python.Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee09816d422d6efbd399ebdea5a9a544616fbb72abede91b3e3170903ae1227c +size 4783157792 diff --git a/CodeLlama-7b-Python.Q5_K_S.gguf b/CodeLlama-7b-Python.Q5_K_S.gguf new file mode 100644 index 0000000..c1b949e --- /dev/null +++ b/CodeLlama-7b-Python.Q5_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:372f46a98c445785a3f4af95b6f3d518cf6768b819e6ca23cc8ff0233a242b5f +size 4651692576 diff --git a/CodeLlama-7b-Python.Q6_K.gguf b/CodeLlama-7b-Python.Q6_K.gguf new file mode 100644 index 0000000..02f4a67 --- /dev/null +++ b/CodeLlama-7b-Python.Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2df2b259094eef78c30c5dad930f9bcc2725531f12956a8942a7e77dfcee66b4 +size 5529195040 diff --git a/CodeLlama-7b-Python.Q8_0.gguf b/CodeLlama-7b-Python.Q8_0.gguf new file mode 100644 index 0000000..1ed1b3c --- /dev/null +++ b/CodeLlama-7b-Python.Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0f56643bb08036237d37da40f42dadd1d4cebd865676b99587ae9a2ef116f28 +size 7161090592 diff --git a/CodeLlama-7b-Python.f16.gguf b/CodeLlama-7b-Python.f16.gguf new file mode 100644 index 0000000..d8e077f --- /dev/null +++ b/CodeLlama-7b-Python.f16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3852f4faa3c568a14bb705b8546a7b73624e44e8b0c92c30f9c1c5eecd19ec0 +size 13478105632 diff --git a/README.md b/README.md new file mode 100644 index 0000000..60c1d44 --- /dev/null +++ b/README.md @@ -0,0 +1,64 @@ +--- +base_model: pthornton614/CodeLlama-7b-Python +language: +- en +library_name: transformers +quantized_by: mradermacher +--- +## About + + + + + + +static quants of https://huggingface.co/pthornton614/CodeLlama-7b-Python + + +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/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.Q2_K.gguf) | Q2_K | 2.6 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.Q3_K_S.gguf) | Q3_K_S | 3.0 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.Q3_K_M.gguf) | Q3_K_M | 3.4 | lower quality | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.Q3_K_L.gguf) | Q3_K_L | 3.7 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.IQ4_XS.gguf) | IQ4_XS | 3.7 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.Q4_0_4_4.gguf) | Q4_0_4_4 | 3.9 | fast on arm, low quality | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.Q4_K_S.gguf) | Q4_K_S | 4.0 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.Q4_K_M.gguf) | Q4_K_M | 4.2 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.Q5_K_S.gguf) | Q5_K_S | 4.8 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.Q5_K_M.gguf) | Q5_K_M | 4.9 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.Q6_K.gguf) | Q6_K | 5.6 | very good quality | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.Q8_0.gguf) | Q8_0 | 7.3 | fast, best quality | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama-7b-Python-GGUF/resolve/main/CodeLlama-7b-Python.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. + +