初始化项目,由ModelHub XC社区提供模型

Model: mradermacher/CodeLlama-7b-Python-hf-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-26 23:56:18 +08:00
commit f2d97ad8e2
17 changed files with 164 additions and 0 deletions

50
.gitattributes vendored Normal file
View File

@@ -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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a5f280b045b77d07b6d749ff038ba88617300a809cd1ef1f6b6324d4d89eca78
size 3114865376

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2727cfbfc045ecd8eb67a75d091228a8e6785ca30c5f5cc9af7a52848329fe75
size 2948305632

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:298a2e197354666d8bba8583368c31730618f504fe2588f323fbac5b4161ccad
size 2796524256

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb5f06fc1817ad3cfc6df9e7ab1fedcae1e8aefc25cfd0cdc9fc3c1ff9e7f9db
size 3647517408

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f1a10209ffe93cf92ffbbee0ec6ccbd83d899647f300ce890d15885e3fb1bb4
size 2532864736

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4065ee2109e8143fc9b9cd41bd6bd0eff6695f7bbffb26a99b462c0c6a59eeb
size 3597112032

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d41a4b9bf509224e87c4a6c3890e8ee1bf7c3af0196f02b9a0b9f6c9500ead1
size 3298005728

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a6a7eb862b45833d43446f05b46250046b614edcbb234e77f5bbb921fa51f60
size 2948305632

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed9a775300d1904da17998324240171d45af91bdd177a3690a3f1f1c78f6cc81
size 4081005280

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed055aa5d85ced29f3c4e6f9ea96db6b3d059b8f16b628765e60c81e8e1cfa7a
size 3856741088

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:533fe131f4b26afaeedd264c6eae871c553e405e4c5b150bc6a0ed0a3a8aa019
size 4783157984

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63d86aca08dcf48c091ec71c69a571bb01ba0e500212341afcae3aa45d7f4620
size 4651692768

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cbac943081e36d18131467afd61806ed018d89fea7bc6532364473a5f9df6aa
size 5529195232

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0445f7a026bcb3e3c1e63700f8573a856acfae88efbd671a7e5f135af72b9c1f
size 7161090784

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32ca5c02e389629e2ef359a2e061e1bd2cb2f69357a3fe69fb93d3497c7514b5
size 13478105824

69
README.md Normal file
View File

@@ -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
<!-- ### quantize_version: 2 -->
<!-- ### output_tensor_quantised: 1 -->
<!-- ### convert_type: hf -->
<!-- ### vocab_type: -->
<!-- ### tags: -->
static quants of https://huggingface.co/codellama/CodeLlama-7b-Python-hf
<!-- provided-files -->
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.
<!-- end -->