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

Model: bartowski/Arch-Function-7B-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-14 07:48:12 +08:00
commit fd081035e8
28 changed files with 265 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
Arch-Function-7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q4_0_8_8.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q4_0_4_8.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-7B-f16.gguf filter=lfs diff=lfs merge=lfs -text
Arch-Function-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:a3dbc1d61a86e253dfdd3911999b0c361a4c3125425470ff00910a787a418633
size 2780343072

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

3
Arch-Function-7B.imatrix Normal file
View File

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

129
README.md Normal file
View File

@@ -0,0 +1,129 @@
---
base_model: katanemo/Arch-Function-7B
language:
- en
license: other
license_name: katanemo-research
license_link: https://huggingface.co/katanemolabs/Arch-Function-7B/blob/main/LICENSE
pipeline_tag: text-generation
quantized_by: bartowski
---
## Llamacpp imatrix Quantizations of Arch-Function-7B
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3930">b3930</a> for quantization.
Original model: https://huggingface.co/katanemo/Arch-Function-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
```
<|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 |
| -------- | ---------- | --------- | ----- | ----------- |
| [Arch-Function-7B-f16.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-f16.gguf) | f16 | 15.24GB | false | Full F16 weights. |
| [Arch-Function-7B-Q8_0.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q8_0.gguf) | Q8_0 | 8.10GB | false | Extremely high quality, generally unneeded but max available quant. |
| [Arch-Function-7B-Q6_K_L.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q6_K_L.gguf) | Q6_K_L | 6.52GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [Arch-Function-7B-Q6_K.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q6_K.gguf) | Q6_K | 6.25GB | false | Very high quality, near perfect, *recommended*. |
| [Arch-Function-7B-Q5_K_L.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q5_K_L.gguf) | Q5_K_L | 5.78GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [Arch-Function-7B-Q5_K_M.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q5_K_M.gguf) | Q5_K_M | 5.44GB | false | High quality, *recommended*. |
| [Arch-Function-7B-Q5_K_S.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q5_K_S.gguf) | Q5_K_S | 5.32GB | false | High quality, *recommended*. |
| [Arch-Function-7B-Q4_K_L.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q4_K_L.gguf) | Q4_K_L | 5.09GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [Arch-Function-7B-Q4_K_M.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q4_K_M.gguf) | Q4_K_M | 4.68GB | false | Good quality, default size for must use cases, *recommended*. |
| [Arch-Function-7B-Q3_K_XL.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q3_K_XL.gguf) | Q3_K_XL | 4.57GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [Arch-Function-7B-Q4_K_S.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q4_K_S.gguf) | Q4_K_S | 4.46GB | false | Slightly lower quality with more space savings, *recommended*. |
| [Arch-Function-7B-Q4_0.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q4_0.gguf) | Q4_0 | 4.44GB | false | Legacy format, generally not worth using over similarly sized formats |
| [Arch-Function-7B-Q4_0_8_8.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q4_0_8_8.gguf) | Q4_0_8_8 | 4.43GB | false | Optimized for ARM inference. Requires 'sve' support (see link below). *Don't use on Mac or Windows*. |
| [Arch-Function-7B-Q4_0_4_8.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q4_0_4_8.gguf) | Q4_0_4_8 | 4.43GB | false | Optimized for ARM inference. Requires 'i8mm' support (see link below). *Don't use on Mac or Windows*. |
| [Arch-Function-7B-Q4_0_4_4.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q4_0_4_4.gguf) | Q4_0_4_4 | 4.43GB | 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*. |
| [Arch-Function-7B-IQ4_XS.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-IQ4_XS.gguf) | IQ4_XS | 4.22GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [Arch-Function-7B-Q3_K_L.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q3_K_L.gguf) | Q3_K_L | 4.09GB | false | Lower quality but usable, good for low RAM availability. |
| [Arch-Function-7B-Q3_K_M.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q3_K_M.gguf) | Q3_K_M | 3.81GB | false | Low quality. |
| [Arch-Function-7B-IQ3_M.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-IQ3_M.gguf) | IQ3_M | 3.57GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [Arch-Function-7B-Q2_K_L.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q2_K_L.gguf) | Q2_K_L | 3.55GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
| [Arch-Function-7B-Q3_K_S.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q3_K_S.gguf) | Q3_K_S | 3.49GB | false | Low quality, not recommended. |
| [Arch-Function-7B-IQ3_XS.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-IQ3_XS.gguf) | IQ3_XS | 3.35GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| [Arch-Function-7B-Q2_K.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-Q2_K.gguf) | Q2_K | 3.02GB | false | Very low quality but surprisingly usable. |
| [Arch-Function-7B-IQ2_M.gguf](https://huggingface.co/bartowski/Arch-Function-7B-GGUF/blob/main/Arch-Function-7B-IQ2_M.gguf) | IQ2_M | 2.78GB | 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/Arch-Function-7B-GGUF --include "Arch-Function-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/Arch-Function-7B-GGUF --include "Arch-Function-7B-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (Arch-Function-7B-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}