sublayer-orchestrator-4b
sublayer-orchestrator-4b is a 4B-parameter fine-tuned model based on Qwen/Qwen3.5-4B, trained for multi-step orchestration, tool-use planning, and structured refusal/error handling.
Model Details
- Developed by: Sublayer AI (
sublayerAI) - Base Model:
Qwen/Qwen3.5-4B(Qwen3_5ForCausalLM) - Parameters: ~4B (
Safetensors,8.41 GB) - License: Apache 2.0
Evaluation
Evaluated in a controlled comparison against untouched Qwen/Qwen3.5-4B on a held-out, tool-name-disjoint frozen test set:
- Primary Endpoint:
strict_task_pass(parse + schema + exact tool sequence + exact arguments, or correct refusal) - Secondary Endpoints: Tool selection, argument correctness, controlled schema execution, multi-step completion, and refusal/error detection
- Full Controlled Evaluation Report: Orchestrator-4B — Controlled Evaluation Report (replace with your exact GitHub URL or local HF repo path)
| Metric | Qwen/Qwen3.5-4B (Base) | Orchestrator-4B |
|---|---|---|
strict_task_pass | — | — |
| Tool Selection | — | — |
| Argument Correctness | — | — |
| Multi-Step Completion | — | — |
| Refusal / Error Detection | — | — |
Quickstart
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "sublayerAI/sublayer-orchestrator-4b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
)
messages = [
{"role": "system", "content": "You are a helpful orchestration assistant."},
{"role": "user", "content": "Break down this task and choose the right tools to execute it."},
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
)
inputs = tokenizer([text], return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))