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

drift-command-qwen3-0.6b

This is a LoRA fine-tune of Qwen/Qwen3-0.6B. It turns a natural-language editing command into tool calls for Drift, an open-source video editor, against Drift's MCP ops. It is meant to back an offline command bar: you type "fade in half a second", "make it black and white" or "split here", and it emits split_clip, add_effect, and so on.

This is an interim research checkpoint, not a shipped Drift feature.

Files

Path What
gguf/drift-command-qwen3-0.6b.Q6_K.gguf 495 MB, the evaluated artifact (llama.cpp / LM Studio)
lora/ PEFT LoRA adapter (r=32), to apply on Qwen/Qwen3-0.6B
merged_fp16/ Merged fp16 weights (for conversion, e.g. ONNX)
log_history.json Training / validation loss

Prompt format

The model uses Qwen3's own chat template with tools=[...] and enable_thinking=False.

  • System message: an instruction sentence plus a context line giving the selected clip and the playhead, for example Selected clip: <uuid>, track 1, index 2. Playhead: 12.5 seconds.
  • Tools: about 10 compact JSON schemas (the gold ops plus BM25 distractors). See tools/compact_schema.py in the dataset repo.
  • Output: <tool_call>{"name": ..., "arguments": {...}}</tool_call> blocks, or No tool fits this request.

Decode without a key-order grammar. The model writes track/index first. llama-server's --jinja tool-call grammar forces the schema's property order, which here is alphabetical, and that corrupts the arguments. Use a plain completion and parse the <tool_call> blocks yourself, or use a grammar that allows any key order.

Evaluation

The test set is 237 held-out commands (the test split of the dataset), never seen in training. Scores are for the 210 single-call items. The setup is CPU llama.cpp, Q6_K, 8 threads, greedy decoding.

Condition Exact call Correct op Two-call exact Out-of-scope refused Latency
Untuned Qwen3-0.6B, gold tools 45.2% 66.2% 1/17 9/10 8.3 s
This model, gold tools (gold op + 9 distractors) 72.4% 91.4% 7/17 9/10 8.0 s
This model, retrieved tools (BM25 + synonyms, top 10) 57.1% 72.4% 6/17 9/10 7.6 s
  • Same decoding for every row: all rows use the same grammar-free decoding. With llama-server's tool grammar, the untuned model scored 39.0%.
  • Retrieval ceiling: with retrieved tools, the right op is in the top 10 for only 77.5% of queries, so retrieval caps that condition.
  • Latency: time goes mostly into prefilling the ~2k-token tool block.

Training

  • Data: 4,292 training and 185 validation records, synthetic and hand-written per op, validated against Drift's JSON schemas. The training and test sets were checked for leakage.
  • Method: Unsloth LoRA with r=32 and alpha=32 on all attention and MLP projections. 2 epochs, learning rate 2e-4 with a cosine schedule, effective batch 16, maximum length 4096, loss on completions only. Trained on a single T4 in about 1.5 h.
  • Final loss: training 0.020, validation 0.046.

Limitations

  • English only.
  • It only knows Drift's op surface as of November 2026.
  • It refers to the selected clip by track and index, and to ids only when they appear in the context or the query.
  • Ops whose arguments are nested objects hidden by the compact schema are under-trained: set_text styles, set_speed_curve, set_mask shapes and set_sequence.
  • Multi-step requests are weak (7/17).
Downloads last month
52
GGUF
Model size
0.6B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

6-bit

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

Model tree for CutWire-Studios/drift-command-qwen3-0.6b

Finetuned
Qwen/Qwen3-0.6B
Adapter
(794)
this model

Dataset used to train CutWire-Studios/drift-command-qwen3-0.6b