Instructions to use kainatq/KITE-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kainatq/KITE-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="kainatq/KITE-9B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("kainatq/KITE-9B") model = AutoModelForMultimodalLM.from_pretrained("kainatq/KITE-9B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use kainatq/KITE-9B 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 kainatq/KITE-9B:Q4_K_M # Run inference directly in the terminal: llama cli -hf kainatq/KITE-9B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kainatq/KITE-9B:Q4_K_M # Run inference directly in the terminal: llama cli -hf kainatq/KITE-9B: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 kainatq/KITE-9B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf kainatq/KITE-9B:Q4_K_M
Use Docker
docker model run hf.co/kainatq/KITE-9B:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use kainatq/KITE-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kainatq/KITE-9B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kainatq/KITE-9B", "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/kainatq/KITE-9B:Q4_K_M
- SGLang
How to use kainatq/KITE-9B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "kainatq/KITE-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kainatq/KITE-9B", "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 images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "kainatq/KITE-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kainatq/KITE-9B", "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" } } ] } ] }' - Ollama
How to use kainatq/KITE-9B with Ollama:
ollama run hf.co/kainatq/KITE-9B:Q4_K_M
- Unsloth Desktop
- Pi
How to use kainatq/KITE-9B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kainatq/KITE-9B: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": "kainatq/KITE-9B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use kainatq/KITE-9B with Docker Model Runner:
docker model run hf.co/kainatq/KITE-9B:Q4_K_M
- Lemonade
How to use kainatq/KITE-9B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kainatq/KITE-9B:Q4_K_M
Run and chat with the model
lemonade run user.KITE-9B-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use kainatq/KITE-9B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kainatq/KITE-9B: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 kainatq/KITE-9B:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kainatq/KITE-9B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kainatq/KITE-9B: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 "kainatq/KITE-9B: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"
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf kainatq/KITE-9B:Q4_K_M# Run inference directly in the terminal:
llama cli -hf kainatq/KITE-9B:Q4_K_MBuild 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 kainatq/KITE-9B:Q4_K_M# Run inference directly in the terminal:
./build/bin/llama cli -hf kainatq/KITE-9B:Q4_K_MUse Docker
docker model run hf.co/kainatq/KITE-9B:Q4_K_MKITE-9B
KITE β Knowledge-Integrated Tool Engine Β· release v0.1 Β· merge stage m2
KITE-9B is a 9B-parameter tool-and-coding model: a TIES merge of
Qwen/Qwen3.5-9B (the anchor) and a first-stage KITE
merge (m1), weighted equally (0.5 / 0.5) at density=1.0 with a full
tensor_set=strict tensor inventory.
Highlights
- Inherits the complete Qwen3.5-9B architecture: 32 text layers, hidden size
4,096, hybrid attention / state-space blocks (
qwen3_5), all 775 tensors β vision tower and MTP block included. - Built for tool-calling, terminal and coding assistance, and short-horizon planning under a
tools-enabled chat template (
Qwen3_5ForConditionalGeneration). - 183/184 against the base model's 177/184 over 184 cases in five suites (+6 paired).
- Shipped in bf16 and as a
Q4_K_MGGUF for llama.cpp and ollama.
| repository | kainatq/KITE-9B |
| type | 9B tool-and-coding model (TIES weight merge) |
| base model | Qwen/Qwen3.5-9B |
| construct | TIES merge, density=1.0, tensor_set=strict |
| tensors | 775 (15 mtp.*, 333 model.visual.*) |
| precision / shards | bf16, 4 safetensors shards, 19,306,304,048 bytes |
| quantised | Q4_K_M GGUF, gguf/KITE-9B-Q4_K_M.gguf, 5,780,090,752 bytes |
| measured | 183/184 vs base 177/184 β WINS_BASE_STRICT, see Evaluation |
| licence | Apache-2.0 (LICENSE in this repository) |
Lineage β the full recipe
KITE-9B is built in two merge stages. Both stages are TIES, both run at density=1.0, and
both use the strict tensor set. Nothing is hidden behind "various community merges": the
two stages are spelled out in full below, and the more distant ancestry is a single model.
Stage 1 β m1
| parameter | value |
|---|---|
| recipe | ties |
| parents | Jackrong/Qwen3.5-9B-Gemini-3.1-Pro-Reasoning-Distill (parent A, 775 tensors) Β· Tesslate/OmniCoder-9B (parent B, 760 tensors) |
| weights | 0.4 / 0.6 (parent A / parent B) |
| density | 1.0 |
| tensor set | strict |
| merged | 760 shared tensors |
| carried | 15 mtp.* tensors copied unchanged from Jackrong/Qwen3.5-9B-Gemini-3.1-Pro-Reasoning-Distill, which is the only parent that has them |
| output | 775 tensors (17.98 GiB) |
m1 is the stage that supplies the mtp.* (multi-token-prediction) tensors: only
Jackrong/Qwen3.5-9B-Gemini-3.1-Pro-Reasoning-Distill carries them, so they were carried over unchanged rather than merged β
15 tensors. That parent is also the one m1 inherited its tokenizer from (both
stage-1 parents shipped an identical 248,077-token vocabulary, so the choice did not matter).
Stage 2 β m2 (this artefact)
| parameter | value |
|---|---|
| recipe | ties |
| parents | Qwen/Qwen3.5-9B (parent A, anchor) Β· m1 (KITE merge stage 1) (parent B) |
| weights | 0.5 / 0.5 (parent A / parent B) |
| density | 1.0 (full-density: no magnitude trimming) |
| tensor set | strict β merge only the intersection, refuse the rest |
| merged | 775 tensors (= the complete set, mtp.* included) |
| carried | 0 tensors β nothing had to be carried or dropped; both parents carry all 775 |
| output | 775 tensors, 4 shards, 17.98 GiB |
| wall clock | 451 s on the merge host |
At stage 2 both parents carry the complete 775-tensor inventory, so the strict
intersection is the whole model: all 775 tensors β including the 15
mtp.* and the 333 model.visual.* tensors β were merged, and nothing was
carried, dropped or re-initialised. That is why the published checkpoint keeps the vision
tower and the MTP block.
Ancestry
| level | repository | revision | declared licence | ships LICENSE |
|---|---|---|---|---|
| this release | kainatq/KITE-9B |
β | Apache-2.0 | yes (this repo) |
| stage-2 parent A (anchor) | Qwen/Qwen3.5-9B |
c202236235762e1c871ad0ccb60c8ee5ba337b9a |
apache-2.0 | yes |
| stage-1 parent A | Jackrong/Qwen3.5-9B-Gemini-3.1-Pro-Reasoning-Distill |
29d1636fc20c9a8599161fc008a7dbdd701be147 |
apache-2.0 | no (declared on the card only) |
| stage-1 parent B | Tesslate/OmniCoder-9B |
9edd36a30fc7b95b6fd81b7ea16a73cbaf205734 |
apache-2.0 | no (declared on the card only) |
Both stage-1 parents are Apache-2.0, like the base model they derive from.
Merge configuration
Both stages run at density=1.0 β full density, no magnitude trimming β and at strict
tensor inventory. TIES trimming at density < 1 keeps only the top-magnitude fraction of
each tensor and zeroes the rest; applied unconditionally it degrades a merge into mostly-zero
matrices while still loading cleanly and returning fluent text. The merge engine also forces
1.0 for rank-<2 tensors (norms, biases) regardless of the recipe.
Tokenizer and chat template
| field | value |
|---|---|
| tokenizer class | Qwen2Tokenizer |
end-of-turn token (eos_token) |
`< |
vocabulary (tokenizer.json) |
248,044 BPE entries + 26 embedded added tokens (ids 248,044β248,069) |
special tokens (tokenizer_config.json) |
33 added tokens (ids 248,044β248,076) |
text_config.vocab_size (padded embedding rows) |
248,320 |
| chat template | inherited unchanged from Qwen/Qwen3.5-9B (see chat_template.jinja) |
The vocabulary is the base model's 248,044 BPE entries plus the 26
special tokens it already shipped (ids 248,044β248,069). Seven
further TTS/audio tokens (ids 248070β248076) that stage 1 carried are declared in
tokenizer_config.json but are not in tokenizer.json's added-token array β a split
inherited from the merge. Nothing in this release exercises them; if your application depends
on those ids, check the tokenizer before relying on them. The embedding matrix is padded to
248,320 rows, as in the base model.
No generation_config.json is published: neither this merge nor Qwen/Qwen3.5-9B emits one β
the base repository ships 16 files and none of them is a generation config. A hand-written one
would have to choose between two candidates (<|endoftext|> = 248044 and <|im_end|> =
248046, the tokenizer's eos_token), and that choice decides when generation stops. Rather
than publish a guess, pass eos_token_id explicitly if you need exact stop behaviour.
Evaluation
Measured on the published Q4_K_M GGUF β the exact file this repository ships β on a
184-case harness over five suites: tool-calling (64), coding (42), reasoning (34),
instruction-following (32) and planning (12). Settings: ollama 0.40.2, num_ctx=8192,
temperature=0, seed=1234, thinking off, tools on, repair loop enabled.
| suite | cases | KITE-9B |
base Qwen/Qwen3.5-9B |
|---|---|---|---|
| toolcall | 64 | 64/64 | 60/64 |
| coding | 42 | 41/42 | 41/42 |
| reasoning | 34 | 34/34 | 34/34 |
| instruction | 32 | 32/32 | 30/32 |
| planning | 12 | 12/12 | 12/12 |
| total | 184 | 183/184 | 177/184 |
+6 paired cases. KITE-9B wins 7 cases the base fails and loses 1
(cd-011): 183/184 against 177/184. Runs 20261123T183528Z-f94671 (KITE-9B) and
20261123T121738Z-d16684 (base), joined case-by-case.
Verdict
WINS_BASE_STRICT β a strict improvement in count over Qwen/Qwen3.5-9B
on this instrument: +6 paired cases over 184.
Single run, evaluated on the published Q4_K_M GGUF. The bf16 shards were not benchmarked; the
merge's vision tower (333 model.visual.* tensors) is excluded from the GGUF and was
not exercised.
Quantisation
| field | value |
|---|---|
| file | gguf/KITE-9B-Q4_K_M.gguf |
| bytes / sha256 | 5,780,090,752 Β· ac014271298ff7086016c3557b35b8876b2f976309e2165d2ecf2889f05ac56d |
| origin filename | kwyn-m2-Q4_K_M.gguf β renamed on publication, bytes unchanged |
| format | GGUF v3, general.file_type = 15 (Q4_K_M) |
| quantiser | llama.cpp (quantisation version 2) |
| parameters | 9.197B, 5.02 bits/weight |
| architecture | qwen35 (as declared by the GGUF, general.name = M2) |
| tensors | 442 (435 transformer/SSM block tensors, 4 nextn tensors, 3 embedding/output) |
| vision tensors | 0 β the GGUF is text-only; the vision tower is not in it |
| declared licence | apache-2.0 |
The GGUF was produced with llama.cpp from the bf16 merge, unchanged since the evaluation
run. Its general.name metadata reads M2 β a label baked in at conversion time. It is left
as-is deliberately: rewriting the header would change the file's sha256 and break its
identity with the evaluated artefact. It is cosmetic; the file's architecture, licence and
tensor data are correct.
How to use
transformers (bf16, full precision)
from transformers import AutoModelForImageTextToText, AutoProcessor
import torch
repo = "kainatq/KITE-9B"
model = AutoModelForImageTextToText.from_pretrained(repo, torch_dtype=torch.bfloat16, device_map="auto")
processor = AutoProcessor.from_pretrained(repo)
messages = [
{"role": "system", "content": "You are a precise tool-using assistant."},
{"role": "user", "content": "Read config/settings.yaml and tell me the retry count."},
]
inputs = processor.apply_chat_template(
messages, add_generation_prompt=True, tokenize=True,
return_dict=True, return_tensors="pt",
).to(model.device)
out = model.generate(**inputs, max_new_tokens=256)
print(processor.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
Pass tools=[...] to apply_chat_template to enable the function-calling format; the chat
template is the Qwen3.5 tools template inherited from the base model. This snippet is not
executed by the release job: treat it as the intended autoload path (config.json declares
Qwen3_5ForConditionalGeneration and preprocessor_config.json is present), not as a tested recipe.
llama.cpp (Q4_K_M)
# one file, ~5,780,090,752 bytes
hf download kainatq/KITE-9B gguf/KITE-9B-Q4_K_M.gguf --local-dir .
llama-cli -m KITE-9B-Q4_K_M.gguf \
-p "Read config/settings.yaml and tell me the retry count." \
-c 8192 -n 256 --temp 0
Use -c 8192 (or less): 8192 is the context the model was evaluated at. The GGUF is
text-only β there is no mmproj, so image input is not available on this path. No llama.cpp
generation was run from this tree during release: the file is verified structurally (GGUF
header, tensor census, sha256 β see Integrity), not by sampling.
ollama
cat > Modelfile <<'EOF'
FROM ./KITE-9B-Q4_K_M.gguf
PARAMETER num_ctx 8192
PARAMETER temperature 0
EOF
ollama create kite-9b:q4 -f Modelfile
ollama run kite-9b:q4
Hardware
The bf16 weights are 17.98 GiB across 4 shards; they need roughly that much VRAM (or unified memory) plus headroom to load. The Q4_K_M file is 5,780,090,752 bytes, which fits an 8 GB GPU at a modest context once KV cache is allowed for.
Files
Full-precision shards:
| shard | MB (10βΆ B) | GiB | tensors |
|---|---|---|---|
model-00001-of-00004.safetensors |
5,278.3 | 4.916 | 42 |
model-00002-of-00004.safetensors |
5,358.1 | 4.990 | 168 |
model-00003-of-00004.safetensors |
5,340.1 | 4.973 | 160 |
model-00004-of-00004.safetensors |
3,329.9 | 3.101 | 405 |
| total | 19,306.3 | 17.980 | 775 |
Sidecar files (written by the merge, or inherited unchanged from Qwen/Qwen3.5-9B):
| file | bytes | sha256 (first 16) |
|---|---|---|
.gitattributes |
1,570 | 34448b82c17d60fe⦠|
chat_template.jinja |
7,756 | a4aee8afcf2e0711β¦ |
config.json |
3,126 | d0883072e01861ed⦠|
merges.txt |
3,353,259 | a9d356d7bdf1ef49β¦ |
model.safetensors.index.json |
70,358 | 46ebdd2517233186β¦ |
preprocessor_config.json |
390 | 27225450ac9c6529β¦ |
tokenizer.json |
12,807,982 | 5f9e4d4901a92b99β¦ |
tokenizer_config.json |
16,710 | 316230d6a809701f⦠|
video_preprocessor_config.json |
385 | 7768af27c1fafa9c⦠|
vocab.json |
6,722,759 | ce99b4cb2983d118β¦ |
Also present: LICENSE, NOTICE, PROVENANCE.json, SHA256SUMS.txt, gguf/KITE-9B-Q4_K_M.gguf, and
assets/ (the KITE logo in SVG and PNG).
Integrity
SHA256SUMS.txt lists the sha256 of every file in this repository except itself, in
sha256sum format:
sha256sum -c SHA256SUMS.txt
Verify the quantised file against the evaluated artefact β it must print ac014271298ff7086016c3557b35b8876b2f976309e2165d2ecf2889f05ac56d:
sha256sum gguf/KITE-9B-Q4_K_M.gguf
The merge's own run records (kept out of this repository because they contain operator paths) hash to:
- stage 2 (
m2, this artefact):6ad01db8c176318e3b2036d96741ff8e29ad04796818fe8ce5faaa0487ab8be4 - stage 1 (
m1):9d22860dfe3f8aa00479d507f85e7a164f6ef66028bee2b3e7e20d435b67d9c1
config.json is byte-identical to Qwen/Qwen3.5-9B's own file β sha256
d0883072e01861ed0b2d47be3c16c36a8e81c224c7ffaa310c6558fb3f932b05 β so the architecture declaration is the base model's, not a
reconstruction. PROVENANCE.json carries the machine-readable version of every fact on this
card.
Licence and attribution
KITE-9B is released under Apache-2.0 β the full text is LICENSE in this repository,
byte-identical to https://www.apache.org/licenses/LICENSE-2.0.txt (sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30).
The base model and both stage-1 parents are Apache-2.0 as well.
NOTICE records each upstream and its revision. This release is not endorsed by or affiliated
with the upstream authors; upstream names are used only to identify the material.
Limitations
- Evaluation covers 184 cases on
Q4_K_Min a single run. - The vision tower is present in the bf16 weights but was not exercised; the GGUF omits it.
- The MTP (
mtp.*) block is preserved for completeness and is not exercised here. - As with any merge, the parents' behaviour and biases carry through.
- Downloads last month
- 171
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf kainatq/KITE-9B:Q4_K_M# Run inference directly in the terminal: llama cli -hf kainatq/KITE-9B:Q4_K_M