Run this model with HF Jobs

Run superbird-labs/a-01-function-caller on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/superbird-labs/a-01-function-caller. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/superbird-labs/a-01-function-caller on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/superbird-labs/a-01-function-caller. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/superbird-labs/a-01-function-caller. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

A-01 Function Caller

A-01 Β· Function Caller

superbird labs Β· Agent unit Β· 0.8B

Turns a phone request into the exact function calls, every name and argument in order. It finishes the whole command, not half of it.

Watch real runs  |  Docs and full recipe  |  Run it offline  |  All superbird models  |  Custom models for your company

Open source. Apache-2.0 weights, the full training recipe and the exact prompt are all public. Use it, ship it, retrain it.

Spec plate

Serial A-01 Β· 0.8B
Frame DA-24 Β· Qwen3.5 hybrid Β· 24 layers in a 3:1 rhythm: 18 gated DeltaNet (fast running memory) + 6 full attention (the deep look back), width 1024
Mission Turns a phone request ("turn on the flashlight and show me the library on the map") into the exact function calls a phone would run, across seven tools: flashlight, wi-fi settings, calendar, map, email, contacts and more.
Held-out requests 961, the whole eval split
Before β†’ after 74.2% β†’ 85.3% Exact match
Training 20 GRPO steps Β· one L40S Β· ~60 min
Recipe LoRA r16 Β· 32 requests Γ— 8 rollouts Β· answers up to 256 tokens Β· thinking off
Datasets google/mobile-actions (cc-by-4.0), 8,693 training requests

Reward: Google's own exact-match rule: every function name and every argument, in order, or 0. Nothing for half right.

Where it earns its keep

An on-device voice command layer Speech-to-text in, function calls out, no server round trip. Small enough for a phone.
Smart home and app intents Same idea, your tools: retrain on your function list and a few thousand requests.
Multi-step commands that finish It learned to do both halves of "do x and then y", which is where small callers usually stop.

Mission log

Real missions from the held-out set. Same question, before and after training.

Turn on the flashlight and show me the location of the Sunnyvale library on the map.

Before training:

turn_on_flashlight()

Does the first of two actions.

After, A-01:

turn_on_flashlight()
show_map(query="Sunnyvale Library")

Can you show me where the Wandering Page bookstore is located in Brooklyn?

Before training:

show_map(query="The Wandering Page bookstore")

Drops the location.

After, A-01:

show_map(query="The Wandering Page bookstore in Brooklyn")

Receipts

exact match (961 held-out)
Base Qwen3.5-0.8B 74.2%
step 20 (A-01) 85.3%
step 40 (longer run) 83.8%, more training didn't help

Greedy decoding, same prompt and budget as training, one run. The highlighted checkpoint ships.

Outside check. Plain transformers + peft on the first 48 held-out requests: base 72.9% β†’ 89.6%. Fixed 8, broke 0.

Scars

What it cost to get here, and what we learned.

  • The base did half the job. Two actions asked, one done. Most of the gain is it learning to finish the sentence.
  • More steps β‰  better. Step 40 scored lower. Keep step 20.

The prompt

Trained with this exact system prompt. Use it word for word: small models are picky.

Current date and time given in YYYY-MM-DDTHH:MM:SS format: 2024-09-15T17:35:19
Day of week is Sunday
You are a model that can do function calling with the following functions

Pass the tools with tools= in the chat template: turn_off_flashlight, open_wifi_settings, create_calendar_event, show_map, send_email, turn_on_flashlight, create_contact.

Pilot's manual

from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel

tok = AutoTokenizer.from_pretrained("Qwen/Qwen3.5-0.8B")
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-0.8B", torch_dtype="bfloat16")
model = PeftModel.from_pretrained(base, "superbird-labs/a-01-function-caller")

Pass the same seven tools with tools= in apply_chat_template, enable_thinking=False. Or surogate serve Qwen/Qwen3.5-0.8B with the adapter loaded at runtime.

Weak spots

  • Seven tools, the dataset's. A new tool needs new rows.
  • Dates are relative to the date in the dataset's system prompt.
  • Exact match is strict: one extra word in an argument counts as wrong.
  • One run, one seed.

Built with

One GPU and the open-source surogate engine (Apache-2.0). The whole kit (configs, environment, reward, walkthrough) is open, so you can rebuild this unit or point it at your own task: docs.surogate.ai/engine/examples/kits/phone. Also published as cetusian/mantix-0.8b.

The fleet

Serial Unit Mission Before β†’ after
L-01 l-01-document-extractor document β†’ the JSON your schema asks for 67.6% β†’ 87.8%
L-02 l-02-policy-guard written policy + message β†’ safe / unsafe 54.4% β†’ 78.1%
L-42 l-42-galaxy-guide explains anything, offline the guide
A-01 a-01-function-caller phone request β†’ exact function calls 74.2% β†’ 85.3%
A-02 a-02-database-agent questions answered through a live MCP database 48.4% β†’ 81.5%
A-03 a-03-solver countdown arithmetic, every step written 1% β†’ 69.5%

Nobody built a model for it. So we did.

superbirdlabs.com: open small models for every industry, free to run offline, and custom models built for companies. Docs | All models | Work with us | hello@superbirdlabs.com

Downloads last month
31
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for superbird-labs/a-01-function-caller

Adapter
(857)
this model

Dataset used to train superbird-labs/a-01-function-caller

Collection including superbird-labs/a-01-function-caller

Evaluation results

  • exact match on google/mobile-actions eval (961 requests)
    self-reported
    85.300