bartowski/glm-4-9b-chat-abliterated-gguf Q5_K_M GGUF - Free GGUF Download is indexed on GraySoft with repository links, GGUF quant files, and Hugging Face metadata. This page helps you pick a local model for guIDE or other runtimes. See related models in the same shard below.
Model Intelligence Sheet
bartowski/glm-4-9b-chat-abliterated-gguf overview
Comprehensive model page for bartowski/glm-4-9b-chat-abliterated-gguf
Downloads
4,177
Likes
12
Pipeline
text-generation
Library
transformers
Visibility
Public
Access
Open
Repository Files & Downloads
24 files detected
Direct downloads for all repository files
| File | Type | Quantization | Size | Link |
|---|---|---|---|---|
| glm-4-9b-chat-abliterated-IQ2_M.gguf | GGUF | IQ2_M | 3.66 GB | Download |
| glm-4-9b-chat-abliterated-IQ3_M.gguf | GGUF | IQ3_M | 4.48 GB | Download |
| glm-4-9b-chat-abliterated-IQ3_XS.gguf | GGUF | IQ3_XS | 4.13 GB | Download |
| glm-4-9b-chat-abliterated-IQ4_XS.gguf | GGUF | IQ4_XS | 4.89 GB | Download |
| glm-4-9b-chat-abliterated-Q2_K.gguf | GGUF | Q2_K | 3.72 GB | Download |
| glm-4-9b-chat-abliterated-Q2_K_L.gguf | GGUF | Q2_K_L | 4.28 GB | Download |
| glm-4-9b-chat-abliterated-Q3_K_L.gguf | GGUF | Q3_K_L | 4.92 GB | Download |
| glm-4-9b-chat-abliterated-Q3_K_M.gguf | GGUF | Q3_K_M | 4.72 GB | Download |
| glm-4-9b-chat-abliterated-Q3_K_S.gguf | GGUF | Q3_K_S | 4.27 GB | Download |
| glm-4-9b-chat-abliterated-Q3_K_XL.gguf | GGUF | Q3_K_XL | 5.42 GB | Download |
| glm-4-9b-chat-abliterated-Q4_0.gguf | GGUF | — | 5.10 GB | Download |
| glm-4-9b-chat-abliterated-Q4_0_4_4.gguf | GGUF | — | 5.08 GB | Download |
| glm-4-9b-chat-abliterated-Q4_0_4_8.gguf | GGUF | — | 5.08 GB | Download |
| glm-4-9b-chat-abliterated-Q4_0_8_8.gguf | GGUF | — | 5.08 GB | Download |
| glm-4-9b-chat-abliterated-Q4_K_L.gguf | GGUF | Q4_K_L | 6.25 GB | Download |
| glm-4-9b-chat-abliterated-Q4_K_M.gguf | GGUF | Q4_K_M | 5.82 GB | Download |
| glm-4-9b-chat-abliterated-Q4_K_S.gguf | GGUF | Q4_K_S | 5.36 GB | Download |
| glm-4-9b-chat-abliterated-Q5_K_L.gguf | GGUF | Q5_K_L | 7.01 GB | Download |
| glm-4-9b-chat-abliterated-Q5_K_M.gguf | GGUF | Q5_K_M | 6.65 GB | Download |
| glm-4-9b-chat-abliterated-Q5_K_S.gguf | GGUF | Q5_K_S | 6.23 GB | Download |
| glm-4-9b-chat-abliterated-Q6_K.gguf | GGUF | Q6_K | 7.69 GB | Download |
| glm-4-9b-chat-abliterated-Q6_K_L.gguf | GGUF | Q6_K_L | 7.97 GB | Download |
| glm-4-9b-chat-abliterated-Q8_0.gguf | GGUF | — | 9.31 GB | Download |
| glm-4-9b-chat-abliterated-f16.gguf | GGUF | F16 | 17.52 GB | Download |
Model Details Live
Metadata Inspector
Normalized metadata (stored in metadata_json)
{
"metadata": {},
"card_data": {
"base_model": "byroneverson/glm-4-9b-chat-abliterated",
"language": [
"zh",
"en"
],
"library_name": "transformers",
"license": "other",
"license_name": "glm-4",
"license_link": "https://huggingface.co/THUDM/glm-4-9b-chat/blob/main/LICENSE",
"pipeline_tag": "text-generation",
"tags": [
"glm",
"chatglm",
"thudm",
"chat",
"abliterated"
],
"quantized_by": "bartowski",
"frontmatter": {
"base_model": "byroneverson/glm-4-9b-chat-abliterated",
"language": [
"zh",
"en"
],
"library_name": "transformers",
"license": "other",
"license_name": "glm-4",
"license_link": "https://huggingface.co/THUDM/glm-4-9b-chat/blob/main/LICENSE",
"pipeline_tag": "text-generation",
"tags": [
"glm",
"chatglm",
"thudm",
"chat",
"abliterated"
],
"quantized_by": "bartowski"
},
"hero_image_url": "",
"summary": "",
"quick_links": [],
"benchmark_table_html": "",
"readme_markdown": "---\nbase_model: byroneverson/glm-4-9b-chat-abliterated\nlanguage:\n- zh\n- en\nlibrary_name: transformers\nlicense: other\nlicense_name: glm-4\nlicense_link: https://huggingface.co/THUDM/glm-4-9b-chat/blob/main/LICENSE\npipeline_tag: text-generation\ntags:\n- glm\n- chatglm\n- thudm\n- chat\n- abliterated\nquantized_by: bartowski\n---\n\n## Llamacpp imatrix Quantizations of glm-4-9b-chat-abliterated\n\nUsing <a href=\"https://github.com/ggerganov/llama.cpp/\">llama.cpp</a> release <a href=\"https://github.com/ggerganov/llama.cpp/releases/tag/b3634\">b3634</a> for quantization.\n\nOriginal model: https://huggingface.co/byroneverson/glm-4-9b-chat-abliterated\n\nAll quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)\n\nRun them in [LM Studio](https://lmstudio.ai/)\n\n## Prompt format\n\n```\n[gMASK] <sop> <|system|> \n{system_prompt} <|user|> \n{prompt} <|assistant|>\n```\n\n## Download a file (not the whole branch) from below:\n\n| Filename | Quant type | File Size | Split | Description |\n| -------- | ---------- | --------- | ----- | ----------- |\n| [glm-4-9b-chat-abliterated-f16.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-f16.gguf) | f16 | 18.81GB | false | Full F16 weights. |\n| [glm-4-9b-chat-abliterated-Q8_0.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q8_0.gguf) | Q8_0 | 9.99GB | false | Extremely high quality, generally unneeded but max available quant. |\n| [glm-4-9b-chat-abliterated-Q6_K_L.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q6_K_L.gguf) | Q6_K_L | 8.56GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |\n| [glm-4-9b-chat-abliterated-Q6_K.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q6_K.gguf) | Q6_K | 8.26GB | false | Very high quality, near perfect, *recommended*. |\n| [glm-4-9b-chat-abliterated-Q5_K_L.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q5_K_L.gguf) | Q5_K_L | 7.53GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |\n| [glm-4-9b-chat-abliterated-Q5_K_M.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q5_K_M.gguf) | Q5_K_M | 7.14GB | false | High quality, *recommended*. |\n| [glm-4-9b-chat-abliterated-Q4_K_L.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q4_K_L.gguf) | Q4_K_L | 6.71GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |\n| [glm-4-9b-chat-abliterated-Q5_K_S.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q5_K_S.gguf) | Q5_K_S | 6.69GB | false | High quality, *recommended*. |\n| [glm-4-9b-chat-abliterated-Q4_K_M.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q4_K_M.gguf) | Q4_K_M | 6.25GB | false | Good quality, default size for must use cases, *recommended*. |\n| [glm-4-9b-chat-abliterated-Q3_K_XL.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q3_K_XL.gguf) | Q3_K_XL | 5.82GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |\n| [glm-4-9b-chat-abliterated-Q4_K_S.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q4_K_S.gguf) | Q4_K_S | 5.75GB | false | Slightly lower quality with more space savings, *recommended*. |\n| [glm-4-9b-chat-abliterated-Q4_0.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q4_0.gguf) | Q4_0 | 5.47GB | false | Legacy format, generally not worth using over similarly sized formats |\n| [glm-4-9b-chat-abliterated-Q4_0_8_8.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q4_0_8_8.gguf) | Q4_0_8_8 | 5.46GB | false | Optimized for ARM and CPU inference, much faster than Q4_0 at similar quality. |\n| [glm-4-9b-chat-abliterated-Q4_0_4_8.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q4_0_4_8.gguf) | Q4_0_4_8 | 5.46GB | false | Optimized for ARM and CPU inference, much faster than Q4_0 at similar quality. |\n| [glm-4-9b-chat-abliterated-Q4_0_4_4.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q4_0_4_4.gguf) | Q4_0_4_4 | 5.46GB | false | Optimized for ARM and CPU inference, much faster than Q4_0 at similar quality. |\n| [glm-4-9b-chat-abliterated-Q3_K_L.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q3_K_L.gguf) | Q3_K_L | 5.28GB | false | Lower quality but usable, good for low RAM availability. |\n| [glm-4-9b-chat-abliterated-IQ4_XS.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-IQ4_XS.gguf) | IQ4_XS | 5.25GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |\n| [glm-4-9b-chat-abliterated-Q3_K_M.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q3_K_M.gguf) | Q3_K_M | 5.06GB | false | Low quality. |\n| [glm-4-9b-chat-abliterated-IQ3_M.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-IQ3_M.gguf) | IQ3_M | 4.81GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |\n| [glm-4-9b-chat-abliterated-Q2_K_L.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q2_K_L.gguf) | Q2_K_L | 4.60GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |\n| [glm-4-9b-chat-abliterated-Q3_K_S.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q3_K_S.gguf) | Q3_K_S | 4.59GB | false | Low quality, not recommended. |\n| [glm-4-9b-chat-abliterated-IQ3_XS.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-IQ3_XS.gguf) | IQ3_XS | 4.43GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |\n| [glm-4-9b-chat-abliterated-Q2_K.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-Q2_K.gguf) | Q2_K | 3.99GB | false | Very low quality but surprisingly usable. |\n| [glm-4-9b-chat-abliterated-IQ2_M.gguf](https://huggingface.co/bartowski/glm-4-9b-chat-abliterated-GGUF/blob/main/glm-4-9b-chat-abliterated-IQ2_M.gguf) | IQ2_M | 3.93GB | false | Relatively low quality, uses SOTA techniques to be surprisingly usable. |\n\n## Embed/output weights\n\nSome 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.\n\nSome 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.\n\nThanks!\n\n## Credits\n\nThank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset\n\nThank you ZeroWw for the inspiration to experiment with embed/output\n\n## Downloading using huggingface-cli\n\nFirst, make sure you have hugginface-cli installed:\n\n```\npip install -U \"huggingface_hub[cli]\"\n```\n\nThen, you can target the specific file you want:\n\n```\nhuggingface-cli download bartowski/glm-4-9b-chat-abliterated-GGUF --include \"glm-4-9b-chat-abliterated-Q4_K_M.gguf\" --local-dir ./\n```\n\nIf 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:\n\n```\nhuggingface-cli download bartowski/glm-4-9b-chat-abliterated-GGUF --include \"glm-4-9b-chat-abliterated-Q8_0/*\" --local-dir ./\n```\n\nYou can either specify a new local-dir (glm-4-9b-chat-abliterated-Q8_0) or download them all in place (./)\n\n## Which file should I choose?\n\nA great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)\n\nThe 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.\n\nIf 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.\n\nIf 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.\n\nNext, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.\n\nIf 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.\n\nIf you want to get more into the weeds, you can check out this extremely useful feature chart:\n\n[llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)\n\nBut 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.\n\nThese 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.\n\nThe 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.\n\nWant to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski\n\n",
"related_quantizations": []
},
"tags": [
"transformers",
"gguf",
"glm",
"chatglm",
"thudm",
"chat",
"abliterated",
"text-generation",
"zh",
"en",
"base_model:byroneverson/glm-4-9b-chat-abliterated",
"base_model:quantized:byroneverson/glm-4-9b-chat-abliterated",
"license:other",
"endpoints_compatible",
"region:us",
"conversational"
],
"likes": 12,
"downloads": 4177,
"gated": false,
"private": false,
"last_modified": "2024-08-30T07:03:18.000Z",
"created_at": "2024-08-30T05:38:10.000Z",
"pipeline_tag": "text-generation",
"library_name": "transformers"
}
Source payload excerpt (from Hugging Face API)
{
"_id": "66d15ac2cf7734c32ad2ae84",
"id": "bartowski/glm-4-9b-chat-abliterated-GGUF",
"modelId": "bartowski/glm-4-9b-chat-abliterated-GGUF",
"sha": "98b60f8447e1f0c06b67d4cd819a250f01efd4b4",
"createdAt": "2024-08-30T05:38:10.000Z",
"lastModified": "2024-08-30T07:03:18.000Z",
"author": "bartowski",
"downloads": 4177,
"likes": 12,
"gated": false,
"private": false,
"pipeline_tag": "text-generation",
"library_name": "transformers",
"siblings_count": 27
}