Instructions to use kai-os/Carnice-V3-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 kai-os/Carnice-V3-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 kai-os/Carnice-V3-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf kai-os/Carnice-V3-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 kai-os/Carnice-V3-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf kai-os/Carnice-V3-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf kai-os/Carnice-V3-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf kai-os/Carnice-V3-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf kai-os/Carnice-V3-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf kai-os/Carnice-V3-GGUF:Q4_K_M
Use Docker
docker model run hf.co/kai-os/Carnice-V3-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use kai-os/Carnice-V3-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kai-os/Carnice-V3-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": "kai-os/Carnice-V3-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/kai-os/Carnice-V3-GGUF:Q4_K_M
- Ollama
How to use kai-os/Carnice-V3-GGUF with Ollama:
ollama run hf.co/kai-os/Carnice-V3-GGUF:Q4_K_M
- Unsloth Studio
How to use kai-os/Carnice-V3-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kai-os/Carnice-V3-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kai-os/Carnice-V3-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kai-os/Carnice-V3-GGUF to start chatting
- Pi
How to use kai-os/Carnice-V3-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kai-os/Carnice-V3-GGUF:Q4_K_M
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": "kai-os/Carnice-V3-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use kai-os/Carnice-V3-GGUF with Docker Model Runner:
docker model run hf.co/kai-os/Carnice-V3-GGUF:Q4_K_M
- Lemonade
How to use kai-os/Carnice-V3-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kai-os/Carnice-V3-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Carnice-V3-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use kai-os/Carnice-V3-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 kai-os/Carnice-V3-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:8080/v1 hermes config set model.default kai-os/Carnice-V3-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kai-os/Carnice-V3-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kai-os/Carnice-V3-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:8080/v1 \ --custom-model-id "kai-os/Carnice-V3-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"
Carnice-V3 GGUF for Hermes Agent
Important limitations: quantization does not repair the behavioral limitations of the source model. Carnice V3 did not pass its formal behavioral quality gate, and a small internal Hermes diagnostic showed weaker long-horizon completion and task-level tool-contract performance than the base model. Do not use it for unattended, destructive, high-stakes, or production agents without independent evaluation and strong runtime controls.
This repository contains high-quality GGUF quantizations of the complete merged BF16
kai-os/Carnice-V3 checkpoint. It is a separate
quantized release derived from the full 27,781,427,952-parameter BF16 model. Every GGUF here was
converted independently from that validated merged model and never from another quantization.
Carnice V3 is based on Qwen/Qwen3.8-27B.
Post-training used a rank-64 rsLoRA over all 496 audited language linear modules and then safely
merged it into the base model. Vision and MTP modules were not post-trained.
Files and recommendations
| File | Type | Size (GiB) | Positioning |
|---|---|---|---|
Carnice-V3-Q4_K_M.gguf |
Q4_K_M | 15.66 | smallest recommended release quant |
Carnice-V3-Q5_K_M.gguf |
Q5_K_M | 18.19 | recommended balance |
Carnice-V3-Q6_K.gguf |
Q6_K | 20.89 | high quality |
Carnice-V3-Q8_0.gguf |
Q8_0 | 27.05 | maximum-fidelity quant |
The multimodal projector is mmproj-Carnice-V3-BF16.gguf. It is deliberately kept in BF16:
the vision encoder/projector is much smaller than the language model, while quantizing it more
aggressively can directly distort the representations presented to the language model. Use the
same BF16 projector with any language-model quant above.
Q5_K_M is the default recommendation for a useful memory/quality balance. Prefer Q6_K when
agent reliability matters more than a few GiB, and Q8_0 when memory permits and minimizing
quantization loss is the priority. Q4_K_M is the smallest variant published here; lower-bit
IQ/Q2/Q3 variants were intentionally omitted because this release is meant to be useful, not a
size demonstration.
Quantization method and integrity
Conversion and quantization used a pinned build of
llama.cpp, recorded in quantization_results.json.
The pipeline first converted the validated merged BF16 Transformers directory to one BF16
language-model GGUF. It then computed one importance matrix using only the private training
split, with special-token parsing enabled, and independently quantized each published file
from that BF16 GGUF. Requantization was not enabled.
The importance matrix covered up to 192 512-token chunks. Training windows were interleaved by trajectory before decoding so the first calibration region represented all six training trajectories rather than one long task. Token IDs were required to round-trip exactly through the pinned tokenizer. The private calibration text is not redistributed.
release_manifest.json records the published files. quantization_results.json records the
source model, build details, importance-matrix evidence, held-out perplexity comparisons,
text/tool smoke results, and the BF16 multimodal smoke result. These checks establish conversion
integrity and directional quantization degradation only; they are not evidence of broad agent
quality.
Measured quantization checks
| Type | Validation PPL ratio | Test PPL ratio | Tool-call smoke |
|---|---|---|---|
| Q4_K_M | 1.02633x | 1.01793x | pass |
| Q5_K_M | 1.00441x | 1.00504x | pass |
| Q6_K | 1.00196x | 1.00308x | pass |
| Q8_0 | 1.00096x | 1.00256x | pass |
The validation and test sets each contain a single private task family, so their perplexities
are directional and not a benchmark. Calibration used no validation or test tokens. A passing
perplexity comparison uses the pinned llama-perplexity tool's default tokenizer behavior;
that binary does not expose the --parse-special switch supported by llama-imatrix. Ratios
remain paired against the same BF16 GGUF, tokenizer, corpus, context, and chunk count. A passing
tool smoke requires llama.cpp's OpenAI-compatible server to return a parseable call to the
declared terminal tool with the exact requested JSON argument. A passing vision smoke requires
the BF16 projector and Q8_0 language model to load together and identify visible text or major
visual features from the public Carnice cover image.
Running with llama.cpp
Use a current llama.cpp build with Qwen3.8/Qwen3.5 conditional-model support. Text-only usage does not require the projector:
llama-server \
-hf kai-os/Carnice-V3-GGUF:Carnice-V3-Q5_K_M.gguf \
-ngl 99 -c 32768 --jinja \
--host 127.0.0.1 --port 8080
For a local download and multimodal input:
llama-mtmd-cli \
-m Carnice-V3-Q6_K.gguf \
--mmproj mmproj-Carnice-V3-BF16.gguf \
--image image.png \
-p "Describe the image carefully." \
-ngl 99 -c 32768 -n 1024
The embedded chat template is the pinned Qwen3.8 template. Do not replace it with generic ChatML or generic OpenAI JSON formatting. Pass standard OpenAI-style function schemas through an endpoint that honors the embedded Jinja template. Hermes must parse and dispatch the resulting Qwen/Hermes tool envelope.
For long-running tasks, keep thinking enabled, expose every tool the runtime can actually dispatch, and configure explicit context, per-response, and iteration ceilings. Log all limit contacts and count them as incomplete tasks. The model has no tools or permissions by itself; sandboxing, dispatch, result handling, timeouts, and authorization remain runtime concerns.
Training data and procedure
The task specifications, deterministic fixtures, and hidden verifiers were locally authored for
Carnice V3. Teacher trajectories ran inside the pinned Hermes Agent runtime using
Qwen-Ambassador/Qwen3.8-Max through ModelScope. Collection requested xhigh reasoning and
exposed the complete pinned Hermes tool schema.
A root was admitted only after all model calls settled, parent/delegated-child lineage was complete, tool arguments passed pinned schemas, privacy checks passed, and an independent executable verifier accepted the outcome. Rejected, partial, over-limit, unverifiable, or rights-unapproved attempts contributed no SFT tokens.
The reviewed corpus contains eight private trajectories across six agent-task families: six training trajectories across four families, one validation trajectory, and one test trajectory. The training split produced 24 continuation windows at a maximum length of 16,384, with 359,363 rendered input tokens and 162,798 supervised tokens. Across the complete corpus, 94 reviewed reasoning turns were included and 21 were masked; masking a reasoning span did not remove its associated tool-action or final-answer supervision. The corpus contains 158 admitted tool calls. No private dataset rows are included in this repository.
Training kept the Qwen3.8-27B base unquantized in BF16. Only LoRA parameters were optimized; vision and MTP modules stayed frozen. The selected step-12 checkpoint used rank 64, alpha 64, rsLoRA, dropout 0.05, a 1e-5 cosine-scheduled learning rate, 8-bit AdamW, and 16,384-token windows. It trained for 24 steps on one NVIDIA GH200. The selected validation loss improved from 0.40724 to 0.35186, which measures fit to one tiny held-out trajectory and not general quality.
Behavioral evidence
The only behavioral comparison is a small private Hermes development diagnostic. It is not a benchmark and is too small for general claims. Verifier and per-call schema-shape signals improved, while long-horizon completion and task-level tool contracts regressed. This does not establish an overall agent-quality improvement.
Limitations and license
- Quantization can change borderline token choices even when perplexity impact is small.
- Long-horizon reliability regressed in the available source-model diagnostic.
- Exact task-level tool-contract performance was worse than the pinned base.
- The private corpus is far too small to establish broad tool, language, multimodal, safety, or adversarial robustness.
- The available evaluation is directional and does not establish production readiness.
- llama.cpp behavior depends on the runtime commit, chat-template implementation, sampling, context size, GPU offload, tool parser, and surrounding agent loop.
Code and original Carnice materials are Apache-2.0. Qwen-derived model weights remain subject to
the upstream Qwen license and applicable terms. Review LICENSE, NOTICE, and the upstream
Qwen/Qwen3.8-27B repository before redistribution or
commercial use.
- Downloads last month
- 77
4-bit
5-bit
6-bit
8-bit
