commit 755d4703ad950cb0eee4c4bea3221f05732bc655 Author: ModelHub XC Date: Sat Jul 11 20:35:10 2026 +0800 初始化项目,由ModelHub XC社区提供模型 Model: mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF Source: Original Platform diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..416eab3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,47 @@ +*.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 +OpenMath-CodeLlama-7b-Python-hf.f16.gguf filter=lfs diff=lfs merge=lfs -text +OpenMath-CodeLlama-7b-Python-hf.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text +OpenMath-CodeLlama-7b-Python-hf.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +OpenMath-CodeLlama-7b-Python-hf.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text +OpenMath-CodeLlama-7b-Python-hf.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +OpenMath-CodeLlama-7b-Python-hf.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +OpenMath-CodeLlama-7b-Python-hf.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text +OpenMath-CodeLlama-7b-Python-hf.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text +OpenMath-CodeLlama-7b-Python-hf.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +OpenMath-CodeLlama-7b-Python-hf.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text +OpenMath-CodeLlama-7b-Python-hf.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +OpenMath-CodeLlama-7b-Python-hf.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/OpenMath-CodeLlama-7b-Python-hf.IQ4_XS.gguf b/OpenMath-CodeLlama-7b-Python-hf.IQ4_XS.gguf new file mode 100644 index 0000000..e9a4019 --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.IQ4_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab5a50c16b8c2d70dcf6d22cd12a2d5f1927ca253a01723583ac1bfdba52aba9 +size 3647517984 diff --git a/OpenMath-CodeLlama-7b-Python-hf.Q2_K.gguf b/OpenMath-CodeLlama-7b-Python-hf.Q2_K.gguf new file mode 100644 index 0000000..93c0caf --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a95d57894b2901aa866f8ff61526b4cb115612695064794ec73b80941166dfb +size 2532865312 diff --git a/OpenMath-CodeLlama-7b-Python-hf.Q3_K_L.gguf b/OpenMath-CodeLlama-7b-Python-hf.Q3_K_L.gguf new file mode 100644 index 0000000..60965e2 --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.Q3_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8030d6bf398e9cd4101f0b5f0b548a1f16860f6fef4ef9e768e23e9e491dbbfb +size 3597112608 diff --git a/OpenMath-CodeLlama-7b-Python-hf.Q3_K_M.gguf b/OpenMath-CodeLlama-7b-Python-hf.Q3_K_M.gguf new file mode 100644 index 0000000..7cd3879 --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4684c4563c67aab43f7ec4741676a56b9460875fb6a23f3313c9a7ba23fc1b5 +size 3298006304 diff --git a/OpenMath-CodeLlama-7b-Python-hf.Q3_K_S.gguf b/OpenMath-CodeLlama-7b-Python-hf.Q3_K_S.gguf new file mode 100644 index 0000000..14fb38e --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.Q3_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7639ca485c4d53dadc93cd350fd8a54a6723a98dcab8a4e38225798de5d3ee47 +size 2948306208 diff --git a/OpenMath-CodeLlama-7b-Python-hf.Q4_K_M.gguf b/OpenMath-CodeLlama-7b-Python-hf.Q4_K_M.gguf new file mode 100644 index 0000000..1e65621 --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2526dffaa69777dfd0e07b18762373738666e4448fb42170d4420823e4619aa +size 4081005856 diff --git a/OpenMath-CodeLlama-7b-Python-hf.Q4_K_S.gguf b/OpenMath-CodeLlama-7b-Python-hf.Q4_K_S.gguf new file mode 100644 index 0000000..47ab0a6 --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.Q4_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fc1c889414ac7b40a01ccfe846f3d36b2293554a16fa2127f3343c0a952e002 +size 3856741664 diff --git a/OpenMath-CodeLlama-7b-Python-hf.Q5_K_M.gguf b/OpenMath-CodeLlama-7b-Python-hf.Q5_K_M.gguf new file mode 100644 index 0000000..524669f --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed0061305f537a2a6bcc64793447441879b9b3a8e7f418a9e43d69d8a6ce55f6 +size 4783158560 diff --git a/OpenMath-CodeLlama-7b-Python-hf.Q5_K_S.gguf b/OpenMath-CodeLlama-7b-Python-hf.Q5_K_S.gguf new file mode 100644 index 0000000..14a2eb9 --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.Q5_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca7cf466ec74d61b8797080ec6808bc9d129367672de4bde1b3b34d0cc0a51e6 +size 4651693344 diff --git a/OpenMath-CodeLlama-7b-Python-hf.Q6_K.gguf b/OpenMath-CodeLlama-7b-Python-hf.Q6_K.gguf new file mode 100644 index 0000000..1a56729 --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29a0213a668df240977a70b48aece7027da45f40794b94324f73f0a032b5fdc6 +size 5529195808 diff --git a/OpenMath-CodeLlama-7b-Python-hf.Q8_0.gguf b/OpenMath-CodeLlama-7b-Python-hf.Q8_0.gguf new file mode 100644 index 0000000..660298d --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34351b7913452175ad6827db6de6eeebee0d129de2dd79c27a16eeaef0e22e67 +size 7161091360 diff --git a/OpenMath-CodeLlama-7b-Python-hf.f16.gguf b/OpenMath-CodeLlama-7b-Python-hf.f16.gguf new file mode 100644 index 0000000..12f64d8 --- /dev/null +++ b/OpenMath-CodeLlama-7b-Python-hf.f16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c35bd1a2165195939b763c602a1653299e263f3128233a9601fe2b563326a5b9 +size 13478106400 diff --git a/README.md b/README.md new file mode 100644 index 0000000..6e1f537 --- /dev/null +++ b/README.md @@ -0,0 +1,70 @@ +--- +base_model: nvidia/OpenMath-CodeLlama-7b-Python-hf +datasets: +- nvidia/OpenMathInstruct-1 +language: +- en +library_name: transformers +license: llama2 +quantized_by: mradermacher +tags: +- nvidia +- code +- math +--- +## About + + + + + + +static quants of https://huggingface.co/nvidia/OpenMath-CodeLlama-7b-Python-hf + + +weighted/imatrix quants are available at https://huggingface.co/mradermacher/OpenMath-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/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-7b-Python-hf.Q2_K.gguf) | Q2_K | 2.6 | | +| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-7b-Python-hf.Q3_K_S.gguf) | Q3_K_S | 3.0 | | +| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-7b-Python-hf.Q3_K_M.gguf) | Q3_K_M | 3.4 | lower quality | +| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-7b-Python-hf.Q3_K_L.gguf) | Q3_K_L | 3.7 | | +| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-7b-Python-hf.IQ4_XS.gguf) | IQ4_XS | 3.7 | | +| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-7b-Python-hf.Q4_K_S.gguf) | Q4_K_S | 4.0 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-7b-Python-hf.Q4_K_M.gguf) | Q4_K_M | 4.2 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-7b-Python-hf.Q5_K_S.gguf) | Q5_K_S | 4.8 | | +| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-7b-Python-hf.Q5_K_M.gguf) | Q5_K_M | 4.9 | | +| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-7b-Python-hf.Q6_K.gguf) | Q6_K | 5.6 | very good quality | +| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-7b-Python-hf.Q8_0.gguf) | Q8_0 | 7.3 | fast, best quality | +| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-GGUF/resolve/main/OpenMath-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. + +