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

Model: bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-26 02:12:06 +08:00
commit 82a7bb6bbb
27 changed files with 245 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.1-Minitron-4B-Width-Base-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q4_0_8_8.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q4_0_4_8.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base-f16.gguf filter=lfs diff=lfs merge=lfs -text
Llama-3.1-Minitron-4B-Width-Base.imatrix filter=lfs diff=lfs merge=lfs -text

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

113
README.md Normal file
View File

@@ -0,0 +1,113 @@
---
base_model: nvidia/Llama-3.1-Minitron-4B-Width-Base
license: other
license_name: nvidia-open-model-license
license_link: https://developer.download.nvidia.com/licenses/nvidia-open-model-license-agreement-june-2024.pdf
pipeline_tag: text-generation
quantized_by: bartowski
---
## Llamacpp imatrix Quantizations of Llama-3.1-Minitron-4B-Width-Base
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3634">b3634</a> for quantization.
Original model: https://huggingface.co/nvidia/Llama-3.1-Minitron-4B-Width-Base
All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
Run them in [LM Studio](https://lmstudio.ai/)
## Prompt format
No prompt format found, check original model page
## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [Llama-3.1-Minitron-4B-Width-Base-f16.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-f16.gguf) | f16 | 9.03GB | false | Full F16 weights. |
| [Llama-3.1-Minitron-4B-Width-Base-Q8_0.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q8_0.gguf) | Q8_0 | 4.80GB | false | Extremely high quality, generally unneeded but max available quant. |
| [Llama-3.1-Minitron-4B-Width-Base-Q6_K_L.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q6_K_L.gguf) | Q6_K_L | 3.90GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [Llama-3.1-Minitron-4B-Width-Base-Q6_K.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q6_K.gguf) | Q6_K | 3.71GB | false | Very high quality, near perfect, *recommended*. |
| [Llama-3.1-Minitron-4B-Width-Base-Q5_K_L.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q5_K_L.gguf) | Q5_K_L | 3.47GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [Llama-3.1-Minitron-4B-Width-Base-Q5_K_M.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q5_K_M.gguf) | Q5_K_M | 3.23GB | false | High quality, *recommended*. |
| [Llama-3.1-Minitron-4B-Width-Base-Q5_K_S.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q5_K_S.gguf) | Q5_K_S | 3.16GB | false | High quality, *recommended*. |
| [Llama-3.1-Minitron-4B-Width-Base-Q4_K_L.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q4_K_L.gguf) | Q4_K_L | 3.07GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [Llama-3.1-Minitron-4B-Width-Base-Q3_K_XL.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q3_K_XL.gguf) | Q3_K_XL | 2.81GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [Llama-3.1-Minitron-4B-Width-Base-Q4_K_M.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q4_K_M.gguf) | Q4_K_M | 2.78GB | false | Good quality, default size for must use cases, *recommended*. |
| [Llama-3.1-Minitron-4B-Width-Base-Q4_K_S.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q4_K_S.gguf) | Q4_K_S | 2.66GB | false | Slightly lower quality with more space savings, *recommended*. |
| [Llama-3.1-Minitron-4B-Width-Base-Q4_0.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q4_0.gguf) | Q4_0 | 2.66GB | false | Legacy format, generally not worth using over similarly sized formats |
| [Llama-3.1-Minitron-4B-Width-Base-Q4_0_8_8.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q4_0_8_8.gguf) | Q4_0_8_8 | 2.65GB | false | Optimized for ARM and CPU inference, much faster than Q4_0 at similar quality. |
| [Llama-3.1-Minitron-4B-Width-Base-Q4_0_4_8.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q4_0_4_8.gguf) | Q4_0_4_8 | 2.65GB | false | Optimized for ARM and CPU inference, much faster than Q4_0 at similar quality. |
| [Llama-3.1-Minitron-4B-Width-Base-Q4_0_4_4.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q4_0_4_4.gguf) | Q4_0_4_4 | 2.65GB | false | Optimized for ARM and CPU inference, much faster than Q4_0 at similar quality. |
| [Llama-3.1-Minitron-4B-Width-Base-IQ4_XS.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-IQ4_XS.gguf) | IQ4_XS | 2.54GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [Llama-3.1-Minitron-4B-Width-Base-Q3_K_L.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q3_K_L.gguf) | Q3_K_L | 2.46GB | false | Lower quality but usable, good for low RAM availability. |
| [Llama-3.1-Minitron-4B-Width-Base-Q3_K_M.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q3_K_M.gguf) | Q3_K_M | 2.30GB | false | Low quality. |
| [Llama-3.1-Minitron-4B-Width-Base-Q2_K_L.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q2_K_L.gguf) | Q2_K_L | 2.22GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
| [Llama-3.1-Minitron-4B-Width-Base-IQ3_M.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-IQ3_M.gguf) | IQ3_M | 2.18GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [Llama-3.1-Minitron-4B-Width-Base-Q3_K_S.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q3_K_S.gguf) | Q3_K_S | 2.10GB | false | Low quality, not recommended. |
| [Llama-3.1-Minitron-4B-Width-Base-IQ3_XS.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-IQ3_XS.gguf) | IQ3_XS | 2.03GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| [Llama-3.1-Minitron-4B-Width-Base-Q2_K.gguf](https://huggingface.co/bartowski/Llama-3.1-Minitron-4B-Width-Base-GGUF/blob/main/Llama-3.1-Minitron-4B-Width-Base-Q2_K.gguf) | Q2_K | 1.84GB | false | Very low quality but surprisingly usable. |
## Embed/output weights
Some of these quants (Q3_K_XL, Q4_K_L etc) are the standard quantization method with the embeddings and output weights quantized to Q8_0 instead of what they would normally default to.
Some say that this improves the quality, others don't notice any difference. If you use these models PLEASE COMMENT with your findings. I would like feedback that these are actually used and useful so I don't keep uploading quants no one is using.
Thanks!
## Credits
Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset
Thank you ZeroWw for the inspiration to experiment with embed/output
## 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.1-Minitron-4B-Width-Base-GGUF --include "Llama-3.1-Minitron-4B-Width-Base-Q4_K_M.gguf" --local-dir ./
```
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.1-Minitron-4B-Width-Base-GGUF --include "Llama-3.1-Minitron-4B-Width-Base-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (Llama-3.1-Minitron-4B-Width-Base-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}