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

Model: bartowski/internlm2-math-plus-7b-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-08 11:51:12 +08:00
commit 8980650e0b
27 changed files with 235 additions and 0 deletions

59
.gitattributes vendored Normal file
View File

@@ -0,0 +1,59 @@
*.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
internlm2-math-plus-7b-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b-f32.gguf filter=lfs diff=lfs merge=lfs -text
internlm2-math-plus-7b.imatrix filter=lfs diff=lfs merge=lfs -text

103
README.md Normal file
View File

@@ -0,0 +1,103 @@
---
pipeline_tag: text-generation
license: other
language:
- en
- zh
tags:
- math
quantized_by: bartowski
---
## Llamacpp imatrix Quantizations of internlm2-math-plus-7b
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3001">b3001</a> for quantization.
Original model: https://huggingface.co/internlm/internlm2-math-plus-7b
All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)
## Prompt format
```
<s><|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 | Description |
| -------- | ---------- | --------- | ----------- |
| [internlm2-math-plus-7b-Q8_0.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-Q8_0.gguf) | Q8_0 | 8.22GB | Extremely high quality, generally unneeded but max available quant. |
| [internlm2-math-plus-7b-Q6_K.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-Q6_K.gguf) | Q6_K | 6.35GB | Very high quality, near perfect, *recommended*. |
| [internlm2-math-plus-7b-Q5_K_M.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-Q5_K_M.gguf) | Q5_K_M | 5.50GB | High quality, *recommended*. |
| [internlm2-math-plus-7b-Q5_K_S.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-Q5_K_S.gguf) | Q5_K_S | 5.37GB | High quality, *recommended*. |
| [internlm2-math-plus-7b-Q4_K_M.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-Q4_K_M.gguf) | Q4_K_M | 4.71GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
| [internlm2-math-plus-7b-Q4_K_S.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-Q4_K_S.gguf) | Q4_K_S | 4.48GB | Slightly lower quality with more space savings, *recommended*. |
| [internlm2-math-plus-7b-IQ4_NL.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ4_NL.gguf) | IQ4_NL | 4.47GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
| [internlm2-math-plus-7b-IQ4_XS.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ4_XS.gguf) | IQ4_XS | 4.24GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [internlm2-math-plus-7b-Q3_K_L.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-Q3_K_L.gguf) | Q3_K_L | 4.13GB | Lower quality but usable, good for low RAM availability. |
| [internlm2-math-plus-7b-Q3_K_M.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-Q3_K_M.gguf) | Q3_K_M | 3.83GB | Even lower quality. |
| [internlm2-math-plus-7b-IQ3_M.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ3_M.gguf) | IQ3_M | 3.59GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [internlm2-math-plus-7b-IQ3_S.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ3_S.gguf) | IQ3_S | 3.49GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
| [internlm2-math-plus-7b-Q3_K_S.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-Q3_K_S.gguf) | Q3_K_S | 3.47GB | Low quality, not recommended. |
| [internlm2-math-plus-7b-IQ3_XS.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ3_XS.gguf) | IQ3_XS | 3.33GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| [internlm2-math-plus-7b-IQ3_XXS.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ3_XXS.gguf) | IQ3_XXS | 3.10GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
| [internlm2-math-plus-7b-Q2_K.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-Q2_K.gguf) | Q2_K | 3.00GB | Very low quality but surprisingly usable. |
| [internlm2-math-plus-7b-IQ2_M.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ2_M.gguf) | IQ2_M | 2.77GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
| [internlm2-math-plus-7b-IQ2_S.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ2_S.gguf) | IQ2_S | 2.58GB | Very low quality, uses SOTA techniques to be usable. |
| [internlm2-math-plus-7b-IQ2_XS.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ2_XS.gguf) | IQ2_XS | 2.45GB | Very low quality, uses SOTA techniques to be usable. |
| [internlm2-math-plus-7b-IQ2_XXS.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ2_XXS.gguf) | IQ2_XXS | 2.24GB | Lower quality, uses SOTA techniques to be usable. |
| [internlm2-math-plus-7b-IQ1_M.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ1_M.gguf) | IQ1_M | 2.00GB | Extremely low quality, *not* recommended. |
| [internlm2-math-plus-7b-IQ1_S.gguf](https://huggingface.co/bartowski/internlm2-math-plus-7b-GGUF/blob/main/internlm2-math-plus-7b-IQ1_S.gguf) | IQ1_S | 1.86GB | Extremely low quality, *not* recommended. |
## 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/internlm2-math-plus-7b-GGUF --include "internlm2-math-plus-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/internlm2-math-plus-7b-GGUF --include "internlm2-math-plus-7b-Q8_0.gguf/*" --local-dir internlm2-math-plus-7b-Q8_0
```
You can either specify a new local-dir (internlm2-math-plus-7b-Q8_0) or download them all in place (./)
## 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.
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}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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