Image-Text-to-Text
GGUF
llama-cpp
quantized
clairic
qwen3_5
multimodal
structured-output
information-extraction
imatrix
conversational
Instructions to use Xylolabs/clairic-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-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-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Xylolabs/clairic-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-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Xylolabs/clairic-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-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Xylolabs/clairic-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Xylolabs/clairic-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Xylolabs/clairic-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Xylolabs/clairic-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-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-GGUF:Q4_K_M
- Ollama
How to use Xylolabs/clairic-GGUF with Ollama:
ollama run hf.co/Xylolabs/clairic-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Xylolabs/clairic-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-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-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Xylolabs/clairic-GGUF with Docker Model Runner:
docker model run hf.co/Xylolabs/clairic-GGUF:Q4_K_M
- Lemonade
How to use Xylolabs/clairic-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Xylolabs/clairic-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.clairic-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Xylolabs/clairic-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-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-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Xylolabs/clairic-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-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-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"
Update size-accuracy curves in light and dark themes
Browse files- .gitattributes +3 -0
- README.md +7 -2
- accuracy-by-size-dark.png +2 -2
- accuracy-by-size.png +2 -2
- kl-dark.png +0 -0
- kl.png +2 -2
- top1-dark.png +0 -0
- top1.png +0 -0
.gitattributes
CHANGED
|
@@ -47,3 +47,6 @@ mmproj-clairic-BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 47 |
clairic.imatrix.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
accuracy-by-size-dark.png filter=lfs diff=lfs merge=lfs -text
|
| 49 |
accuracy-by-size.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
clairic.imatrix.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
accuracy-by-size-dark.png filter=lfs diff=lfs merge=lfs -text
|
| 49 |
accuracy-by-size.png filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
kl-dark.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
top1-dark.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
top1.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -54,8 +54,11 @@ GGUF quants of [Cloudflare/clairic](https://huggingface.co/Cloudflare/clairic) (
|
|
| 54 |
| `clairic-Q6_K.gguf` | Language model |
|
| 55 |
| `clairic-Q8_0.gguf` | Language model |
|
| 56 |
| `clairic.imatrix.gguf` | Importance matrix |
|
|
|
|
| 57 |
| `kl.png` | Accuracy chart, light theme |
|
| 58 |
| `mmproj-clairic-BF16.gguf` | Vision encoder |
|
|
|
|
|
|
|
| 59 |
|
| 60 |
## How to run
|
| 61 |
|
|
@@ -82,8 +85,10 @@ Mean KL and top-1 agreement against f32 inference on BF16 weights, measured on m
|
|
| 82 |
| **IQ3_M** | **12.82 GB** | **0.1393** | **88.59%** |
|
| 83 |
| **Q2_K** | **11.10 GB** | **0.2348** | **84.86%** |
|
| 84 |
|
| 85 |
-
<img class="
|
| 86 |
-
<img class="hidden dark:block" src="
|
|
|
|
|
|
|
| 87 |
|
| 88 |
## License
|
| 89 |
|
|
|
|
| 54 |
| `clairic-Q6_K.gguf` | Language model |
|
| 55 |
| `clairic-Q8_0.gguf` | Language model |
|
| 56 |
| `clairic.imatrix.gguf` | Importance matrix |
|
| 57 |
+
| `kl-dark.png` | Accuracy chart, dark theme |
|
| 58 |
| `kl.png` | Accuracy chart, light theme |
|
| 59 |
| `mmproj-clairic-BF16.gguf` | Vision encoder |
|
| 60 |
+
| `top1-dark.png` | Accuracy chart, dark theme |
|
| 61 |
+
| `top1.png` | Accuracy chart, light theme |
|
| 62 |
|
| 63 |
## How to run
|
| 64 |
|
|
|
|
| 85 |
| **IQ3_M** | **12.82 GB** | **0.1393** | **88.59%** |
|
| 86 |
| **Q2_K** | **11.10 GB** | **0.2348** | **84.86%** |
|
| 87 |
|
| 88 |
+
<img class="dark:hidden" src="https://huggingface.co/Xylolabs/clairic-GGUF/resolve/main/kl.png" alt="clairic-GGUF mean KL divergence" />
|
| 89 |
+
<img class="hidden dark:block" src="https://huggingface.co/Xylolabs/clairic-GGUF/resolve/main/kl-dark.png" alt="clairic-GGUF mean KL divergence" />
|
| 90 |
+
<img class="dark:hidden" src="https://huggingface.co/Xylolabs/clairic-GGUF/resolve/main/top1.png" alt="clairic-GGUF top-1 accuracy" />
|
| 91 |
+
<img class="hidden dark:block" src="https://huggingface.co/Xylolabs/clairic-GGUF/resolve/main/top1-dark.png" alt="clairic-GGUF top-1 accuracy" />
|
| 92 |
|
| 93 |
## License
|
| 94 |
|
accuracy-by-size-dark.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
accuracy-by-size.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
kl-dark.png
ADDED
|
kl.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
top1-dark.png
ADDED
|
top1.png
ADDED
|