Transformers
GGUF
imatrix
conversational
How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama-server -hf mradermacher/c4ai-command-r7b-12-2024-i1-GGUF:
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "c4ai-command-r7b-12-2024-i1-GGUF"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

About

weighted/imatrix quants of https://huggingface.co/estrogen/c4ai-command-r7b-12-2024

static quants are available at https://huggingface.co/mradermacher/c4ai-command-r7b-12-2024-GGUF

Usage

If you are unsure how to use GGUF files, refer to one of TheBloke's READMEs for more details, including on how to concatenate multi-part files.

Provided Quants

(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)

Link Type Size/GB Notes
GGUF i1-IQ1_S 2.3 for the desperate
GGUF i1-IQ1_M 2.5 mostly desperate
GGUF i1-IQ2_XXS 2.7
GGUF i1-IQ2_XS 2.9
GGUF i1-IQ2_S 3.0
GGUF i1-IQ2_M 3.2
GGUF i1-Q2_K_S 3.3 very low quality
GGUF i1-IQ3_XXS 3.5 lower quality
GGUF i1-Q2_K 3.5 IQ3_XXS probably better
GGUF i1-IQ3_XS 3.8
GGUF i1-Q3_K_S 4.0 IQ3_XS probably better
GGUF i1-IQ3_S 4.0 beats Q3_K*
GGUF i1-IQ3_M 4.1
GGUF i1-Q3_K_M 4.3 IQ3_S probably better
GGUF i1-Q3_K_L 4.6 IQ3_M probably better
GGUF i1-IQ4_XS 4.7
GGUF i1-Q4_0 4.9 fast, low quality
GGUF i1-IQ4_NL 4.9 prefer IQ4_XS
GGUF i1-Q4_K_S 4.9 optimal size/speed/quality
GGUF i1-Q4_K_M 5.2 fast, recommended
GGUF i1-Q4_1 5.3
GGUF i1-Q5_K_S 5.8
GGUF i1-Q5_K_M 5.9
GGUF i1-Q6_K 6.7 practically like static Q6_K

Here is a handy graph by ikawrakow comparing some lower-quality quant types (lower is better):

image.png

And here are Artefact2's thoughts on the matter: https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9

FAQ / Model Request

See https://huggingface.co/mradermacher/model_requests for some answers to questions you might have and/or if you want some other model quantized.

Thanks

I thank my company, nethype GmbH, for letting me use its servers and providing upgrades to my workstation to enable this work in my free time. Additional thanks to @nicoboss for giving me access to his private supercomputer, enabling me to provide many more imatrix quants, at much higher quality, than I would otherwise be able to.

Downloads last month
2,713
GGUF
Model size
8B params
Architecture
cohere2
Hardware compatibility
Log In to add your hardware

1-bit

2-bit

3-bit

4-bit

5-bit

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mradermacher/c4ai-command-r7b-12-2024-i1-GGUF

Quantized
(2)
this model