Vox Mens 9B — Desktop & Server Model for Multi-Step Vox Workflows
Vox Mens 9B is trained for vox-lang (release check: passed).

Diagram (9B): parallel workflow and base-leader pipeline — multi-step state_machine and workflow tasks run alongside vox check repair loops on a desktop or server GPU, where unadapted 9B also leads tool-calling and Rust benchmarks.
| Model | Held-out pass@1 (9B) | Weights (9B) | License | Live Demo |
|---|---|---|---|---|
| Vox Mens 9B | 9/52 (17.3%) → 40/52 (76.9%) | Standalone Safetensors + PEFT | apache-2.0 | Open 9B Playground |
What it does
Vox Mens 9B writes and fixes Vox (.vox), a full-stack language where one file defines database tables, backend queries and mutations, web UI components, and workflows that compile to Rust and TypeScript. Because Vox is newer than mainstream languages, general-purpose AI models often guess Rust or TypeScript syntax that fails to compile; Vox Mens 9B is fine-tuned on verified .vox examples so you can generate and repair Vox locally on Windows, Linux, or Mac (Ollama, vLLM, Python, or vox mens serve) or through Hugging Face Inference Providers without paying large cloud API rates on every prompt.
Why this size
Vox Mens 9B targets desktop GPUs, higher-memory laptops, and hosted inference endpoints where stronger multi-function accuracy matters most. Pick 9B for complex workflows, state machines, multi-handler files, and stubborn type errors that smaller local models miss. Use 4B when you want snappier local edits, step up to 27B for maximum private accuracy, and pair with a cloud model for cross-repository planning. Measured QLoRA peak memory during the 9B run was 45865 MiB (run_summary).
Use it
Query Vox Mens 9B immediately over Hugging Face Inference Providers (:auto or :featherless-ai) with any OpenAI-compatible client:
from openai import OpenAI
client = OpenAI(base_url="https://router.huggingface.co/v1", api_key="$HF_TOKEN")
resp = client.chat.completions.create(
model="brbrainerd/vox-mens-qwen3.5-9b:auto", # or "brbrainerd/vox-mens-qwen3.5-9b:featherless-ai"
messages=[{"role": "user", "content": "Write a Vox table and query for open tasks."}],
)
print(resp.choices[0].message.content)
Run Vox Mens 9B locally with Ollama or serve high-throughput batches via vLLM:
ollama run hf.co/brbrainerd/vox-mens-qwen3.5-9b
vllm serve brbrainerd/vox-mens-qwen3.5-9b
Download the BLAKE3-verified Vox Mens 9B standalone checkpoint (hf_sync_manifest.json, or pull files directly from the Files tab) and serve it natively via vox mens serve:
vox mens hub download --repo brbrainerd/vox-mens-qwen3.5-9b --output-dir mens/runs/qwen3.5-9b
vox mens serve --model mens/runs/qwen3.5-9b --port 11435
Load Vox Mens 9B directly with transformers using enable_thinking=False:
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("brbrainerd/vox-mens-qwen3.5-9b")
model = AutoModelForCausalLM.from_pretrained("brbrainerd/vox-mens-qwen3.5-9b", dtype="auto", device_map="auto")
prompt = tok.apply_chat_template(
[{"role": "user", "content": "Write a Vox hello-world function."}],
tokenize=False,
add_generation_prompt=True,
enable_thinking=False,
)
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=256)
print(tok.decode(out[0], skip_special_tokens=True))
Or mount the lightweight Vox Mens 9B LoRA weights (subfolder="peft") onto Qwen/Qwen3.5-9B:
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-9B", dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(base, "brbrainerd/vox-mens-qwen3.5-9b", subfolder="peft")
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3.5-9B")
This request sends the user turn of held-out item humaneval_vox_042_reverse_list to the 9B server, which applies its codegen lane to it.
curl -s http://127.0.0.1:11435/v1/chat/completions -H 'Content-Type: application/json' -d @- <<'JSON'
{
"lane": "codegen",
"messages": [
{
"role": "user",
"content": "Write a Vox program that: Return a new list with the elements in reverse order."
}
],
"max_tokens": 1024,
"temperature": 0.0
}
JSON
Compiler-verified Vox Mens 9B output recorded on held-out task humaneval_vox_042_reverse_list under qwen3_non_thinking_codegen_v1:
fn reverse_list(xs: list[int]) to list[int] {
let mut rev: list[int] = []
let mut i: int = xs.len() - 1
while i >= 0 {
rev = rev.push(xs[i].unwrap())
i = i - 1
}
return rev
}
Vox and Python
Beginners can write and run their first full-stack .vox file alongside Vox Mens 9B in under a minute, or call brbrainerd/vox-mens-qwen3.5-9b from Python and Rust.
Try Vox in 60 seconds (9B)
Vox keeps your schema, backend queries, mutations, and helpers in one compiler-checked file so Vox Mens 9B can edit an entire feature coherently:
table Note {
title: str
done: bool
}
query list_notes() to Result[list[Note], str] {
return db.Note.all()
}
mutation add_note(title: str) to Result[int, str] {
return db.Note.insert({ title: title, done: false })
}
fn format_status(done: bool) to str {
if done { return "done" }
return "open"
}
Type-check and execute your program locally while Vox Mens 9B assists in the same workspace:
vox check main.vox
vox run --interp main.vox
vox llm prompt "Add an archive mutation to main.vox"
Use 9B from Vox and Rust
Because even 27B is smaller than massive commercial cloud models, Vox projects commonly use a large cloud model for high-level planning while routing .vox file generation and vox check fixes to brbrainerd/vox-mens-qwen3.5-9b (locally or via Hugging Face Router) through vox_actor_runtime::llm::llm_chat:
export HF_CHAT_MODEL="brbrainerd/vox-mens-qwen3.5-9b"
export HF_TOKEN="hf_your_token_here"
export VOX_POPULI_LOCAL_OLLAMA_URL="http://127.0.0.1:11435"
use vox_actor_runtime::inference_env::resolve_huggingface_router;
use vox_actor_runtime::model_resolution::{RouteResolutionInput, resolve_chat_provider_route};
// Keep ambiguous cross-repo planning on your frontier cloud route, and delegate
// .vox handlers, tests, and `vox check` repair loops to brbrainerd/vox-mens-qwen3.5-9b:
let mens_specialist = resolve_huggingface_router("brbrainerd/vox-mens-qwen3.5-9b");
Use 9B from Python
Call brbrainerd/vox-mens-qwen3.5-9b with the standard openai Python SDK through Hugging Face Inference Providers or a local vox mens serve endpoint:
import os
from openai import OpenAI
# Cloud inference via Hugging Face Router (:auto selects the fastest available host)
client = OpenAI(
base_url="https://router.huggingface.co/v1",
api_key=os.environ["HF_TOKEN"],
)
# Or target your local machine after running `vox mens serve`:
# client = OpenAI(base_url="http://127.0.0.1:11435/v1", api_key="local")
reply = client.chat.completions.create(
model="brbrainerd/vox-mens-qwen3.5-9b:auto",
messages=[{"role": "user", "content": "Write a Vox query that returns open Note rows."}],
)
print(reply.choices[0].message.content)
Manage Python dependencies inside a Vox project for Vox Mens 9B using [python] in Vox.toml and vox py:
# Vox.toml
[python]
version = "3.12"
packages = ["openai", "transformers", "peft"]
vox py sync
vox py doctor
vox py bind openai
Generate a typed Python client from a Vox service API built with Vox Mens 9B using OpenAPI:
vox emit openapi src/main.vox --out dist/openapi.json
openapi-python-client generate --path dist/openapi.json
Examples
For 9B, the examples are 2 held-out tasks Vox Mens 9B fixes over the base model; of 52 items it fixes 33 and breaks 2.
Fixed test_smoke
write a test named `smoke` that calls `add(1, 2)` and asserts the result equals 3
Unadapted 9B base on test_smoke: type errors (count 1).
@test fn smoke() to Unit {
let res = add(1, 2)
assert(res == 3)
}
Vox Mens 9B on test_smoke: passes.
// ---
// title: "AI Assistant Example"
// description: "AI assistant with tool calling and streaming response."
// syntax_version: "0.5.0"
// status: golden
// category: example
// constructs: [fn, tool, match, if, str, print]
// last_validated: 2026-05-13
// training_eligible: true
// training_weight: 1.0
// difficulty: advanced
// ---
// @training_prompt: Write a Vox AI assistant that can call tools and stream responses.
// ANCHOR: display
fn add(a: int, b: int) to int {
return a + b
}
tool "search: Search the web for a query" search(query: str) to str {
return "Found results for: " + query
}
fn ai_assistant() to str {
let result = add(1, 2)
return "The sum is " + str(result)
}
// ANCHOR_END: display
@test
fn smoke() to Unit {
assert(add(1, 2) is 3)
}
Fixed workflow_fetch_save
define a workflow named `fetch_and_save` that fetches data from a URL stored in a variable `url` and saves the result to a variable `data`
Unadapted 9B base on workflow_fetch_save: does not parse (count 3).
import std.net
import std.io
type FetchResult {
status: int
body: str
}
type SaveResult {
success: bool
message: str
}
fn fetch(url: str) to Result<FetchResult, std.net.Error> {
let response = std.net.get(url)
match response {
Ok(r) => {
let status = r.status()
let body = r.body()
return Ok(FetchResult(status: status, body: body))
}
Err(e) => Err(e)
}
}
// ... [20 more lines omitted; full output in evidence/]
Vox Mens 9B on workflow_fetch_save: passes.
activity fetch_data(url: str) to Result[str] {
return Ok(url)
}
workflow fetch_and_save(url: str) to Result[str] {
let data = fetch_data(url)?
return Ok(data)
}
Results
How to read 9B results: Held-out pass@1 measures how often 9B writes valid, compiling .vox code on unseen tasks on the first try; collateral accuracy checks that Vox fine-tuning did not hurt 9B's general math or reasoning (a p-value below 0.05 flags a statistically real drop).
| Result for 9B | Held-out pass@1 | Collateral accuracy | McNemar p-value |
|---|---|---|---|
| Base 9B | 9/52 (17.3%) | — | — |
| Vox Mens 9B | 40/52 (76.9%) | — | — |
| gsm8k_think, 128 items, 9B (base then Vox Mens) | — | 0.844 then 0.828 | 0.4225 |
| math500_think, 128 items, 9B (base then Vox Mens) | — | 0.508 then 0.625 | 0.9992 |
| vox_think, 128 items, 9B (base then Vox Mens) | — | 0.516 then 0.914 | 1.0000 |
The 9B rows compare the unadapted base checkpoint with Vox Mens 9B on identical items, and a slice p-value below 0.05 would mean the model lost ground on that slice.
The release gate record for 9B is gate_receipt.json.
How 9B fits into the Vox Mens spokes
| Spoke (9B) | Status (9B) | What was tested & why it routes this way (9B) |
|---|---|---|
vox-lang (9B) | Published adapter | Vox Mens 9B adapter passed compiler and reasoning checks and serves .vox coding. |
harness (9B) | Uses base model (gate held adapter) | The unadapted 9B base solves 61/72 (84.7%) of multi-turn tool tasks; the fine-tuned adapter (57/72, 79.2%) scored lower, so the quality gate keeps routing to the base model. |
rust (9B) | Uses base model (gate held adapter) | The unadapted 9B base solves 30/40 (75.0%) of standalone Rust coding tasks; the fine-tuned adapter (23/40, 57.5%) scored lower on compile-and-test checks, so the quality gate keeps routing to the base model. |
For 9B, our quality gate only ships a specialist adapter when it clearly beats the base model on live tests, so unadapted 9B weights stay active for harness and rust until an adapter proves a real gain.
Training (9B)
Vox Mens 9B fine-tunes base pin Qwen/Qwen3.5-9B@c202236235762e1c871ad0ccb60c8ee5ba337b9a over 294 optimizer steps (3982244 tokens), ended with a final loss (EMA) of 0.1352, a mean train loss of 0.3458 and a last-epoch validation loss of 0.3511; the 9B run took 13h 25m and peaked at 45865 MiB from Vox commit 9db0bca49 (shared settings: docs page).
Files (9B)
The 9B repository holds the standalone merged checkpoint (config.json, model-00001-of-00004.safetensors, model-00002-of-00004.safetensors, model-00003-of-00004.safetensors, model-00004-of-00004.safetensors, model.safetensors.index.json, tokenizer.json, tokenizer_config.json) built by vox mens merge-qlora, exported PEFT adapter files under peft/, raw candle_qlora_adapter.safetensors, tokenizer and chat_template.jinja, .eval_results/vox_mens_eval.yaml, external_serving_handoff_v1.json, training and gate manifests and records, evidence/, and hf_sync_manifest.json with the BLAKE3 hash of every file.
This card is generated by vox mens hub sync; the ladder index lists the other sizes and how the cards are made is on the docs page.