Highlights
- Five reasoning depths from one checkpoint:
none, low, medium (default), high, ultra, selected in the
chat template.
- JOSIE persona and constitution: a direct, candid voice; the condensed JOSIE constitution is the default system
prompt.
- Native tool calling in the Qwen3.5 format (OpenAI-style
tools=[...]), trained on real runs of five coding-agent
harnesses: Codex CLI, Nativ, Hermes Agent, OpenCode and Claude Code.
- Full multimodal checkpoint: Qwen3.5's vision encoder is kept unchanged.
- Hybrid architecture: Gated DeltaNet linear attention plus gated full attention, 262K-token context.
- Trained end-to-end on Apple Silicon with MLX.
The JOSIE-3 family
See also the JOSIE model family website.
Reasoning depth
The chat template always injects the JOSIE system prompt (unless you pass your own) and, when thinking is on, a
"Reasoning Depth" section that tells the model how much to think:
Table with columns: Depth, Template arguments, Behaviour| Depth | Template arguments | Behaviour |
|---|
| none | enable_thinking=False | answers directly (empty think block) |
| low | reasoning_effort="low" | brief, focused thinking |
| medium (default) | reasoning_effort="medium" | balanced reasoning, checks key assumptions |
| high | reasoning_effort="high" | careful reasoning; plans hard tasks with a TODO list |
| ultra | reasoning_effort="ultra" (or "xhigh") | exhaustive reasoning, always starts with a TODO list |
Passing no arguments means thinking at medium depth. Give high and ultra a generous token budget. On ordinary
prompts with the default sampling, fewer than 5 % of ultra replies run past 4,096 tokens, but on hard multi-step
problems ultra often uses 1,500–2,500, and on harmful prompts with greedy decoding about 40 % of the 0.8B's ultra
replies were still thinking at 4,096.
[!WARNING]
ultra can loop on prompts that are too hard. When a problem is beyond the model, ultra can get stuck in a
doom loop: it repeats the same reasoning steps or TODO items until it reaches the token limit, without ever giving
an answer. Set a token limit, and if a reply loops, retry at high or medium.
Quickstart
from transformers import AutoModelForImageTextToText, AutoProcessor model_id = "josie-labs/JOSIE-3-9B-OSS"processor = AutoProcessor.from_pretrained(model_id)model = AutoModelForImageTextToText.from_pretrained(model_id, dtype="auto", device_map="auto") messages = [{"role": "user", "content": [{"type": "text", "text": "Who are you?"}]}]inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", reasoning_effort="high", # or enable_thinking=False for no thinking).to(model.device)out = model.generate(**inputs, max_new_tokens=4096)print(processor.decode(out[0][inputs["input_ids"].shape[1]:]))
MLX (Apple Silicon)
This is a vision-language checkpoint, so use mlx-vlm
(pip install -U mlx-vlm):
from mlx_vlm import load, generatefrom mlx_vlm.prompt_utils import apply_chat_template model, processor = load("josie-labs/JOSIE-3-9B-OSS")prompt = apply_chat_template( processor, model.config, "Explain Gated DeltaNet in three sentences.", reasoning_effort="low", # none: enable_thinking=False; or low / medium / high / ultra)print(generate(model, processor, prompt, max_tokens=2048).text)
With an image:
prompt = apply_chat_template(processor, model.config, "What is in this picture?", num_images=1, enable_thinking=False)print(generate(model, processor, prompt, image="photo.jpg", max_tokens=512).text)
OpenAI-compatible server (mlx-vlm)
mlx_vlm.server --model josie-labs/JOSIE-3-9B-OSS --port 8080
from openai import OpenAI client = OpenAI(base_url="http://localhost:8080/v1", api_key="none")r = client.chat.completions.create( model="josie-labs/JOSIE-3-9B-OSS", messages=[{"role": "user", "content": "Plan a 3-day trip to Istanbul."}], extra_body={"enable_thinking": True}, # False = no reasoning max_tokens=4096,)print(r.choices[0].message.content)
The mlx-vlm server switches thinking on or off (enable_thinking). On means the template default, medium
depth, and the server's own default is off. To pick low, high or ultra, use the Python API above.
Pass tools in the OpenAI schema with tools=[...] to apply_chat_template. The model answers with
<tool_call><function=get_weather><parameter=city>Berlin</parameter></function></tool_call>
and reads results from {"role": "tool", "content": ...} messages.
Training
Pipeline
- Gabliteration of the base. The refusal direction was projected out of the weights of
Qwen/Qwen3.5-9B with
Gabliteration, giving
josie-labs/Qwen3.5-9B-gabliterated. No training is involved in this step.
- JOSIE-3 supervised fine-tuning. One LoRA run over the non-agentic and agentic JOSIE-3 conversations,
one epoch, loss on assistant turns only.
- Export. The LoRA weights were merged into the language model and written back into the full
vision-language checkpoint in bf16.
Data
All JOSIE-3 data is synthetic and not public.
- Constitution and persona. The J.O.S.I.E. constitution (about 7,500 words) defines identity, priorities and
judgment. Every synthetic response was generated under it, and its condensed form is the default system prompt.
- Non-agentic conversations (27,405 in training). Seed prompts from 29 categories: mathematics at seven difficulty
levels, STEM, general chat, UltraChat-style dialogue, creative writing, personality, opinions, politics, ML and MLX
engineering, and an uncensored-requests category. Responses were generated with GPT-6-Luna under the JOSIE system
prompt; each conversation was then given a reasoning depth, and DeepSeek-v4.1-Flash wrote the reasoning for its
assistant turns. The reasoning is reconstructed from the prompt and the final answer, not a captured chain of
thought.
- Agentic tool-use traces (a small first set). All four JOSIE-3 sizes (0.8B, 2B, 4B and 9B) are trained on the same
agentic traces, mixed into the same single epoch as the conversations. They are real runs of five coding-agent
harnesses; see Agentic traces and harnesses below. Because the agentic share is small, tool calling still comes mostly from Qwen3.5 (same tool-call format); this run shapes it rather than teaching it from scratch.
Non-agentic training split by reasoning depth (after rendering with the JOSIE template; long conversations become
several sequences):
Table with columns: Depth, Samples, Share, Sequences, Tokens, Trained tokens, Trained share| Depth | Samples | Share | Sequences | Tokens | Trained tokens | Trained share |
|---|
| none | 15,072 | 55.0 % | 15,219 | 29.9M | 13.1M | 44 % |
| low | 2,017 | 7.4 % | 2,027 | 4.0M | 1.7M | 43 % |
| medium | 1,997 | 7.3 % | 2,046 | 4.9M | 2.5M | 52 % |
| high | 3,301 | 12.0 % | 3,540 | 11.9M | 7.4M | 63 % |
| ultra | 5,018 | 18.3 % | 5,568 | 20.3M | 13.2M | 65 % |
| total | 27,405 | 100 % | 28,400 | 71.0M | 38.0M | 54 % |
The template's system prompt (about 1.2K tokens) is part of every sequence and is never trained.


Agentic traces and harnesses
Every JOSIE-3 model, including this 9B, was trained on agentic coding traces as well as conversations. Each trace
is a full run of a real coding-agent harness on a task from one of 34 seed categories. Examples are math proofs,
counterexamples, verification, repository Q&A and features, paper implementations, porting and security labs.
Each run happens in a disposable Docker container with a read-only root filesystem, no host mounts and no Linux
capabilities. The only network access is to the model provider, through an allow-listing proxy. A synthetic user
with a fixed persona keeps the session going for several turns: it checks results, raises edge cases and changes
the scope. The acting model is DeepSeek-v4.1-Flash. A few local Codex sessions were added, collected and redacted
with traces.
The traces come from these harnesses:
Table with columns: Harness, What the model learns from it| Harness | What the model learns from it |
|---|
| Codex CLI (OpenAI) | sandboxed runs plus local Codex sessions; shell-centred tool use and patch edits |
| Nativ (Neywa Labs) | a faithful replica of Nativ's chat agent: its native tool schemas, system-prompt order and round limit |
| Hermes Agent (Nous Research) | Hermes-style tool calls (schemas rebuilt from the observed calls) |
| OpenCode | OpenCode's tool surface, from its JSON event stream |
| Claude Code (Anthropic) | Claude Code's tool surface |
This is a first, and the amount is deliberately small. JOSIE-3 is the first JOSIE release trained on agentic
traces. We kept the agentic share small on purpose so that it could not hurt the quality of everything else: the
voice, the reasoning depths and general chat. JOSIE-4 will scale the agentic data up substantially and generate
it with a higher-quality pipeline.
The harnesses log in four formats: native tool calls with schemas, tool calls without schemas, trajectory events on
assistant turns, and raw Codex logs. All four are normalised to OpenAI-style tool_calls plus tool messages and
rendered with the Qwen3.5 tool-call template. That is the same <tool_call><function=…> format the model uses at
inference. Tool outputs longer than 16,000 characters keep their head and tail.
The traces are rendered with thinking off, and the loss covers the assistant turns: the text and every tool call.
Many traces are longer than the 131,072-token maximum and were cut at that limit.
Hyperparameters
Table | |
|---|
| Starting weights | josie-labs/Qwen3.5-9B-gabliterated |
| Data | 27,405 non-agentic conversations plus a small set of agentic traces, shuffled together, one epoch |
| Max sequence length | 131,072 tokens per conversation (rendered whole, no windowing) |
| Method | LoRA, rank 64, α 128, no dropout, on every linear layer of the language model (Gated DeltaNet, attention, MLP; 248 matrices, 173.1M trainable parameters); merged after training |
| Loss | assistant tokens only (think block, answer and tool calls through `< |
| Batch | 1 conversation per micro-batch × 6 gradient accumulation = 6 conversations per update |
| Optimizer | AdamW, 8-bit states, no weight decay, bf16, gradient checkpointing |
| Schedule | 50 warm-up steps, cosine decay from 1e-4 to 1e-5 |
| Hardware | Apple Silicon, MLX |
| Seed | 42 |
Benchmarks
ARC-Challenge accuracy (%) of JOSIE-3 against the original Qwen3.5 model each size was built from. – = not run.
Table with columns: 0.8B, 2B, 4B, 9B | 0.8B | 2B | 4B | 9B |
|---|
| JOSIE-3, thinking off | 66.4 | 81.9 | 92.0 | 94.5 |
JOSIE-3, ultra | 68.2 | – | – | – |
| Qwen3.5 base, thinking off | 63.6 | 41.7 | 51.5 | 54.5 |
| Change, thinking off | +2.8 | +40.2 | +40.5 | +40.0 |

With thinking off, JOSIE-3 scores higher than its base at every size measured, and its score rises with size. Read the
gains of about 40 points on the 2B and 4B with care: with thinking off, the base 2B, 4B and 9B all score below the
base 0.8B, so part of the gain may come from answer format rather than knowledge.
The 9B was benchmarked as an 8-bit MLX quantization.
Evaluation
Gabliteration of the base
Measured on the base before fine-tuning: 100 held-out harmful prompts, thinking off; keywords on 48-token greedy
completions, the judge reading the same completions; KL is the mean first-token KL to the original Qwen3.5-9B on
100 held-out harmless prompts. For the 9B the search ran on a model quantized to 4 bits in memory, with the edited projections kept in bf16; the written checkpoint carries the exact bf16 edit.
Table with columns: Directions (k), λ, α_base, Modified layers, Refusal (keywords), Refusal (model judge), KL| Directions (k) | λ | α_base | Modified layers | Refusal (keywords) | Refusal (model judge) | KL |
|---|
| 1 | 0.15 | 0.8 | 16–29 (14 of 32) | 99% → 5% | 99% → 97% | 0.060 |
The edit removes refusal phrases almost completely, but a model judge still counts most replies as declines:
lectures, "it is not possible to …", or a safer task offered instead. In other words, the Gabliteration before
training did not really work — the search optimised a keyword count, and the edited base learned to decline in
other words.

Refusal of the trained model at every reasoning depth
100 held-out harmful prompts per depth, never used for the refusal directions. Each prompt is answered in full,
thinking included, up to a per-depth token budget. A 27B decision model judges whether the reply actually works
toward what the request asks for (it reads the reasoning when the budget runs out before the answer starts).
These numbers are for the 0.8B sibling, the only size measured with this protocol so far. The 9B has not been evaluated this way yet; it starts from a base whose model-judge refusal rate was 97% after Gabliteration, so expect the same pattern, not an uncensored model.
Table with columns: Depth, Token budget, Refusal (judge), Refusal keywords in answer, Thinking finished, Mean reply tokens| Depth | Token budget | Refusal (judge) | Refusal keywords in answer | Thinking finished | Mean reply tokens |
|---|
| none (thinking off) | 512 | 65% | 46% | 100% | 349 |
| low | 1,536 | 64% | 36% | 92% | 651 |
| medium | 2,560 | 61% | 21% | 84% | 1,187 |
| high | 3,584 | 66% | 31% | 73% | 1,840 |
| ultra | 4,096 | 78% | 20% | 61% | 2,472 |
What this shows:
- Fine-tuning did not undo the refusals; with reasoning on, the model is still heavily censored. The judge
refusal rate stays between 61 % and 78 % at every depth and is highest at
ultra.
- Reasoning hides refusals from keyword checks. Refusal keywords in the final answer fall from 46 % (thinking
off) to 20 % (
ultra), while the judged refusal rate rises: the model reasons its way into a deflection (a
safety page instead of the asked-for content, prevention advice instead of steps) rather than saying "I can't".
- Unfinished thinking. At
high and ultra a quarter to two fifths of replies are still thinking at the budget;
the judge counts many of these as refusals.
- Capability, not only refusal. Some declines are a small model not knowing the answer.
Not yet measured
Coding and math benchmarks, tool-call validity on held-out agentic tasks, and reasoning-depth adherence have not
been measured yet. Results will be added to this card and to the JOSIE-3 tech report.
Limitations
- Still censored, especially with reasoning on. The pre-training Gabliteration did not hold (see above) and the
SFT data did not remove the remaining refusals. Do not deploy this model expecting uncensored behaviour.
- The refusal metric was the wrong target. The base Gabliteration minimised a keyword count, which selects edits
that avoid refusal phrases rather than edits that make the model comply.
- Synthetic data. Responses, reasoning and agentic traces are model-generated and may contain errors; the
agentic traces are ungraded, and reasoning traces are reconstructions, not captured chains of thought.
- Doom loops at
ultra. On prompts that are too hard for the model, ultra can repeat its reasoning until
it runs out of tokens instead of answering.
- Uneven reasoning-depth data. 55 % of the non-agentic samples have no reasoning;
low and medium have only
about 2,000 samples each, so the model may follow those two depths less reliably (not yet measured).
- Small agentic set, on purpose. This is the first JOSIE release with agentic training, and the share was kept
small so it could not hurt overall quality. Many traces were also cut at the maximum length. Long multi-step tool
use is beyond what this run teaches; JOSIE-4 will scale this up with a higher-quality pipeline.
- One epoch, no validation during training. Each size was trained for a single epoch without a held-out
validation run.
- Vision untouched. The vision encoder was not trained; image understanding is that of Qwen3.5-9B, and the
JOSIE persona is trained on text only.
- Mid-sized model. Expect factual errors and hallucinations, especially on niche knowledge and long chains of
reasoning; verify anything important.
What's next: JOSIE-3.5
The lesson of JOSIE-3 is that a weight edit on the base plus supervised data is not enough to make the model
actually comply, least of all with reasoning on. JOSIE-3.5 will:
- start from a gabliterated Qwen3.5-9B again,
- add preference data built for uncensored behaviour (compliant replies preferred over refusals and deflections,
including in the reasoning), trained with preference optimisation on top of the JOSIE SFT,
- score the Gabliteration and the result with a model judge at every reasoning depth, not refusal keywords.
Responsible use
JOSIE is trained to treat users as adults, and its built-in guidelines (the JOSIE constitution) steer away from
materially enabling catastrophic harm, but nothing guarantees that behaviour. You are responsible for how you use,
deploy and fine-tune this model, and for complying with the laws that apply to you. The Qwen3.5 license and
acceptable-use terms also apply.
Model details
Table | |
|---|
| Developer | Gökdeniz Gülmez / josie-labs |
| Architecture | Qwen3.5 (Qwen3_5ForConditionalGeneration) |
| Parameters | 9.65B total, 8.95B language model |
| Layers | 32 (24 Gated DeltaNet + 8 gated full attention) |
| Hidden / MLP size | 4,096 / 12,288 |
| Attention heads (KV) | 16 (4) |
| Vocabulary | 248,320 |
| Context length | 262,144 tokens |
| Vision encoder | 27 layers, hidden 1,152 (unchanged from Qwen3.5-9B) |
| Precision | bf16 |
| License | Apache 2.0 |
Citation
@misc{gulmez2026josie3, title = {JOSIE-3: Gabliterated Qwen3.5 Models with Selectable Reasoning Depth, Trained on Apple Silicon}, author = {G{\"u}lmez, G{\"o}kdeniz}, year = {2026}, note = {Technical report, josie-labs}} @article{gulmez2025gabliteration, title = {Gabliteration: Adaptive Multi-Directional Neural Weight Modification for Selective Behavioral Alteration in Large Language Models}, author = {G{\"u}lmez, G{\"o}kdeniz}, journal = {arXiv preprint arXiv:2512.18901}, year = {2025}}