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

Model: bartowski/internlm2_5-1_8b-chat-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-29 07:48:12 +08:00
commit 2562b42d75
18 changed files with 205 additions and 0 deletions

50
.gitattributes vendored Normal file
View File

@@ -0,0 +1,50 @@
*.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_5-1_8b-chat-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat-f32.gguf filter=lfs diff=lfs merge=lfs -text
internlm2_5-1_8b-chat.imatrix filter=lfs diff=lfs merge=lfs -text

109
README.md Normal file
View File

@@ -0,0 +1,109 @@
---
base_model: internlm/internlm2_5-1_8b-chat
license: other
pipeline_tag: text-generation
quantized_by: bartowski
---
## Llamacpp imatrix Quantizations of internlm2_5-1_8b-chat
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3561">b3561</a> for quantization.
Original model: https://huggingface.co/internlm/internlm2_5-1_8b-chat
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
```
<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 | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [internlm2_5-1_8b-chat-f32.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-f32.gguf) | f32 | 7.56GB | false | Full F32 weights. |
| [internlm2_5-1_8b-chat-Q8_0.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-Q8_0.gguf) | Q8_0 | 2.01GB | false | Extremely high quality, generally unneeded but max available quant. |
| [internlm2_5-1_8b-chat-Q6_K_L.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-Q6_K_L.gguf) | Q6_K_L | 1.64GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [internlm2_5-1_8b-chat-Q6_K.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-Q6_K.gguf) | Q6_K | 1.55GB | false | Very high quality, near perfect, *recommended*. |
| [internlm2_5-1_8b-chat-Q5_K_L.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-Q5_K_L.gguf) | Q5_K_L | 1.47GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [internlm2_5-1_8b-chat-Q5_K_M.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-Q5_K_M.gguf) | Q5_K_M | 1.36GB | false | High quality, *recommended*. |
| [internlm2_5-1_8b-chat-Q5_K_S.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-Q5_K_S.gguf) | Q5_K_S | 1.33GB | false | High quality, *recommended*. |
| [internlm2_5-1_8b-chat-Q4_K_L.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-Q4_K_L.gguf) | Q4_K_L | 1.31GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [internlm2_5-1_8b-chat-Q3_K_XL.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-Q3_K_XL.gguf) | Q3_K_XL | 1.20GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [internlm2_5-1_8b-chat-Q4_K_M.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-Q4_K_M.gguf) | Q4_K_M | 1.17GB | false | Good quality, default size for must use cases, *recommended*. |
| [internlm2_5-1_8b-chat-Q4_K_S.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-Q4_K_S.gguf) | Q4_K_S | 1.12GB | false | Slightly lower quality with more space savings, *recommended*. |
| [internlm2_5-1_8b-chat-IQ4_XS.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-IQ4_XS.gguf) | IQ4_XS | 1.06GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [internlm2_5-1_8b-chat-Q3_K_L.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-Q3_K_L.gguf) | Q3_K_L | 1.03GB | false | Lower quality but usable, good for low RAM availability. |
| [internlm2_5-1_8b-chat-IQ3_M.gguf](https://huggingface.co/bartowski/internlm2_5-1_8b-chat-GGUF/blob/main/internlm2_5-1_8b-chat-IQ3_M.gguf) | IQ3_M | 0.91GB | 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!
## 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
## 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_5-1_8b-chat-GGUF --include "internlm2_5-1_8b-chat-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_5-1_8b-chat-GGUF --include "internlm2_5-1_8b-chat-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (internlm2_5-1_8b-chat-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:21933e30d4129b6ef45fc35cf7bfbea7b6abd1f739fec39c769ab49e939dccff
size 914998432

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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