GraySoft
Projects Models About FAQ Contact Download guIDE →

legraphista/codestral-22b-v0.1-imat-gguf hf.Q8_0 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

legraphista/codestral-22b-v0.1-imat-gguf overview

Llama.cpp imatrix quantization of mistralai/Codestral-22B-v0.1 (legraphista/Codestral-22B-v0.1-hf-FIM-fix) Updates: --- Original model: mistralai/Codestral-22B-v0.1 Quantized HF Model: legraphista/Codestral-22B-v0.1-hf-FIM-fix Original dtype: BF16 (bfloat16) Quantized by: llama.cpp b3046 IMatrix dataset: here ---

ggufcodequantizedGGUFimatrixquantizationimatstatictext-generationbase_model:mistralai/Codestral-22B-v0.1base_model:quantized:mistralai/Codestral-22B-v0.1license:otherregion:us
legraphista/codestral-22b-v0.1-imat-gguf visual
Downloads
515
Likes
13
Pipeline
text-generation
Library
gguf
Visibility
Public
Access
Open

Repository Files & Downloads

25 files detected
Direct downloads for all repository files
FileTypeQuantizationSizeLink
Codestral-22B-v0.1-hf.BF16.gguf GGUF BF16 41.44 GB Download
Codestral-22B-v0.1-hf.FP16.gguf GGUF 41.44 GB Download
Codestral-22B-v0.1-hf.IQ1_M.gguf GGUF IQ1_M 4.91 GB Download
Codestral-22B-v0.1-hf.IQ1_S.gguf GGUF IQ1_S 4.50 GB Download
Codestral-22B-v0.1-hf.IQ2_M.gguf GGUF IQ2_M 7.10 GB Download
Codestral-22B-v0.1-hf.IQ2_S.gguf GGUF IQ2_S 6.55 GB Download
Codestral-22B-v0.1-hf.IQ2_XS.gguf GGUF IQ2_XS 6.19 GB Download
Codestral-22B-v0.1-hf.IQ2_XXS.gguf GGUF IQ2_XXS 5.58 GB Download
Codestral-22B-v0.1-hf.IQ3_M.gguf GGUF IQ3_M 9.37 GB Download
Codestral-22B-v0.1-hf.IQ3_S.gguf GGUF IQ3_S 9.02 GB Download
Codestral-22B-v0.1-hf.IQ3_XS.gguf GGUF IQ3_XS 8.55 GB Download
Codestral-22B-v0.1-hf.IQ3_XXS.gguf GGUF IQ3_XXS 8.01 GB Download
Codestral-22B-v0.1-hf.IQ4_NL.gguf GGUF IQ4_NL 11.75 GB Download
Codestral-22B-v0.1-hf.IQ4_XS.gguf GGUF IQ4_XS 11.12 GB Download
Codestral-22B-v0.1-hf.Q2_K.gguf GGUF Q2_K 7.70 GB Download
Codestral-22B-v0.1-hf.Q2_K_S.gguf GGUF Q2_K_S 7.12 GB Download
Codestral-22B-v0.1-hf.Q3_K.gguf GGUF Q3_K 10.02 GB Download
Codestral-22B-v0.1-hf.Q3_K_L.gguf GGUF Q3_K_L 10.92 GB Download
Codestral-22B-v0.1-hf.Q3_K_S.gguf GGUF Q3_K_S 8.98 GB Download
Codestral-22B-v0.1-hf.Q4_K.gguf GGUF Q4_K 12.42 GB Download
Codestral-22B-v0.1-hf.Q4_K_S.gguf GGUF Q4_K_S 11.79 GB Download
Codestral-22B-v0.1-hf.Q5_K.gguf GGUF Q5_K 14.64 GB Download
Codestral-22B-v0.1-hf.Q5_K_S.gguf GGUF Q5_K_S 14.27 GB Download
Codestral-22B-v0.1-hf.Q6_K.gguf GGUF Q6_K 17.00 GB Download
Codestral-22B-v0.1-hf.Q8_0.gguf GGUF 22.02 GB Download

Model Details Live

Model Slug
legraphista/codestral-22b-v0.1-imat-gguf
Author
legraphista
Pipeline Task
text-generation
Library
gguf
Created
2024-05-29
Last Modified
2024-05-30
Gated
No
Private
No
HF SHA
09f7b81edb2b61f7c84661368ef719f6dcef95e7
License
other
Language
code
Base Model
mistralai/Codestral-22B-v0.1

Metadata Inspector

Normalized metadata (stored in metadata_json)
{
  "metadata": {},
  "card_data": {
    "base_model": "mistralai/Codestral-22B-v0.1",
    "inference": false,
    "language": [
      "code"
    ],
    "library_name": "gguf",
    "license": "other",
    "license_link": "https://mistral.ai/licences/MNPL-0.1.md",
    "license_name": "mnpl",
    "pipeline_tag": "text-generation",
    "quantized_by": "legraphista",
    "tags": [
      "code",
      "quantized",
      "GGUF",
      "imatrix",
      "quantization",
      "imat",
      "imatrix",
      "static"
    ],
    "frontmatter": {
      "base_model": "mistralai/Codestral-22B-v0.1",
      "inference": "false",
      "language": [
        "code"
      ],
      "library_name": "gguf",
      "license": "other",
      "license_link": "https://mistral.ai/licences/MNPL-0.1.md",
      "license_name": "mnpl",
      "pipeline_tag": "text-generation",
      "quantized_by": "legraphista",
      "tags": [
        "code",
        "quantized",
        "GGUF",
        "imatrix",
        "quantization",
        "imat",
        "imatrix",
        "static"
      ]
    },
    "hero_image_url": "",
    "summary": "_Llama.cpp imatrix quantization of mistralai/Codestral-22B-v0.1 (legraphista/Codestral-22B-v0.1-hf-FIM-fix)_ Updates: --- Original model: mistralai/Codestral-22B-v0.1 Quantized HF Model: legraphista/Codestral-22B-v0.1-hf-FIM-fix Original dtype: BF16 (bfloat16) Quantized by: llama.cpp b3046 IMatrix dataset: here ---",
    "quick_links": [],
    "benchmark_table_html": "",
    "readme_markdown": "---\nbase_model: mistralai/Codestral-22B-v0.1\ninference: false\nlanguage:\n- code\nlibrary_name: gguf\nlicense: other\nlicense_link: https://mistral.ai/licences/MNPL-0.1.md\nlicense_name: mnpl\npipeline_tag: text-generation\nquantized_by: legraphista\ntags:\n- code\n- quantized\n- GGUF\n- imatrix\n- quantization\n- imat\n- imatrix\n- static\n---\n\n# Codestral-22B-v0.1-IMat-GGUF\n_Llama.cpp imatrix quantization of mistralai/Codestral-22B-v0.1 (legraphista/Codestral-22B-v0.1-hf-FIM-fix)_\n\nUpdates:\n- 31/05/2024: Fixes to the model's missing FIM tokens\n\n---\n\nOriginal model: [mistralai/Codestral-22B-v0.1](https://huggingface.co/mistralai/Codestral-22B-v0.1)  \nQuantized HF Model: [legraphista/Codestral-22B-v0.1-hf-FIM-fix](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-FIM-fix)  \nOriginal dtype: `BF16` (`bfloat16`)  \nQuantized by: llama.cpp [b3046](https://github.com/ggerganov/llama.cpp/releases/tag/b3046)  \nIMatrix dataset: [here](https://gist.githubusercontent.com/legraphista/d6d93f1a254bcfc58e0af3777eaec41e/raw/d380e7002cea4a51c33fffd47db851942754e7cc/imatrix.calibration.medium.raw)  \n\n- [Files](#files)\n    - [IMatrix](#imatrix)\n    - [Common Quants](#common-quants)\n    - [All Quants](#all-quants)\n- [Downloading using huggingface-cli](#downloading-using-huggingface-cli)\n- [Inference](#inference)\n    - [Simple chat template](#simple-chat-template)\n    - [Chat template with system prompt](#chat-template-with-system-prompt)\n    - [FIM / Fill In the Middle](#fim-fill-in-the-middle)\n    - [Llama.cpp](#llama-cpp)\n- [FAQ](#faq)\n    - [Why is the IMatrix not applied everywhere?](#why-is-the-imatrix-not-applied-everywhere)\n    - [How do I merge a split GGUF?](#how-do-i-merge-a-split-gguf)\n\n---\n\n## Files\n\n### IMatrix\nStatus: ✅ Available  \nLink: [here](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/imatrix.dat) \n\n### Common Quants\n| Filename | Quant type | File Size | Status | Uses IMatrix | Is Split |\n| -------- | ---------- | --------- | ------ | ------------ | -------- |\n| [Codestral-22B-v0.1-hf.Q8_0.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q8_0.gguf) | Q8_0 | 23.64GB | ✅ Available | ⚪ Static | 📦 No\n| [Codestral-22B-v0.1-hf.Q6_K.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q6_K.gguf) | Q6_K | 18.25GB | ✅ Available | ⚪ Static | 📦 No\n| [Codestral-22B-v0.1-hf.Q4_K.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q4_K.gguf) | Q4_K | 13.34GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.Q3_K.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q3_K.gguf) | Q3_K | 10.76GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.Q2_K.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q2_K.gguf) | Q2_K | 8.27GB | ✅ Available | 🟢 IMatrix | 📦 No\n\n\n### All Quants\n| Filename | Quant type | File Size | Status | Uses IMatrix | Is Split |\n| -------- | ---------- | --------- | ------ | ------------ | -------- |\n| [Codestral-22B-v0.1-hf.BF16.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.BF16.gguf) | BF16 | 44.50GB | ✅ Available | ⚪ Static | 📦 No\n| [Codestral-22B-v0.1-hf.FP16.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.FP16.gguf) | F16 | 44.50GB | ✅ Available | ⚪ Static | 📦 No\n| [Codestral-22B-v0.1-hf.Q8_0.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q8_0.gguf) | Q8_0 | 23.64GB | ✅ Available | ⚪ Static | 📦 No\n| [Codestral-22B-v0.1-hf.Q6_K.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q6_K.gguf) | Q6_K | 18.25GB | ✅ Available | ⚪ Static | 📦 No\n| [Codestral-22B-v0.1-hf.Q5_K.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q5_K.gguf) | Q5_K | 15.72GB | ✅ Available | ⚪ Static | 📦 No\n| [Codestral-22B-v0.1-hf.Q5_K_S.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q5_K_S.gguf) | Q5_K_S | 15.32GB | ✅ Available | ⚪ Static | 📦 No\n| [Codestral-22B-v0.1-hf.Q4_K.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q4_K.gguf) | Q4_K | 13.34GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.Q4_K_S.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q4_K_S.gguf) | Q4_K_S | 12.66GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ4_NL.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ4_NL.gguf) | IQ4_NL | 12.61GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ4_XS.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ4_XS.gguf) | IQ4_XS | 11.94GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.Q3_K.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q3_K.gguf) | Q3_K | 10.76GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.Q3_K_L.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q3_K_L.gguf) | Q3_K_L | 11.73GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.Q3_K_S.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q3_K_S.gguf) | Q3_K_S | 9.64GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ3_M.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ3_M.gguf) | IQ3_M | 10.06GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ3_S.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ3_S.gguf) | IQ3_S | 9.69GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ3_XS.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ3_XS.gguf) | IQ3_XS | 9.18GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ3_XXS.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ3_XXS.gguf) | IQ3_XXS | 8.60GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.Q2_K.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q2_K.gguf) | Q2_K | 8.27GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.Q2_K_S.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.Q2_K_S.gguf) | Q2_K_S | 7.65GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ2_M.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ2_M.gguf) | IQ2_M | 7.62GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ2_S.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ2_S.gguf) | IQ2_S | 7.04GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ2_XS.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ2_XS.gguf) | IQ2_XS | 6.65GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ2_XXS.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ2_XXS.gguf) | IQ2_XXS | 6.00GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ1_M.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ1_M.gguf) | IQ1_M | 5.27GB | ✅ Available | 🟢 IMatrix | 📦 No\n| [Codestral-22B-v0.1-hf.IQ1_S.gguf](https://huggingface.co/legraphista/Codestral-22B-v0.1-hf-IMat-GGUF/blob/main/Codestral-22B-v0.1-hf.IQ1_S.gguf) | IQ1_S | 4.83GB | ✅ Available | 🟢 IMatrix | 📦 No\n\n\n## Downloading using huggingface-cli\nIf you do not have hugginface-cli installed:\n```\npip install -U \"huggingface_hub[cli]\"\n```\nDownload the specific file you want:\n```\nhuggingface-cli download legraphista/Codestral-22B-v0.1-hf-IMat-GGUF --include \"Codestral-22B-v0.1-hf.Q8_0.gguf\" --local-dir ./\n```\nIf the model file is big, it has been split into multiple files. In order to download them all to a local folder, run:\n```\nhuggingface-cli download legraphista/Codestral-22B-v0.1-hf-IMat-GGUF --include \"Codestral-22B-v0.1-hf.Q8_0/*\" --local-dir ./\n# see FAQ for merging GGUF's\n```\n\n---\n\n## Inference\n\n### Simple chat template\n```\n<s>[INST] {user_prompt} [/INST] {assistant_response} </s><s>[INST] {new_user_prompt} [/INST]\n```\n\n### Chat template with system prompt\n```\n<s>[INST] <<SYS>>\n{system_prompt}\n<</SYS>>\n\n{user_prompt} [/INST] {assistant_response} </s><s>[INST] {new_user_prompt} [/INST]\n```\n\n### Llama.cpp\n```\nllama.cpp/main -m Codestral-22B-v0.1-hf.Q8_0.gguf --color -i -p \"prompt here (according to the chat template)\"\n```\n\n---\n\n## FAQ\n\n### Why is the IMatrix not applied everywhere?\nAccording to [this investigation](https://www.reddit.com/r/LocalLLaMA/comments/1993iro/ggufs_quants_can_punch_above_their_weights_now/), it appears that lower quantizations are the only ones that benefit from the imatrix input (as per hellaswag results). \n\n### How do I merge a split GGUF?\n1. Make sure you have `gguf-split` available\n    - To get hold of `gguf-split`, navigate to https://github.com/ggerganov/llama.cpp/releases\n    - Download the appropriate zip for your system from the latest release\n    - Unzip the archive and you should be able to find `gguf-split`\n2. Locate your GGUF chunks folder (ex: `Codestral-22B-v0.1-hf.Q8_0`)\n3. Run `gguf-split --merge Codestral-22B-v0.1-hf.Q8_0/Codestral-22B-v0.1-hf.Q8_0-00001-of-XXXXX.gguf Codestral-22B-v0.1-hf.Q8_0.gguf`\n    - Make sure to point `gguf-split` to the first chunk of the split.\n\n---\n\nGot a suggestion? Ping me [@legraphista](https://x.com/legraphista)!",
    "related_quantizations": []
  },
  "tags": [
    "gguf",
    "code",
    "quantized",
    "GGUF",
    "imatrix",
    "quantization",
    "imat",
    "static",
    "text-generation",
    "base_model:mistralai/Codestral-22B-v0.1",
    "base_model:quantized:mistralai/Codestral-22B-v0.1",
    "license:other",
    "region:us"
  ],
  "likes": 13,
  "downloads": 515,
  "gated": false,
  "private": false,
  "last_modified": "2024-05-30T23:32:17.000Z",
  "created_at": "2024-05-29T18:23:42.000Z",
  "pipeline_tag": "text-generation",
  "library_name": "gguf"
}
Source payload excerpt (from Hugging Face API)
{
  "_id": "665772ae62224e0fdf7036c0",
  "id": "legraphista/Codestral-22B-v0.1-IMat-GGUF",
  "modelId": "legraphista/Codestral-22B-v0.1-IMat-GGUF",
  "sha": "09f7b81edb2b61f7c84661368ef719f6dcef95e7",
  "createdAt": "2024-05-29T18:23:42.000Z",
  "lastModified": "2024-05-30T23:32:17.000Z",
  "author": "legraphista",
  "downloads": 515,
  "likes": 13,
  "gated": false,
  "private": false,
  "pipeline_tag": "text-generation",
  "library_name": "gguf",
  "siblings_count": 30
}