How to use from
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 blackdeep/knaif:Q6_K
# Run inference directly in the terminal:
llama cli -hf blackdeep/knaif:Q6_K
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf blackdeep/knaif:Q6_K
# Run inference directly in the terminal:
llama cli -hf blackdeep/knaif:Q6_K
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 blackdeep/knaif:Q6_K
# Run inference directly in the terminal:
./llama-cli -hf blackdeep/knaif:Q6_K
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 blackdeep/knaif:Q6_K
# Run inference directly in the terminal:
./build/bin/llama-cli -hf blackdeep/knaif:Q6_K
Use Docker
docker model run hf.co/blackdeep/knaif:Q6_K
Quick Links

knaif โ€” natural language โ†’ validated action plans

Fine-tuned Qwen3 models for knaif: they turn a natural-language request into a strict JSON action plan ({"plan": [...]}) that deterministic code then validates, expands, confirms, and executes through skill packages. The model only proposes the plan โ€” it never runs anything itself.

These are SFT fine-tunes trained on the ffmpeg and documents skills.

Models in this repo

File Base Params Quant Size Surface
knaif-qwen3-4b-v1-q4_k_m.gguf Qwen3-4B 4B Q4_K_M 2.5 GB desktop / CLI (default)
knaif-qwen3-1.7b-v1-q6_k.gguf Qwen3-1.7B 1.7B Q6_K 1.4 GB mobile / low-footprint

Public release names are v1; the underlying fine-tune was training cycle sft-v3-flat.

Intended use

Structured plan generation for knaif skills, not open-ended chat. Given the knaif prompt (available tools + the user request), the model emits only a {"plan": [...]} envelope naming declared tools and arguments. Unknown tools and unsupported arguments are rejected downstream, so the model's job is intent โ†’ validated plan, not command execution.

Usage

Via the knaif runtime (recommended โ€” it supplies the prompt and validates/executes the plan):

knaif models pull qwen3-4b-v1        # or qwen3-1.7b-v1
knaif run ffmpeg "compress holiday.mp4 for whatsapp"
Downloads last month
34
GGUF
Model size
2B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

4-bit

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for blackdeep/knaif

Finetuned
Qwen/Qwen3-1.7B
Quantized
(305)
this model