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

Model: bartowski/G2-9B-Sugarquill-v0-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-25 18:46:14 +08:00
commit cb505a312b
28 changed files with 266 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
G2-9B-Sugarquill-v0-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q4_0_8_8.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q4_0_4_8.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0-f16.gguf filter=lfs diff=lfs merge=lfs -text
G2-9B-Sugarquill-v0.imatrix filter=lfs diff=lfs merge=lfs -text

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

130
README.md Normal file
View File

@@ -0,0 +1,130 @@
---
base_model: allura-org/G2-9B-Sugarquill-v0
datasets:
- Mielikki/Erebus-87k
- allura-org/r_shortstories_24k
license: gemma
pipeline_tag: text-generation
quantized_by: bartowski
---
## Llamacpp imatrix Quantizations of G2-9B-Sugarquill-v0
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3991">b3991</a> for quantization.
Original model: https://huggingface.co/allura-org/G2-9B-Sugarquill-v0
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
```
<bos><start_of_turn>user
{prompt}<end_of_turn>
<start_of_turn>model
<end_of_turn>
<start_of_turn>model
```
Note that this model does not support a System prompt.
## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [G2-9B-Sugarquill-v0-f16.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-f16.gguf) | f16 | 18.49GB | false | Full F16 weights. |
| [G2-9B-Sugarquill-v0-Q8_0.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q8_0.gguf) | Q8_0 | 9.83GB | false | Extremely high quality, generally unneeded but max available quant. |
| [G2-9B-Sugarquill-v0-Q6_K_L.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q6_K_L.gguf) | Q6_K_L | 7.81GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [G2-9B-Sugarquill-v0-Q6_K.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q6_K.gguf) | Q6_K | 7.59GB | false | Very high quality, near perfect, *recommended*. |
| [G2-9B-Sugarquill-v0-Q5_K_L.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q5_K_L.gguf) | Q5_K_L | 6.87GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [G2-9B-Sugarquill-v0-Q5_K_M.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q5_K_M.gguf) | Q5_K_M | 6.65GB | false | High quality, *recommended*. |
| [G2-9B-Sugarquill-v0-Q5_K_S.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q5_K_S.gguf) | Q5_K_S | 6.48GB | false | High quality, *recommended*. |
| [G2-9B-Sugarquill-v0-Q4_K_L.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q4_K_L.gguf) | Q4_K_L | 5.98GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [G2-9B-Sugarquill-v0-Q4_K_M.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q4_K_M.gguf) | Q4_K_M | 5.76GB | false | Good quality, default size for must use cases, *recommended*. |
| [G2-9B-Sugarquill-v0-Q4_K_S.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q4_K_S.gguf) | Q4_K_S | 5.48GB | false | Slightly lower quality with more space savings, *recommended*. |
| [G2-9B-Sugarquill-v0-Q4_0.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q4_0.gguf) | Q4_0 | 5.46GB | false | Legacy format, generally not worth using over similarly sized formats |
| [G2-9B-Sugarquill-v0-Q4_0_8_8.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q4_0_8_8.gguf) | Q4_0_8_8 | 5.44GB | false | Optimized for ARM inference. Requires 'sve' support (see link below). *Don't use on Mac or Windows*. |
| [G2-9B-Sugarquill-v0-Q4_0_4_8.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q4_0_4_8.gguf) | Q4_0_4_8 | 5.44GB | false | Optimized for ARM inference. Requires 'i8mm' support (see link below). *Don't use on Mac or Windows*. |
| [G2-9B-Sugarquill-v0-Q4_0_4_4.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q4_0_4_4.gguf) | Q4_0_4_4 | 5.44GB | 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*. |
| [G2-9B-Sugarquill-v0-Q3_K_XL.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q3_K_XL.gguf) | Q3_K_XL | 5.35GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [G2-9B-Sugarquill-v0-IQ4_XS.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-IQ4_XS.gguf) | IQ4_XS | 5.18GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [G2-9B-Sugarquill-v0-Q3_K_L.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q3_K_L.gguf) | Q3_K_L | 5.13GB | false | Lower quality but usable, good for low RAM availability. |
| [G2-9B-Sugarquill-v0-Q3_K_M.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q3_K_M.gguf) | Q3_K_M | 4.76GB | false | Low quality. |
| [G2-9B-Sugarquill-v0-IQ3_M.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-IQ3_M.gguf) | IQ3_M | 4.49GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [G2-9B-Sugarquill-v0-Q3_K_S.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q3_K_S.gguf) | Q3_K_S | 4.34GB | false | Low quality, not recommended. |
| [G2-9B-Sugarquill-v0-IQ3_XS.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-IQ3_XS.gguf) | IQ3_XS | 4.14GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| [G2-9B-Sugarquill-v0-Q2_K_L.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q2_K_L.gguf) | Q2_K_L | 4.03GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
| [G2-9B-Sugarquill-v0-Q2_K.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-Q2_K.gguf) | Q2_K | 3.81GB | false | Very low quality but surprisingly usable. |
| [G2-9B-Sugarquill-v0-IQ2_M.gguf](https://huggingface.co/bartowski/G2-9B-Sugarquill-v0-GGUF/blob/main/G2-9B-Sugarquill-v0-IQ2_M.gguf) | IQ2_M | 3.43GB | 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/G2-9B-Sugarquill-v0-GGUF --include "G2-9B-Sugarquill-v0-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/G2-9B-Sugarquill-v0-GGUF --include "G2-9B-Sugarquill-v0-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (G2-9B-Sugarquill-v0-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}