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

Model: bartowski/Halu-8B-Llama3-Blackroot-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-01 12:54:12 +08:00
commit f634b5cb30
28 changed files with 368 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
Halu-8B-Llama3-Blackroot-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q4_0_8_8.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q4_0_4_8.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot-f16.gguf filter=lfs diff=lfs merge=lfs -text
Halu-8B-Llama3-Blackroot.imatrix filter=lfs diff=lfs merge=lfs -text

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

232
README.md Normal file
View File

@@ -0,0 +1,232 @@
---
base_model: Hastagaras/Halu-8B-Llama3-Blackroot
license: llama3
pipeline_tag: text-generation
tags:
- mergekit
- merge
- not-for-all-audiences
quantized_by: bartowski
model-index:
- name: Halu-8B-Llama3-Blackroot
results:
- task:
type: text-generation
name: Text Generation
dataset:
name: AI2 Reasoning Challenge (25-Shot)
type: ai2_arc
config: ARC-Challenge
split: test
args:
num_few_shot: 25
metrics:
- type: acc_norm
value: 63.82
name: normalized accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Hastagaras/Halu-8B-Llama3-Blackroot
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: HellaSwag (10-Shot)
type: hellaswag
split: validation
args:
num_few_shot: 10
metrics:
- type: acc_norm
value: 84.55
name: normalized accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Hastagaras/Halu-8B-Llama3-Blackroot
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: MMLU (5-Shot)
type: cais/mmlu
config: all
split: test
args:
num_few_shot: 5
metrics:
- type: acc
value: 67.04
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Hastagaras/Halu-8B-Llama3-Blackroot
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: TruthfulQA (0-shot)
type: truthful_qa
config: multiple_choice
split: validation
args:
num_few_shot: 0
metrics:
- type: mc2
value: 53.28
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Hastagaras/Halu-8B-Llama3-Blackroot
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: Winogrande (5-shot)
type: winogrande
config: winogrande_xl
split: validation
args:
num_few_shot: 5
metrics:
- type: acc
value: 79.48
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Hastagaras/Halu-8B-Llama3-Blackroot
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: GSM8k (5-shot)
type: gsm8k
config: main
split: test
args:
num_few_shot: 5
metrics:
- type: acc
value: 70.51
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Hastagaras/Halu-8B-Llama3-Blackroot
name: Open LLM Leaderboard
---
## Llamacpp imatrix Quantizations of Halu-8B-Llama3-Blackroot
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3901">b3901</a> for quantization.
Original model: https://huggingface.co/Hastagaras/Halu-8B-Llama3-Blackroot
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
```
<|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 | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [Halu-8B-Llama3-Blackroot-f16.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-f16.gguf) | f16 | 16.07GB | false | Full F16 weights. |
| [Halu-8B-Llama3-Blackroot-Q8_0.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q8_0.gguf) | Q8_0 | 8.54GB | false | Extremely high quality, generally unneeded but max available quant. |
| [Halu-8B-Llama3-Blackroot-Q6_K_L.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q6_K_L.gguf) | Q6_K_L | 6.85GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [Halu-8B-Llama3-Blackroot-Q6_K.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q6_K.gguf) | Q6_K | 6.60GB | false | Very high quality, near perfect, *recommended*. |
| [Halu-8B-Llama3-Blackroot-Q5_K_L.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q5_K_L.gguf) | Q5_K_L | 6.06GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [Halu-8B-Llama3-Blackroot-Q5_K_M.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q5_K_M.gguf) | Q5_K_M | 5.73GB | false | High quality, *recommended*. |
| [Halu-8B-Llama3-Blackroot-Q5_K_S.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q5_K_S.gguf) | Q5_K_S | 5.60GB | false | High quality, *recommended*. |
| [Halu-8B-Llama3-Blackroot-Q4_K_L.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q4_K_L.gguf) | Q4_K_L | 5.31GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [Halu-8B-Llama3-Blackroot-Q4_K_M.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q4_K_M.gguf) | Q4_K_M | 4.92GB | false | Good quality, default size for must use cases, *recommended*. |
| [Halu-8B-Llama3-Blackroot-Q3_K_XL.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q3_K_XL.gguf) | Q3_K_XL | 4.78GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [Halu-8B-Llama3-Blackroot-Q4_K_S.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q4_K_S.gguf) | Q4_K_S | 4.69GB | false | Slightly lower quality with more space savings, *recommended*. |
| [Halu-8B-Llama3-Blackroot-Q4_0.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q4_0.gguf) | Q4_0 | 4.68GB | false | Legacy format, generally not worth using over similarly sized formats |
| [Halu-8B-Llama3-Blackroot-Q4_0_8_8.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q4_0_8_8.gguf) | Q4_0_8_8 | 4.66GB | false | Optimized for ARM inference. Requires 'sve' support (see link below). *Don't use on Mac or Windows*. |
| [Halu-8B-Llama3-Blackroot-Q4_0_4_8.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q4_0_4_8.gguf) | Q4_0_4_8 | 4.66GB | false | Optimized for ARM inference. Requires 'i8mm' support (see link below). *Don't use on Mac or Windows*. |
| [Halu-8B-Llama3-Blackroot-Q4_0_4_4.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q4_0_4_4.gguf) | Q4_0_4_4 | 4.66GB | false | Optimized for ARM inference. Should work well on all ARM chips, pick this if you're unsure. *Don't use on Mac or Windows*. |
| [Halu-8B-Llama3-Blackroot-IQ4_XS.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-IQ4_XS.gguf) | IQ4_XS | 4.45GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [Halu-8B-Llama3-Blackroot-Q3_K_L.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q3_K_L.gguf) | Q3_K_L | 4.32GB | false | Lower quality but usable, good for low RAM availability. |
| [Halu-8B-Llama3-Blackroot-Q3_K_M.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q3_K_M.gguf) | Q3_K_M | 4.02GB | false | Low quality. |
| [Halu-8B-Llama3-Blackroot-IQ3_M.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-IQ3_M.gguf) | IQ3_M | 3.78GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [Halu-8B-Llama3-Blackroot-Q2_K_L.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q2_K_L.gguf) | Q2_K_L | 3.69GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
| [Halu-8B-Llama3-Blackroot-Q3_K_S.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q3_K_S.gguf) | Q3_K_S | 3.66GB | false | Low quality, not recommended. |
| [Halu-8B-Llama3-Blackroot-IQ3_XS.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-IQ3_XS.gguf) | IQ3_XS | 3.52GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| [Halu-8B-Llama3-Blackroot-Q2_K.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-Q2_K.gguf) | Q2_K | 3.18GB | false | Very low quality but surprisingly usable. |
| [Halu-8B-Llama3-Blackroot-IQ2_M.gguf](https://huggingface.co/bartowski/Halu-8B-Llama3-Blackroot-GGUF/blob/main/Halu-8B-Llama3-Blackroot-IQ2_M.gguf) | IQ2_M | 2.95GB | 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.
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!
## 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/Halu-8B-Llama3-Blackroot-GGUF --include "Halu-8B-Llama3-Blackroot-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/Halu-8B-Llama3-Blackroot-GGUF --include "Halu-8B-Llama3-Blackroot-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (Halu-8B-Llama3-Blackroot-Q8_0) or download them all in place (./)
## Q4_0_X_X
These are *NOT* for Metal (Apple) offloading, only ARM chips.
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!).
## 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.
## 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}