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

Model: bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-11 16:21:15 +08:00
commit a1cd0f792b
22 changed files with 241 additions and 0 deletions

54
.gitattributes vendored Normal file
View File

@@ -0,0 +1,54 @@
*.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
Qwen2.5-Math-1.5B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q4_0_8_8.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q4_0_4_8.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct-f16.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Math-1.5B-Instruct.imatrix filter=lfs diff=lfs merge=lfs -text

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

129
README.md Normal file
View File

@@ -0,0 +1,129 @@
---
base_model: Qwen/Qwen2.5-Math-1.5B-Instruct
language:
- en
library_name: transformers
license: apache-2.0
license_link: https://huggingface.co/Qwen/Qwen2.5-Math-1.5B-Instruct/blob/main/LICENSE
pipeline_tag: text-generation
tags:
- chat
quantized_by: bartowski
---
## Llamacpp imatrix Quantizations of Qwen2.5-Math-1.5B-Instruct
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3772">b3772</a> for quantization.
Original model: https://huggingface.co/Qwen/Qwen2.5-Math-1.5B-Instruct
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
```
## What's new:
Update tokenizer
## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [Qwen2.5-Math-1.5B-Instruct-f16.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-f16.gguf) | f16 | 3.09GB | false | Full F16 weights. |
| [Qwen2.5-Math-1.5B-Instruct-Q8_0.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q8_0.gguf) | Q8_0 | 1.65GB | false | Extremely high quality, generally unneeded but max available quant. |
| [Qwen2.5-Math-1.5B-Instruct-Q6_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q6_K_L.gguf) | Q6_K_L | 1.33GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [Qwen2.5-Math-1.5B-Instruct-Q6_K.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q6_K.gguf) | Q6_K | 1.27GB | false | Very high quality, near perfect, *recommended*. |
| [Qwen2.5-Math-1.5B-Instruct-Q5_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q5_K_L.gguf) | Q5_K_L | 1.18GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [Qwen2.5-Math-1.5B-Instruct-Q5_K_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q5_K_M.gguf) | Q5_K_M | 1.13GB | false | High quality, *recommended*. |
| [Qwen2.5-Math-1.5B-Instruct-Q5_K_S.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q5_K_S.gguf) | Q5_K_S | 1.10GB | false | High quality, *recommended*. |
| [Qwen2.5-Math-1.5B-Instruct-Q4_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q4_K_L.gguf) | Q4_K_L | 1.04GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [Qwen2.5-Math-1.5B-Instruct-Q4_K_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q4_K_M.gguf) | Q4_K_M | 0.99GB | false | Good quality, default size for must use cases, *recommended*. |
| [Qwen2.5-Math-1.5B-Instruct-Q4_K_S.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q4_K_S.gguf) | Q4_K_S | 0.94GB | false | Slightly lower quality with more space savings, *recommended*. |
| [Qwen2.5-Math-1.5B-Instruct-Q4_0.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q4_0.gguf) | Q4_0 | 0.94GB | false | Legacy format, generally not worth using over similarly sized formats |
| [Qwen2.5-Math-1.5B-Instruct-Q3_K_XL.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q3_K_XL.gguf) | Q3_K_XL | 0.94GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [Qwen2.5-Math-1.5B-Instruct-Q4_0_8_8.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q4_0_8_8.gguf) | Q4_0_8_8 | 0.93GB | false | Optimized for ARM inference. Requires 'sve' support (see link below). |
| [Qwen2.5-Math-1.5B-Instruct-Q4_0_4_8.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q4_0_4_8.gguf) | Q4_0_4_8 | 0.93GB | false | Optimized for ARM inference. Requires 'i8mm' support (see link below). |
| [Qwen2.5-Math-1.5B-Instruct-Q4_0_4_4.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q4_0_4_4.gguf) | Q4_0_4_4 | 0.93GB | false | Optimized for ARM inference. Should work well on all ARM chips, pick this if you're unsure. |
| [Qwen2.5-Math-1.5B-Instruct-IQ4_XS.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-IQ4_XS.gguf) | IQ4_XS | 0.90GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [Qwen2.5-Math-1.5B-Instruct-Q3_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-Q3_K_L.gguf) | Q3_K_L | 0.88GB | false | Lower quality but usable, good for low RAM availability. |
| [Qwen2.5-Math-1.5B-Instruct-IQ3_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Math-1.5B-Instruct-GGUF/blob/main/Qwen2.5-Math-1.5B-Instruct-IQ3_M.gguf) | IQ3_M | 0.78GB | 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/Qwen2.5-Math-1.5B-Instruct-GGUF --include "Qwen2.5-Math-1.5B-Instruct-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/Qwen2.5-Math-1.5B-Instruct-GGUF --include "Qwen2.5-Math-1.5B-Instruct-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (Qwen2.5-Math-1.5B-Instruct-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}