Image-Text-to-Text
GGUF
llama-cpp
quantized
clairic
qwen3_5
multimodal
structured-output
information-extraction
imatrix
conversational
Instructions to use Xylolabs/clairic-flash-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Xylolabs/clairic-flash-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Xylolabs/clairic-flash-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Xylolabs/clairic-flash-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Xylolabs/clairic-flash-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Xylolabs/clairic-flash-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Xylolabs/clairic-flash-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Xylolabs/clairic-flash-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Xylolabs/clairic-flash-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Xylolabs/clairic-flash-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Xylolabs/clairic-flash-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Xylolabs/clairic-flash-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Xylolabs/clairic-flash-GGUF:Q4_K_M
- Ollama
How to use Xylolabs/clairic-flash-GGUF with Ollama:
ollama run hf.co/Xylolabs/clairic-flash-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Xylolabs/clairic-flash-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Xylolabs/clairic-flash-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Xylolabs/clairic-flash-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Xylolabs/clairic-flash-GGUF with Docker Model Runner:
docker model run hf.co/Xylolabs/clairic-flash-GGUF:Q4_K_M
- Lemonade
How to use Xylolabs/clairic-flash-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Xylolabs/clairic-flash-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.clairic-flash-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Xylolabs/clairic-flash-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Xylolabs/clairic-flash-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default Xylolabs/clairic-flash-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Xylolabs/clairic-flash-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Xylolabs/clairic-flash-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "Xylolabs/clairic-flash-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
|
Download README.md from Xylolabs/clairic-flash-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 5.05 kB
-
https://huggingface.co/Xylolabs/clairic-flash-GGUF/resolve/main/README.md
- Command line
-
hf download hf://Xylolabs/clairic-flash-GGUF/README.md
-
curl -L -o README.md https://huggingface.co/Xylolabs/clairic-flash-GGUF/resolve/main/README.md
5.05 kB
| license: apache-2.0 | |
| license_link: LICENSE | |
| base_model: | |
| - Cloudflare/clairic-flash | |
| base_model_relation: quantized | |
| library_name: gguf | |
| pipeline_tag: image-text-to-text | |
| tags: | |
| - gguf | |
| - llama-cpp | |
| - quantized | |
| - clairic | |
| - qwen3_5 | |
| - multimodal | |
| - structured-output | |
| - information-extraction | |
| <div align="center"> | |
| <img class="block dark:hidden mx-auto" src="https://raw.githubusercontent.com/XylolabsInc/tensix-bfp-gptq/main/assets/xylolabs-lockup.svg" alt="Xylolabs" width="256" height="40"> | |
| <img class="hidden dark:block mx-auto" src="https://raw.githubusercontent.com/XylolabsInc/tensix-bfp-gptq/main/assets/xylolabs-lockup-dark.svg" alt="Xylolabs" width="256" height="40"> | |
| <h1>Clairic Flash GGUF</h1> | |
| [](https://huggingface.co/Cloudflare/clairic-flash) | |
| [](#files) | |
| [](https://huggingface.co/Xylolabs/clairic-flash-GGUF/blob/main/LICENSE) | |
| [](https://github.com/ggml-org/llama.cpp) | |
| </div> | |
| GGUF quants of [Cloudflare/clairic-flash](https://huggingface.co/Cloudflare/clairic-flash) (9B, a fine-tune of [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B) for structured extraction) for llama.cpp, with the vision encoder for image input; Cloudflare's typed extraction head and the checkpoint's unused multi-token-prediction block are not in these files. | |
| ## Files | |
| | File | Size | | |
| |---|---:| | |
| | `clairic-flash-Q8_0.gguf` | 9.53 GB | | |
| | `clairic-flash-Q6_K.gguf` | 7.37 GB | | |
| | `clairic-flash-Q5_K_M.gguf` | 6.50 GB | | |
| | `clairic-flash-Q4_K_M.gguf` | 5.69 GB | | |
| | `clairic-flash-Q4_K_S.gguf` | 5.37 GB | | |
| | `clairic-flash-IQ4_XS.gguf` | 5.27 GB | | |
| | `clairic-flash-Q3_K_M.gguf` | 4.69 GB | | |
| | `clairic-flash-IQ3_M.gguf` | 4.48 GB | | |
| | `clairic-flash-Q2_K.gguf` | 3.93 GB | | |
| | `mmproj-clairic-flash-BF16.gguf` | 0.92 GB | | |
| | `clairic-flash.imatrix.gguf` | 8.8 MB | | |
| ## How to run | |
| ```sh | |
| llama-server -m clairic-flash-Q4_K_M.gguf --mmproj mmproj-clairic-flash-BF16.gguf \ | |
| --jinja -ngl 99 -c 32768 --chat-template-kwargs '{"enable_thinking":false}' | |
| ``` | |
| Use llama.cpp e4b620af1 or newer. | |
| For JSON that follows a schema, pass the schema in the request (`response_format` with `json_schema` in llama-server, or `--json-schema` in llama-cli). | |
| ## Accuracy | |
| Mean KL and top-1 agreement against f32 inference on BF16 weights, measured on mixed text. | |
| | Quant | Size | Mixed text KL | top-1 | | |
| |---|---:|---:|---:| | |
| | Q8_0 | 9.53 GB | 0.0072 | 97.95% | | |
| | Q6_K | 7.37 GB | 0.0132 | 96.94% | | |
| | Q5_K_M | 6.50 GB | 0.0203 | 95.98% | | |
| | Q4_K_M | 5.69 GB | 0.0293 | 94.72% | | |
| | Q4_K_S | 5.37 GB | 0.0507 | 93.13% | | |
| | IQ4_XS | 5.27 GB | 0.0562 | 92.61% | | |
| | Q3_K_M | 4.69 GB | 0.1636 | 87.62% | | |
| | IQ3_M | 4.48 GB | 0.1510 | 87.25% | | |
| | Q2_K | 3.93 GB | 0.1670 | 86.37% | | |
| <img class="dark:hidden" src="https://huggingface.co/Xylolabs/clairic-flash-GGUF/resolve/main/kl.png" alt="clairic-flash-GGUF mean KL divergence" /> | |
| <img class="hidden dark:block" src="https://huggingface.co/Xylolabs/clairic-flash-GGUF/resolve/main/kl-dark.png" alt="clairic-flash-GGUF mean KL divergence" /> | |
| <img class="dark:hidden" src="https://huggingface.co/Xylolabs/clairic-flash-GGUF/resolve/main/top1.png" alt="clairic-flash-GGUF top-1 accuracy" /> | |
| <img class="hidden dark:block" src="https://huggingface.co/Xylolabs/clairic-flash-GGUF/resolve/main/top1-dark.png" alt="clairic-flash-GGUF top-1 accuracy" /> | |
| ## Which file for your hardware | |
| | Hardware | Memory | File | Context | | |
| |---|---|---|---:| | |
| | RTX 4090 / RTX 3090 | 24 GB | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| | RTX 5090 | 32 GB | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| | RTX 6000 Ada, or 2 x 24 GB | 48 GB | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| | One H100 | 80 GB | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| | RTX PRO 6000 Blackwell (GDDR7) | 96 GB | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| | DGX Spark | 128 GB unified | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| | Mac Studio M5 Max | 128 GB unified | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| | One H200 (HBM3e) | 141 GB | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| | One B200 | 192 GB | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| | Mac Studio M5 Ultra | 256 GB unified | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| | Mac Studio M5 Ultra | 512 GB unified | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| | One B300 (HBM3e) | 288 GB | `clairic-flash-Q8_0.gguf` (9.5 GB) | 256K | | |
| ## License | |
| Apache License 2.0, copied in `LICENSE`. We converted the weights to GGUF and quantized them. | |
| ## Updates | |
| - 2026-11-24: Added files from two other providers to the charts. | |
| - 2026-11-22: Added the required llama.cpp build. | |
| - 2026-11-22: Added mean KL and top-1 for the replaced `clairic-flash-Q4_K_M.gguf` and `clairic-flash-Q2_K.gguf` to the accuracy table and charts. | |