Update metadata with huggingface_hub

This commit is contained in:
ai-modelscope
2024-11-19 16:07:10 +08:00
parent 9233bdcb50
commit 52616b75a4
22 changed files with 199 additions and 55 deletions

44
.gitattributes vendored
View File

@@ -1,38 +1,54 @@
*.7z filter=lfs diff=lfs merge=lfs -text *.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text *.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text *.bin filter=lfs diff=lfs merge=lfs -text
*.bin.* filter=lfs diff=lfs merge=lfs -text
*.bz2 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 *.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text *.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text *.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text *.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* 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 *.model filter=lfs diff=lfs merge=lfs -text
*.msgpack 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 *.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text *.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text *.parquet filter=lfs diff=lfs merge=lfs -text
*.pb 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 *.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text *.pth filter=lfs diff=lfs merge=lfs -text
*.rar 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 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
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text *.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz 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 *.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text
*.zstandard filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text
*.tfevents* filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text
*.db* filter=lfs diff=lfs merge=lfs -text Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
*.ark* filter=lfs diff=lfs merge=lfs -text Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
**/*ckpt*data* filter=lfs diff=lfs merge=lfs -text Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
**/*ckpt*.meta filter=lfs diff=lfs merge=lfs -text Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
**/*ckpt*.index filter=lfs diff=lfs merge=lfs -text Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
*.gguf* filter=lfs diff=lfs merge=lfs -text Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
*.ggml filter=lfs diff=lfs merge=lfs -text Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
*.llamafile* filter=lfs diff=lfs merge=lfs -text Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0_8_8.gguf filter=lfs diff=lfs merge=lfs -text
*.pt2 filter=lfs diff=lfs merge=lfs -text Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0_4_8.gguf filter=lfs diff=lfs merge=lfs -text
Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text
Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-f16.gguf filter=lfs diff=lfs merge=lfs -text
Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1.imatrix filter=lfs diff=lfs merge=lfs -text

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

152
README.md
View File

@@ -1,47 +1,117 @@
--- ---
license: Apache License 2.0 base_model: ArliAI/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1
license: mit
#model-type: pipeline_tag: text-generation
##如 gpt、phi、llama、chatglm、baichuan 等 quantized_by: bartowski
#- gpt
#domain:
##如 nlp、cv、audio、multi-modal
#- nlp
#language:
##语言代码列表 https://help.aliyun.com/document_detail/215387.html?spm=a2c4g.11186623.0.0.9f8d7467kni6Aa
#- cn
#metrics:
##如 CIDEr、Blue、ROUGE 等
#- CIDEr
#tags:
##各种自定义,包括 pretrained、fine-tuned、instruction-tuned、RL-tuned 等训练方法和其他
#- pretrained
#tools:
##如 vllm、fastchat、llamacpp、AdaSeq 等
#- vllm
--- ---
### 当前模型的贡献者未提供更加详细的模型介绍。模型文件和权重,可浏览“模型文件”页面获取。
#### 您可以通过如下git clone命令或者ModelScope SDK来下载模型
SDK下载 ## Llamacpp imatrix Quantizations of Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1
```bash
#安装ModelScope Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3715">b3715</a> for quantization.
pip install modelscope
Original model: https://huggingface.co/ArliAI/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1
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
``` ```
```python <|system|> {system_prompt}<|end|>
#SDK模型下载 <|user|> {prompt}<|end|>
from modelscope import snapshot_download <|assistant|>
model_dir = snapshot_download('bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF')
```
Git下载
```
#Git模型下载
git clone https://www.modelscope.cn/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF.git
``` ```
<p style="color: lightgrey;">如果您是本模型的贡献者,我们邀请您根据<a href="https://modelscope.cn/docs/ModelScope%E6%A8%A1%E5%9E%8B%E6%8E%A5%E5%85%A5%E6%B5%81%E7%A8%8B%E6%A6%82%E8%A7%88" style="color: lightgrey; text-decoration: underline;">模型贡献文档</a>,及时完善模型卡片内容。</p> ## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-f16.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-f16.gguf) | f16 | 7.64GB | false | Full F16 weights. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q8_0.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q8_0.gguf) | Q8_0 | 4.06GB | false | Extremely high quality, generally unneeded but max available quant. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q6_K_L.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q6_K_L.gguf) | Q6_K_L | 3.18GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q6_K.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q6_K.gguf) | Q6_K | 3.14GB | false | Very high quality, near perfect, *recommended*. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q5_K_L.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q5_K_L.gguf) | Q5_K_L | 2.88GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q5_K_M.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q5_K_M.gguf) | Q5_K_M | 2.82GB | false | High quality, *recommended*. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q5_K_S.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q5_K_S.gguf) | Q5_K_S | 2.64GB | false | High quality, *recommended*. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_K_L.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_K_L.gguf) | Q4_K_L | 2.47GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_K_M.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_K_M.gguf) | Q4_K_M | 2.39GB | false | Good quality, default size for must use cases, *recommended*. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_K_S.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_K_S.gguf) | Q4_K_S | 2.19GB | false | Slightly lower quality with more space savings, *recommended*. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0_8_8.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0_8_8.gguf) | Q4_0_8_8 | 2.18GB | false | Optimized for ARM inference. Requires 'sve' support (see link below). |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0_4_8.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0_4_8.gguf) | Q4_0_4_8 | 2.18GB | false | Optimized for ARM inference. Requires 'i8mm' support (see link below). |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0_4_4.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0_4_4.gguf) | Q4_0_4_4 | 2.18GB | false | Optimized for ARM inference. Should work well on all ARM chips, pick this if you're unsure. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q4_0.gguf) | Q4_0 | 2.18GB | false | Legacy format, generally not worth using over similarly sized formats |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q3_K_XL.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q3_K_XL.gguf) | Q3_K_XL | 2.17GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q3_K_L.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q3_K_L.gguf) | Q3_K_L | 2.09GB | false | Lower quality but usable, good for low RAM availability. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-IQ4_XS.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-IQ4_XS.gguf) | IQ4_XS | 2.06GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-IQ3_M.gguf](https://huggingface.co/bartowski/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF/blob/main/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-IQ3_M.gguf) | IQ3_M | 1.86GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
## 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/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF --include "Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-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/Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-GGUF --include "Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (Phi-3.5-mini-3.8B-ArliAI-RPMax-v1.1-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}