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

Model: bartowski/IceDrunkenCherryRP-7b-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-04 01:00:05 +08:00
commit ef4b1ed119
28 changed files with 409 additions and 0 deletions

61
.gitattributes vendored Normal file
View File

@@ -0,0 +1,61 @@
*.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
IceDrunkenCherryRP-7b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q4_0_8_8.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q4_0_4_8.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b-f16.gguf filter=lfs diff=lfs merge=lfs -text
IceDrunkenCherryRP-7b.imatrix filter=lfs diff=lfs merge=lfs -text

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

270
README.md Normal file
View File

@@ -0,0 +1,270 @@
---
quantized_by: bartowski
pipeline_tag: text-generation
base_model: icefog72/IceDrunkenCherryRP-7b
license: cc-by-nc-4.0
tags:
- mergekit
- merge
- alpaca
- mistral
- not-for-all-audiences
- nsfw
model-index:
- name: Ice0.40-20.11-RP, IceDrunkenCherryRP-7b
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: 47.63
name: strict accuracy
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=icefog72/Ice0.40-20.11-RP
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: 31.51
name: normalized accuracy
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=icefog72/Ice0.40-20.11-RP
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: 6.27
name: exact match
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=icefog72/Ice0.40-20.11-RP
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: 7.61
name: acc_norm
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=icefog72/Ice0.40-20.11-RP
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.27
name: acc_norm
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=icefog72/Ice0.40-20.11-RP
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: 23.32
name: accuracy
source:
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=icefog72/Ice0.40-20.11-RP
name: Open LLM Leaderboard
---
## Llamacpp imatrix Quantizations of IceDrunkenCherryRP-7b
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b4222">b4222</a> for quantization.
Original model: https://huggingface.co/icefog72/IceDrunkenCherryRP-7b
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
```
<s> [INST] {system_prompt}
{prompt} [/INST]
```
## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [IceDrunkenCherryRP-7b-f16.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-f16.gguf) | f16 | 14.48GB | false | Full F16 weights. |
| [IceDrunkenCherryRP-7b-Q8_0.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q8_0.gguf) | Q8_0 | 7.70GB | false | Extremely high quality, generally unneeded but max available quant. |
| [IceDrunkenCherryRP-7b-Q6_K_L.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q6_K_L.gguf) | Q6_K_L | 6.01GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [IceDrunkenCherryRP-7b-Q6_K.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q6_K.gguf) | Q6_K | 5.94GB | false | Very high quality, near perfect, *recommended*. |
| [IceDrunkenCherryRP-7b-Q5_K_L.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q5_K_L.gguf) | Q5_K_L | 5.21GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [IceDrunkenCherryRP-7b-Q5_K_M.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q5_K_M.gguf) | Q5_K_M | 5.13GB | false | High quality, *recommended*. |
| [IceDrunkenCherryRP-7b-Q5_K_S.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q5_K_S.gguf) | Q5_K_S | 5.00GB | false | High quality, *recommended*. |
| [IceDrunkenCherryRP-7b-Q4_K_L.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q4_K_L.gguf) | Q4_K_L | 4.47GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [IceDrunkenCherryRP-7b-Q4_K_M.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q4_K_M.gguf) | Q4_K_M | 4.37GB | false | Good quality, default size for most use cases, *recommended*. |
| [IceDrunkenCherryRP-7b-Q4_K_S.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q4_K_S.gguf) | Q4_K_S | 4.14GB | false | Slightly lower quality with more space savings, *recommended*. |
| [IceDrunkenCherryRP-7b-IQ4_NL.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-IQ4_NL.gguf) | IQ4_NL | 4.13GB | false | Similar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference. |
| [IceDrunkenCherryRP-7b-Q4_0.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q4_0.gguf) | Q4_0 | 4.12GB | false | Legacy format, offers online repacking for ARM CPU inference. |
| [IceDrunkenCherryRP-7b-Q4_0_8_8.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q4_0_8_8.gguf) | Q4_0_8_8 | 4.11GB | false | Optimized for ARM and AVX inference. Requires 'sve' support for ARM (see details below). *Don't use on Mac*. |
| [IceDrunkenCherryRP-7b-Q4_0_4_8.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q4_0_4_8.gguf) | Q4_0_4_8 | 4.11GB | false | Optimized for ARM inference. Requires 'i8mm' support (see details below). *Don't use on Mac*. |
| [IceDrunkenCherryRP-7b-Q4_0_4_4.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q4_0_4_4.gguf) | Q4_0_4_4 | 4.11GB | false | Optimized for ARM inference. Should work well on all ARM chips, not for use with GPUs. *Don't use on Mac*. |
| [IceDrunkenCherryRP-7b-Q3_K_XL.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q3_K_XL.gguf) | Q3_K_XL | 3.94GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [IceDrunkenCherryRP-7b-IQ4_XS.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-IQ4_XS.gguf) | IQ4_XS | 3.91GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [IceDrunkenCherryRP-7b-Q3_K_L.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q3_K_L.gguf) | Q3_K_L | 3.82GB | false | Lower quality but usable, good for low RAM availability. |
| [IceDrunkenCherryRP-7b-Q3_K_M.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q3_K_M.gguf) | Q3_K_M | 3.52GB | false | Low quality. |
| [IceDrunkenCherryRP-7b-IQ3_M.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-IQ3_M.gguf) | IQ3_M | 3.28GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [IceDrunkenCherryRP-7b-Q3_K_S.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q3_K_S.gguf) | Q3_K_S | 3.16GB | false | Low quality, not recommended. |
| [IceDrunkenCherryRP-7b-IQ3_XS.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-IQ3_XS.gguf) | IQ3_XS | 3.02GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| [IceDrunkenCherryRP-7b-Q2_K_L.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q2_K_L.gguf) | Q2_K_L | 2.85GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
| [IceDrunkenCherryRP-7b-Q2_K.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-Q2_K.gguf) | Q2_K | 2.72GB | false | Very low quality but surprisingly usable. |
| [IceDrunkenCherryRP-7b-IQ2_M.gguf](https://huggingface.co/bartowski/IceDrunkenCherryRP-7b-GGUF/blob/main/IceDrunkenCherryRP-7b-IQ2_M.gguf) | IQ2_M | 2.50GB | false | Relatively low quality, uses SOTA techniques to be 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.
## 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/IceDrunkenCherryRP-7b-GGUF --include "IceDrunkenCherryRP-7b-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/IceDrunkenCherryRP-7b-GGUF --include "IceDrunkenCherryRP-7b-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (IceDrunkenCherryRP-7b-Q8_0) or download them all in place (./)
</details>
## Q4_0_X_X information
New: Thanks to efforts made to have online repacking of weights in [this PR](https://github.com/ggerganov/llama.cpp/pull/9921), you can now just use Q4_0 if your llama.cpp has been compiled for your ARM device.
Similarly, if you want to get slightly better performance, 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</summary>
These are *NOT* for Metal (Apple) or GPU (nvidia/AMD/intel) offloading, only ARM chips (and certain AVX2/AVX512 CPUs).
If you're using an ARM chip, the Q4_0_X_X quants will have a substantial speedup. Check out Q4_0_4_4 speed comparisons [on the original pull request](https://github.com/ggerganov/llama.cpp/pull/5780#pullrequestreview-21657544660)
To check which one would work best for your ARM chip, you can check [AArch64 SoC features](https://gpages.juszkiewicz.com.pl/arm-socs-table/arm-socs.html) (thanks EloyOn!).
If you're using a CPU that supports AVX2 or AVX512 (typically server CPUs and AMD's latest Zen5 CPUs) and are not offloading to a GPU, the Q4_0_8_8 may offer a nice speed as well:
<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