commit ca14d636bc9ba484aa160877383e7d154640c3ef Author: ModelHub XC Date: Fri Jun 26 21:30:17 2026 +0800 初始化项目,由ModelHub XC社区提供模型 Model: mradermacher/CodeLlama3-8B-Python-GGUF Source: Original Platform diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..900f0b5 --- /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 +CodeLlama3-8B-Python.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.f16.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text +CodeLlama3-8B-Python.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/CodeLlama3-8B-Python.IQ3_M.gguf b/CodeLlama3-8B-Python.IQ3_M.gguf new file mode 100644 index 0000000..a0afcf6 --- /dev/null +++ b/CodeLlama3-8B-Python.IQ3_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78e81d3838995a9ca6d745fd24bc73d8bc65dd0741ec3c896db7c2049e621608 +size 3785336064 diff --git a/CodeLlama3-8B-Python.IQ3_S.gguf b/CodeLlama3-8B-Python.IQ3_S.gguf new file mode 100644 index 0000000..9e379e4 --- /dev/null +++ b/CodeLlama3-8B-Python.IQ3_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:def76b62ef4f595eb22003de4c28533e3a89245b2d1e088100b2ce19bfa2a958 +size 3682837760 diff --git a/CodeLlama3-8B-Python.IQ3_XS.gguf b/CodeLlama3-8B-Python.IQ3_XS.gguf new file mode 100644 index 0000000..682cc75 --- /dev/null +++ b/CodeLlama3-8B-Python.IQ3_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c25009937a3e584f9430ac6aed81a522a094691c245cbc686bc500638e129510 +size 3519259904 diff --git a/CodeLlama3-8B-Python.IQ4_XS.gguf b/CodeLlama3-8B-Python.IQ4_XS.gguf new file mode 100644 index 0000000..15dccd5 --- /dev/null +++ b/CodeLlama3-8B-Python.IQ4_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2c6db2860a280a0340016954e55ee2a4919419cd0a597975bbc81555c0ffc1e +size 4484875520 diff --git a/CodeLlama3-8B-Python.Q2_K.gguf b/CodeLlama3-8B-Python.Q2_K.gguf new file mode 100644 index 0000000..67d6cab --- /dev/null +++ b/CodeLlama3-8B-Python.Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bda9a449c4ff318f560b8597bc4f7f2e2e2604dd1a0ca07752b1492b6426122a +size 3179644160 diff --git a/CodeLlama3-8B-Python.Q3_K_L.gguf b/CodeLlama3-8B-Python.Q3_K_L.gguf new file mode 100644 index 0000000..174d48f --- /dev/null +++ b/CodeLlama3-8B-Python.Q3_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97ebcb5e438169de90abddbfd41c3a7b4cdd4e18ef41704a98bfab3b51414915 +size 4322469120 diff --git a/CodeLlama3-8B-Python.Q3_K_M.gguf b/CodeLlama3-8B-Python.Q3_K_M.gguf new file mode 100644 index 0000000..0c9191d --- /dev/null +++ b/CodeLlama3-8B-Python.Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f1b09e7992e5488cadb4b771ea1dcd5ffbfa8b3007d6036ec1c70228f0a2495 +size 4019430656 diff --git a/CodeLlama3-8B-Python.Q3_K_S.gguf b/CodeLlama3-8B-Python.Q3_K_S.gguf new file mode 100644 index 0000000..1f1d5f4 --- /dev/null +++ b/CodeLlama3-8B-Python.Q3_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0192215f13445e133e1f297cb2fd3c2e3449063710ff04d78a179580b4d1218b +size 3665011968 diff --git a/CodeLlama3-8B-Python.Q4_K_M.gguf b/CodeLlama3-8B-Python.Q4_K_M.gguf new file mode 100644 index 0000000..23b639e --- /dev/null +++ b/CodeLlama3-8B-Python.Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d29744193d3fdbed295b9217621423189e63574e4bb756be33919185b177eab +size 4921246976 diff --git a/CodeLlama3-8B-Python.Q4_K_S.gguf b/CodeLlama3-8B-Python.Q4_K_S.gguf new file mode 100644 index 0000000..d3f8f1e --- /dev/null +++ b/CodeLlama3-8B-Python.Q4_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e00f045b065d9da81ca387588b5cb696fb7770475f54a16b090b8fec45f7e2f +size 4693181696 diff --git a/CodeLlama3-8B-Python.Q5_K_M.gguf b/CodeLlama3-8B-Python.Q5_K_M.gguf new file mode 100644 index 0000000..09aeed2 --- /dev/null +++ b/CodeLlama3-8B-Python.Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebb380a3704438e425d426ae0e64fdfd3085d880ed8d466875314f6ef732150a +size 5733500160 diff --git a/CodeLlama3-8B-Python.Q5_K_S.gguf b/CodeLlama3-8B-Python.Q5_K_S.gguf new file mode 100644 index 0000000..62c2ac1 --- /dev/null +++ b/CodeLlama3-8B-Python.Q5_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f4fca467be95f251a6506eeaf8d1e04a2c96d9965254d138b0a45e1e635b01d +size 5599806720 diff --git a/CodeLlama3-8B-Python.Q6_K.gguf b/CodeLlama3-8B-Python.Q6_K.gguf new file mode 100644 index 0000000..9c95ccd --- /dev/null +++ b/CodeLlama3-8B-Python.Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96cafd68f86b0929700e8fddd2294a7092def54be7a2bc890c6cf42e8b6d0db0 +size 6596519168 diff --git a/CodeLlama3-8B-Python.Q8_0.gguf b/CodeLlama3-8B-Python.Q8_0.gguf new file mode 100644 index 0000000..09ac365 --- /dev/null +++ b/CodeLlama3-8B-Python.Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e947718420dc25f3d7d501fe0b15340cd28fe97ee8a8f8bd14d67c341046e86 +size 8541283584 diff --git a/CodeLlama3-8B-Python.f16.gguf b/CodeLlama3-8B-Python.f16.gguf new file mode 100644 index 0000000..63f8ab9 --- /dev/null +++ b/CodeLlama3-8B-Python.f16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2fef7d258c60b8ef793960004a61f9f0b87723e7ecbc610221efc0cdbe0bc46a +size 16069403904 diff --git a/README.md b/README.md new file mode 100644 index 0000000..5414fe4 --- /dev/null +++ b/README.md @@ -0,0 +1,71 @@ +--- +base_model: Markhit/CodeLlama3-8B-Python +datasets: +- ajibawa-2023/Python-Code-23k-ShareGPT +language: +- en +library_name: transformers +license: llama3 +license_link: LICENSE +quantized_by: mradermacher +tags: +- code +--- +## About + + + + + +static quants of https://huggingface.co/Markhit/CodeLlama3-8B-Python + + +weighted/imatrix quants are available at https://huggingface.co/mradermacher/CodeLlama3-8B-Python-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/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.Q2_K.gguf) | Q2_K | 3.3 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.IQ3_XS.gguf) | IQ3_XS | 3.6 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.Q3_K_S.gguf) | Q3_K_S | 3.8 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.IQ3_S.gguf) | IQ3_S | 3.8 | beats Q3_K* | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.IQ3_M.gguf) | IQ3_M | 3.9 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.Q3_K_M.gguf) | Q3_K_M | 4.1 | lower quality | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.Q3_K_L.gguf) | Q3_K_L | 4.4 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.IQ4_XS.gguf) | IQ4_XS | 4.6 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.Q4_K_S.gguf) | Q4_K_S | 4.8 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.Q4_K_M.gguf) | Q4_K_M | 5.0 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.Q5_K_S.gguf) | Q5_K_S | 5.7 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.Q5_K_M.gguf) | Q5_K_M | 5.8 | | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.Q6_K.gguf) | Q6_K | 6.7 | very good quality | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.Q8_0.gguf) | Q8_0 | 8.6 | fast, best quality | +| [GGUF](https://huggingface.co/mradermacher/CodeLlama3-8B-Python-GGUF/resolve/main/CodeLlama3-8B-Python.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. + +