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

Model: bartowski/Q2.5-Veltha-14B-0.5-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-05 16:29:35 +08:00
commit 10aa8358bb
28 changed files with 401 additions and 0 deletions

60
.gitattributes vendored Normal file
View File

@@ -0,0 +1,60 @@
*.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
Q2.5-Veltha-14B-0.5-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5-f16.gguf filter=lfs diff=lfs merge=lfs -text
Q2.5-Veltha-14B-0.5.imatrix filter=lfs diff=lfs merge=lfs -text

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

265
README.md Normal file
View File

@@ -0,0 +1,265 @@
---
quantized_by: bartowski
pipeline_tag: text-generation
base_model: djuna/Q2.5-Veltha-14B-0.5
tags:
- mergekit
- merge
model-index:
- name: Q2.5-Veltha-14B-0.5
results:
- task:
type: text-generation
name: Text Generation
dataset:
name: IFEval (0-Shot)
type: HuggingFaceH4/ifeval
args:
num_few_shot: 0
metrics:
- type: inst_level_strict_acc and prompt_level_strict_acc
value: 77.96
name: strict accuracy
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=djuna/Q2.5-Veltha-14B-0.5
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: BBH (3-Shot)
type: BBH
args:
num_few_shot: 3
metrics:
- type: acc_norm
value: 50.32
name: normalized accuracy
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=djuna/Q2.5-Veltha-14B-0.5
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: MATH Lvl 5 (4-Shot)
type: hendrycks/competition_math
args:
num_few_shot: 4
metrics:
- type: exact_match
value: 33.84
name: exact match
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=djuna/Q2.5-Veltha-14B-0.5
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: GPQA (0-shot)
type: Idavidrein/gpqa
args:
num_few_shot: 0
metrics:
- type: acc_norm
value: 15.77
name: acc_norm
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=djuna/Q2.5-Veltha-14B-0.5
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: MuSR (0-shot)
type: TAUR-Lab/MuSR
args:
num_few_shot: 0
metrics:
- type: acc_norm
value: 14.17
name: acc_norm
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=djuna/Q2.5-Veltha-14B-0.5
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: MMLU-PRO (5-shot)
type: TIGER-Lab/MMLU-Pro
config: main
split: test
args:
num_few_shot: 5
metrics:
- type: acc
value: 47.72
name: accuracy
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=djuna/Q2.5-Veltha-14B-0.5
name: Open LLM Leaderboard
---
## Llamacpp imatrix Quantizations of Q2.5-Veltha-14B-0.5
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b4381">b4381</a> for quantization.
Original model: https://huggingface.co/djuna/Q2.5-Veltha-14B-0.5
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
```
<|im_start|>system
{system_prompt}<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
```
## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [Q2.5-Veltha-14B-0.5-f16.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-f16.gguf) | f16 | 29.54GB | false | Full F16 weights. |
| [Q2.5-Veltha-14B-0.5-Q8_0.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q8_0.gguf) | Q8_0 | 15.70GB | false | Extremely high quality, generally unneeded but max available quant. |
| [Q2.5-Veltha-14B-0.5-Q6_K_L.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q6_K_L.gguf) | Q6_K_L | 12.50GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [Q2.5-Veltha-14B-0.5-Q6_K.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q6_K.gguf) | Q6_K | 12.12GB | false | Very high quality, near perfect, *recommended*. |
| [Q2.5-Veltha-14B-0.5-Q5_K_L.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q5_K_L.gguf) | Q5_K_L | 10.99GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [Q2.5-Veltha-14B-0.5-Q5_K_M.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q5_K_M.gguf) | Q5_K_M | 10.51GB | false | High quality, *recommended*. |
| [Q2.5-Veltha-14B-0.5-Q5_K_S.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q5_K_S.gguf) | Q5_K_S | 10.26GB | false | High quality, *recommended*. |
| [Q2.5-Veltha-14B-0.5-Q4_K_L.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q4_K_L.gguf) | Q4_K_L | 9.56GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [Q2.5-Veltha-14B-0.5-Q4_1.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q4_1.gguf) | Q4_1 | 9.39GB | false | Legacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon. |
| [Q2.5-Veltha-14B-0.5-Q4_K_M.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q4_K_M.gguf) | Q4_K_M | 8.99GB | false | Good quality, default size for most use cases, *recommended*. |
| [Q2.5-Veltha-14B-0.5-Q3_K_XL.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q3_K_XL.gguf) | Q3_K_XL | 8.60GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [Q2.5-Veltha-14B-0.5-Q4_K_S.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q4_K_S.gguf) | Q4_K_S | 8.57GB | false | Slightly lower quality with more space savings, *recommended*. |
| [Q2.5-Veltha-14B-0.5-IQ4_NL.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-IQ4_NL.gguf) | IQ4_NL | 8.55GB | false | Similar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference. |
| [Q2.5-Veltha-14B-0.5-Q4_0.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q4_0.gguf) | Q4_0 | 8.54GB | false | Legacy format, offers online repacking for ARM and AVX CPU inference. |
| [Q2.5-Veltha-14B-0.5-IQ4_XS.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-IQ4_XS.gguf) | IQ4_XS | 8.12GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [Q2.5-Veltha-14B-0.5-Q3_K_L.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q3_K_L.gguf) | Q3_K_L | 7.92GB | false | Lower quality but usable, good for low RAM availability. |
| [Q2.5-Veltha-14B-0.5-Q3_K_M.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q3_K_M.gguf) | Q3_K_M | 7.34GB | false | Low quality. |
| [Q2.5-Veltha-14B-0.5-IQ3_M.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-IQ3_M.gguf) | IQ3_M | 6.91GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [Q2.5-Veltha-14B-0.5-Q3_K_S.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q3_K_S.gguf) | Q3_K_S | 6.66GB | false | Low quality, not recommended. |
| [Q2.5-Veltha-14B-0.5-Q2_K_L.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q2_K_L.gguf) | Q2_K_L | 6.53GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
| [Q2.5-Veltha-14B-0.5-IQ3_XS.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-IQ3_XS.gguf) | IQ3_XS | 6.38GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| [Q2.5-Veltha-14B-0.5-Q2_K.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-Q2_K.gguf) | Q2_K | 5.77GB | false | Very low quality but surprisingly usable. |
| [Q2.5-Veltha-14B-0.5-IQ2_M.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-IQ2_M.gguf) | IQ2_M | 5.35GB | false | Relatively low quality, uses SOTA techniques to be surprisingly usable. |
| [Q2.5-Veltha-14B-0.5-IQ2_S.gguf](https://huggingface.co/bartowski/Q2.5-Veltha-14B-0.5-GGUF/blob/main/Q2.5-Veltha-14B-0.5-IQ2_S.gguf) | IQ2_S | 5.00GB | false | Low quality, uses SOTA techniques to be 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.
## Downloading using huggingface-cli
<details>
<summary>Click to view download instructions</summary>
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/Q2.5-Veltha-14B-0.5-GGUF --include "Q2.5-Veltha-14B-0.5-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/Q2.5-Veltha-14B-0.5-GGUF --include "Q2.5-Veltha-14B-0.5-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (Q2.5-Veltha-14B-0.5-Q8_0) or download them all in place (./)
</details>
## ARM/AVX information
Previously, you would download Q4_0_4_4/4_8/8_8, and these would have their weights interleaved in memory in order to improve performance on ARM and AVX machines by loading up more data in one pass.
Now, however, there is something called "online repacking" for weights. details in [this PR](https://github.com/ggerganov/llama.cpp/pull/9921). If you use Q4_0 and your hardware would benefit from repacking weights, it will do it automatically on the fly.
As of llama.cpp build [b4282](https://github.com/ggerganov/llama.cpp/releases/tag/b4282) you will not be able to run the Q4_0_X_X files and will instead need to use Q4_0.
Additionally, if you want to get slightly better quality for , you can use IQ4_NL thanks to [this PR](https://github.com/ggerganov/llama.cpp/pull/10541) which will also repack the weights for ARM, though only the 4_4 for now. The loading time may be slower but it will result in an overall speed incrase.
<details>
<summary>Click to view Q4_0_X_X information (deprecated</summary>
I'm keeping this section to show the potential theoretical uplift in performance from using the Q4_0 with online repacking.
<details>
<summary>Click to view benchmarks on an AVX2 system (EPYC7702)</summary>
| model | size | params | backend | threads | test | t/s | % (vs Q4_0) |
| ------------------------------ | ---------: | ---------: | ---------- | ------: | ------------: | -------------------: |-------------: |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | pp512 | 204.03 ± 1.03 | 100% |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | pp1024 | 282.92 ± 0.19 | 100% |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | pp2048 | 259.49 ± 0.44 | 100% |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | tg128 | 39.12 ± 0.27 | 100% |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | tg256 | 39.31 ± 0.69 | 100% |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | tg512 | 40.52 ± 0.03 | 100% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | pp512 | 301.02 ± 1.74 | 147% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | pp1024 | 287.23 ± 0.20 | 101% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | pp2048 | 262.77 ± 1.81 | 101% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | tg128 | 18.80 ± 0.99 | 48% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | tg256 | 24.46 ± 3.04 | 83% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | tg512 | 36.32 ± 3.59 | 90% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | pp512 | 271.71 ± 3.53 | 133% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | pp1024 | 279.86 ± 45.63 | 100% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | pp2048 | 320.77 ± 5.00 | 124% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | tg128 | 43.51 ± 0.05 | 111% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | tg256 | 43.35 ± 0.09 | 110% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | tg512 | 42.60 ± 0.31 | 105% |
Q4_0_8_8 offers a nice bump to prompt processing and a small bump to text generation
</details>
</details>
## Which file should I choose?
<details>
<summary>Click here for details</summary>
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.
</details>
## 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.
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}