clairic-GGUF / README.md
hletrd's picture
docs(card): dark chart theme, owner-named sources
4e54881 verified
|
Raw History Blame Contribute Delete
4.45 kB
metadata
license: apache-2.0
license_link: LICENSE
base_model:
  - Cloudflare/clairic
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
Xylolabs

Clairic GGUF

Base model Formats License Code

GGUF quants of Cloudflare/clairic (27B, a fine-tune of Qwen/Qwen3.8-27B 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-IQ3_M.gguf 12.818 GB
clairic-IQ4_XS.gguf 15.353 GB
clairic-Q2_K.gguf 11.105 GB
clairic-Q3_K_M.gguf 13.547 GB
clairic-Q4_K_M.gguf 16.776 GB
clairic-Q4_K_S.gguf 15.632 GB
clairic-Q5_K_M.gguf 19.362 GB
clairic-Q6_K.gguf 22.110 GB
clairic-Q8_0.gguf 28.618 GB
clairic.imatrix.gguf 23.38 MB
mmproj-clairic-BF16.gguf 931.15 MB

How to run

llama-server -m clairic-Q4_K_M.gguf --mmproj mmproj-clairic-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 28.62 GB 0.0100 98.25%
Q6_K 22.11 GB 0.0161 97.35%
Q5_K_M 19.36 GB 0.0237 95.97%
Q4_K_M 16.78 GB 0.0518 93.93%
Q4_K_S 15.63 GB 0.0566 93.55%
IQ4_XS 15.35 GB 0.0611 92.42%
Q3_K_M 13.55 GB 0.1333 89.36%
IQ3_M 12.82 GB 0.1393 88.59%
Q2_K 11.10 GB 0.2348 84.86%
clairic-GGUF mean KL divergence clairic-GGUF top-1 accuracy

Which file for your hardware

Hardware Memory File Context
RTX 4090 / RTX 3090 24 GB clairic-Q4_K_M.gguf (16.8 GB) 32K
RTX 5090 32 GB clairic-Q6_K.gguf (22.1 GB) 64K
RTX 6000 Ada, or 2 x 24 GB 48 GB clairic-Q8_0.gguf (28.6 GB) 128K
One H100 80 GB clairic-Q8_0.gguf (28.6 GB) 256K
RTX PRO 6000 Blackwell (GDDR7) 96 GB clairic-Q8_0.gguf (28.6 GB) 256K
DGX Spark 128 GB unified clairic-Q8_0.gguf (28.6 GB) 256K
Mac Studio M5 Max 128 GB unified clairic-Q8_0.gguf (28.6 GB) 256K
One H200 (HBM3e) 141 GB clairic-Q8_0.gguf (28.6 GB) 256K
One B200 192 GB clairic-Q8_0.gguf (28.6 GB) 256K
Mac Studio M5 Ultra 256 GB unified clairic-Q8_0.gguf (28.6 GB) 256K
Mac Studio M5 Ultra 512 GB unified clairic-Q8_0.gguf (28.6 GB) 256K
One B300 (HBM3e) 288 GB clairic-Q8_0.gguf (28.6 GB) 256K

License

Apache License 2.0, copied in LICENSE. We converted the weights to GGUF and quantized them.

Updates

  • 2026-11-29: Charts redrawn in the dark theme with fewer point labels.
  • 2026-11-22: Added the required llama.cpp build.
  • 2026-11-21: Updated the size and accuracy charts and the table.