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

Model: bartowski/Llama-3-8B-Instruct-Coder-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-18 13:20:22 +08:00
commit 394f788f97
27 changed files with 242 additions and 0 deletions

59
.gitattributes vendored Normal file
View File

@@ -0,0 +1,59 @@
*.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
Llama-3-8B-Instruct-Coder-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder.imatrix filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Coder-fp16.gguf filter=lfs diff=lfs merge=lfs -text

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

110
README.md Normal file
View File

@@ -0,0 +1,110 @@
---
language:
- en
license: apache-2.0
tags:
- text-generation-inference
- transformers
- unsloth
- llama
- trl
- sft
base_model: unsloth/llama-3-8b-Instruct-bnb-4bit
quantized_by: bartowski
pipeline_tag: text-generation
---
## Llamacpp imatrix Quantizations of Llama-3-8B-Instruct-Coder
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2777">b2777</a> for quantization.
Original model: https://huggingface.co/rombodawg/Llama-3-8B-Instruct-Coder
All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
## Prompt format
```
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
{system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
{prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
```
## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Description |
| -------- | ---------- | --------- | ----------- |
| [Llama-3-8B-Instruct-Coder-Q8_0.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
| [Llama-3-8B-Instruct-Coder-Q6_K.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
| [Llama-3-8B-Instruct-Coder-Q5_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
| [Llama-3-8B-Instruct-Coder-Q5_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
| [Llama-3-8B-Instruct-Coder-Q4_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
| [Llama-3-8B-Instruct-Coder-Q4_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
| [Llama-3-8B-Instruct-Coder-IQ4_NL.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ4_NL.gguf) | IQ4_NL | 4.67GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
| [Llama-3-8B-Instruct-Coder-IQ4_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [Llama-3-8B-Instruct-Coder-Q3_K_L.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
| [Llama-3-8B-Instruct-Coder-Q3_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
| [Llama-3-8B-Instruct-Coder-IQ3_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [Llama-3-8B-Instruct-Coder-IQ3_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ3_S.gguf) | IQ3_S | 3.68GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
| [Llama-3-8B-Instruct-Coder-Q3_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
| [Llama-3-8B-Instruct-Coder-IQ3_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| [Llama-3-8B-Instruct-Coder-IQ3_XXS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
| [Llama-3-8B-Instruct-Coder-Q2_K.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
| [Llama-3-8B-Instruct-Coder-IQ2_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
| [Llama-3-8B-Instruct-Coder-IQ2_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
| [Llama-3-8B-Instruct-Coder-IQ2_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
| [Llama-3-8B-Instruct-Coder-IQ2_XXS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ2_XXS.gguf) | IQ2_XXS | 2.39GB | Lower quality, uses SOTA techniques to be usable. |
| [Llama-3-8B-Instruct-Coder-IQ1_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ1_M.gguf) | IQ1_M | 2.16GB | Extremely low quality, *not* recommended. |
| [Llama-3-8B-Instruct-Coder-IQ1_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Coder-GGUF/blob/main/Llama-3-8B-Instruct-Coder-IQ1_S.gguf) | IQ1_S | 2.01GB | Extremely low quality, *not* recommended. |
## Downloading using huggingface-cli
First, make sure you have hugginface-cli installed:
```
pip install -U "huggingface_hub[cli]"
```
Then, you can target the specific file you want:
```
huggingface-cli download bartowski/Llama-3-8B-Instruct-Coder-GGUF --include "Llama-3-8B-Instruct-Coder-Q4_K_M.gguf" --local-dir ./ --local-dir-use-symlinks False
```
If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:
```
huggingface-cli download bartowski/Llama-3-8B-Instruct-Coder-GGUF --include "Llama-3-8B-Instruct-Coder-Q8_0.gguf/*" --local-dir Llama-3-8B-Instruct-Coder-Q8_0 --local-dir-use-symlinks False
```
You can either specify a new local-dir (Llama-3-8B-Instruct-Coder-Q8_0) or download them all in place (./)
## Which file should I choose?
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.
If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.
If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.
Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.
If you want to get more into the weeds, you can check out this extremely useful feature chart:
[llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.
These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.
The I-quants are *not* compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm.
Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

1
configuration.json Normal file
View File

@@ -0,0 +1 @@
{"framework": "pytorch", "task": "text-generation", "allow_remote": true}