Text Generation
Transformers
Safetensors
GGUF
English
Chinese
qwen3_5_moe
image-text-to-text
code
agent
agentic-coding
Mixture of Experts
coding
conversational
Instructions to use robertxxiv/KAT-Coder-V2.5-Dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use robertxxiv/KAT-Coder-V2.5-Dev with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="robertxxiv/KAT-Coder-V2.5-Dev") 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("robertxxiv/KAT-Coder-V2.5-Dev") model = AutoModelForMultimodalLM.from_pretrained("robertxxiv/KAT-Coder-V2.5-Dev", 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 robertxxiv/KAT-Coder-V2.5-Dev 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 robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M # Run inference directly in the terminal: llama cli -hf robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M # Run inference directly in the terminal: llama cli -hf robertxxiv/KAT-Coder-V2.5-Dev: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 robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M
Use Docker
docker model run hf.co/robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use robertxxiv/KAT-Coder-V2.5-Dev with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "robertxxiv/KAT-Coder-V2.5-Dev" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "robertxxiv/KAT-Coder-V2.5-Dev", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M
- SGLang
How to use robertxxiv/KAT-Coder-V2.5-Dev 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 "robertxxiv/KAT-Coder-V2.5-Dev" \ --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": "robertxxiv/KAT-Coder-V2.5-Dev", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "robertxxiv/KAT-Coder-V2.5-Dev" \ --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": "robertxxiv/KAT-Coder-V2.5-Dev", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use robertxxiv/KAT-Coder-V2.5-Dev with Ollama:
ollama run hf.co/robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M
- Unsloth Desktop
- Pi
How to use robertxxiv/KAT-Coder-V2.5-Dev with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf robertxxiv/KAT-Coder-V2.5-Dev: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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use robertxxiv/KAT-Coder-V2.5-Dev with Docker Model Runner:
docker model run hf.co/robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M
- Lemonade
How to use robertxxiv/KAT-Coder-V2.5-Dev with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M
Run and chat with the model
lemonade run user.KAT-Coder-V2.5-Dev-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use robertxxiv/KAT-Coder-V2.5-Dev with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf robertxxiv/KAT-Coder-V2.5-Dev: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 robertxxiv/KAT-Coder-V2.5-Dev:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use robertxxiv/KAT-Coder-V2.5-Dev with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf robertxxiv/KAT-Coder-V2.5-Dev: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 "robertxxiv/KAT-Coder-V2.5-Dev: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"
Delete files *.safetensors with huggingface_hub
Browse files- model-00000-of-00013.safetensors +0 -3
- model-00001-of-00013.safetensors +0 -3
- model-00002-of-00013.safetensors +0 -3
- model-00003-of-00013.safetensors +0 -3
- model-00004-of-00013.safetensors +0 -3
- model-00005-of-00013.safetensors +0 -3
- model-00006-of-00013.safetensors +0 -3
- model-00007-of-00013.safetensors +0 -3
- model-00008-of-00013.safetensors +0 -3
- model-00009-of-00013.safetensors +0 -3
- model-00010-of-00013.safetensors +0 -3
- model-00011-of-00013.safetensors +0 -3
- model-00012-of-00013.safetensors +0 -3
model-00000-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8276a6a03028202c6defdee72e36a7bc6a1ca2818f07b59db25d79d4a4807f49
|
| 3 |
-
size 5368997288
|
|
|
|
|
|
|
|
|
|
|
|
model-00001-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2889ed15439b5b36a5465e1d065f77eb21cc43bbdc3c3c6e6a66ba53adf5754e
|
| 3 |
-
size 5369063800
|
|
|
|
|
|
|
|
|
|
|
|
model-00002-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:16fcbe70f06b9ac0b32c355c5ae0f878b52321ef4b979fea906a3feda3eafbee
|
| 3 |
-
size 5369063512
|
|
|
|
|
|
|
|
|
|
|
|
model-00003-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:15a4c1bb2211711e2daa1f9143383b340ac7c98278234ebb667cb76529820627
|
| 3 |
-
size 5369065752
|
|
|
|
|
|
|
|
|
|
|
|
model-00004-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9d5ad2057e25a891e5c2f24c45cef64579e57880ee8be19232055e99430c9df5
|
| 3 |
-
size 5369066360
|
|
|
|
|
|
|
|
|
|
|
|
model-00005-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:edad43eb0037fefbacf5cdde56543647f7bba63f99278cf5475f92e4bfa90f09
|
| 3 |
-
size 5369066072
|
|
|
|
|
|
|
|
|
|
|
|
model-00006-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8705adf12efa80281e2a68ab1ad44c924986f31a289e205b37b24e0046fc04aa
|
| 3 |
-
size 5369066240
|
|
|
|
|
|
|
|
|
|
|
|
model-00007-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:972d23a1059d97b6084c736461af11acfa5d7bb9ca165e9268a10a6838712782
|
| 3 |
-
size 5369066360
|
|
|
|
|
|
|
|
|
|
|
|
model-00008-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e3e184b01839de133a417c7ae6c35f2be8f5bc48549aca31450e51395608ae33
|
| 3 |
-
size 5369066072
|
|
|
|
|
|
|
|
|
|
|
|
model-00009-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7fb7c5f1f62a2f9cf18ee6dbc91c213f1207e66a8126fd26e00b5b1859d894ba
|
| 3 |
-
size 5369066240
|
|
|
|
|
|
|
|
|
|
|
|
model-00010-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:39621376256b15785678e758f78c7842f0b4cb8c681b4dc139c1ce856d887c64
|
| 3 |
-
size 5369066360
|
|
|
|
|
|
|
|
|
|
|
|
model-00011-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d8760910a5aa83d6e5481804cd65f6284ed6f13a6998bf2bc7524e81f2026d52
|
| 3 |
-
size 5369066072
|
|
|
|
|
|
|
|
|
|
|
|
model-00012-of-00013.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:237e9d4e0f89135d609d516c30e7b169276db6a0c888e56924212217471fdf9a
|
| 3 |
-
size 4896861568
|
|
|
|
|
|
|
|
|
|
|
|