Request access to the Barbet 1B specialists

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Access is reviewed manually. Please say briefly who you are and what you plan to use the checkpoints for.

Log in or Sign Up to review the conditions and access this model content.

Barbet 1B specialists (RL fine-tunes)

Fifteen specialist checkpoints of Barbet 1B, a 1B-parameter language model for Traditional Chinese (Taiwan) and English with a native 1M-token context (29 layers: global attention plus Mamba layers, hidden size 1536).

Each specialist is the same SFT model (v6.7, step 5626) fine-tuned further with reinforcement learning on one group of program-checked task families: the tasks are generated on the fly, the model acts as a tool-using agent (one tool call per assistant turn), and a program decides whether the episode succeeded.

These are research checkpoints, not a finished assistant. Each one is narrow: it is better than the SFT model on its own task group and often worse elsewhere (see "Known problems"). They were trained as teachers for a later distillation into one model; that distillation has not been done.

Checkpoints

One folder per specialist; every folder is self-contained (weights, tokenizer, model code, loader).

Folder RL steps Stop reason Trained on
math 4000 converged arithmetic and word problems, no tool
ifeval2 2400 converged following formatting / length / keyword instructions
agent3 800 converged function calling
lookup2 1600 converged looking facts up in a knowledge base or registry
assist2 1200 converged general assistant replies
office3 800 converged files, workbooks and tables
analyst 1200 + 200 converged data analysis and shell-style tools
notes 1200 + 200 converged notes, multi-step tasks
context 1400 converged long-context tasks
catalog 800 converged picking the right tool out of a large catalogue
tools 4000 converged using a calculator / date tool to make up for weak arithmetic
reader 1600 step limit reading long documents and citing the source
caller 2800 step limit argument values, recovering from tool errors, multi-turn dialogue
extract 1600 converged structured extraction
memory 1000 interrupted, not converged remembering earlier turns of a long conversation

"Converged" means the training reward stopped improving under a fixed plateau rule; checkpoints were not picked by benchmark score. memory was stopped early by a machine problem and has no held-out evaluation. SOURCE.txt in each folder states the exact step.

Results

All numbers are success rates in %. The comparison models are Qwen3.5-0.8B and MiniCPM5-1B, run through the same harness in their own tool-call format.

Own held-out tasks (40 per family; entities, layouts and tool names not seen in training)

Task Specialist Barbet Qwen3.5-0.8B MiniCPM5-1B
date arithmetic with a tool tools 100 55 60
value lookup with a tool tools 100 22.5 0
summary with a tool tools 100 5 0
maths with a calculator tools 52.5 25 12.5
answer from a long document (strict: short reply required) reader 77.5 15 25
answer from two documents (strict) reader 75 0 0
say "not in the document" reader 32.5 37.5 45
answer with a citation reader 55 10 0
pick a tool from a catalogue catalog 45 42.5 55
dialogue: fill missing slots caller 57.5 35 12.5
dialogue: cancel caller 75 42.5 45
dialogue: resolve a reference caller 22.5 47.5 20
tool error: retry caller 82.5 20 0
tool error: stop on a fatal error caller 7.5 42.5 27.5
strict argument formats (7 families) caller 0–12.5 2.5–10 0–5
extraction: list extract 55 – –
extraction: fields extract 17.5 – –

The two "strict" document rows require a short reply; the comparison models usually answer correctly in a full sentence and fail only that check (ignoring it they score 70 / 55 on one document and 52.5 / 47.5 on two).

These tasks were written by the same people who trained the model, so they favour it; read them as "the skill was learned", not as a ranking.

Public benchmarks (best Barbet checkpoint / Qwen3.5-0.8B / MiniCPM5-1B)

Benchmark Barbet Qwen MiniCPM
ACEBench 17.5 18.4 18.9
HammerBench (zh) 15.9 14.8 19.0
HammerBench (en) 16.7 18.6 21.3
τ²-bench 18.0 40.0 37.3
BFCL multi-turn 0.6 7.0 6.9
AndroidControl 4.3 18.1 10.4
JSONSchemaBench 11.1 48.4 33.1
Multi-IF (en, turn 3) 4.5 20.3 37.4
GSM8K, no tool (math) 39.7 50.0 59.5
GSM8K, calculator (tools) 29.1 26.8 45.5

Benchmarks that need an LLM judge or a user simulator were run with local models instead of the official ones, so these numbers are not comparable with published leaderboards; they are only comparable with each other. No benchmark test data was used for training.

On public benchmarks Barbet is behind both comparison models almost everywhere. The general-ability score of the SFT model before RL is 46.6, against 51.2 and 53.7.

Known problems

  • Each specialist forgets abilities outside its group. tools solves 1.1% of GSM8K without a calculator (the SFT model: 25.6%).
  • agent3 and the checkpoints trained from it emit tool calls even when no tool is offered, and their JSON validity is lower than the SFT model's.
  • Multi-turn instruction following is the largest gap: by the third turn the model has forgotten earlier instructions.
  • caller got worse than the SFT model at stopping after an unrecoverable tool error.
  • Strict argument formats were not learned by any checkpoint.
  • Traditional Chinese quality and general knowledge are those of a 1B model: expect factual errors.

Usage

from huggingface_hub import snapshot_download
import sys

folder = snapshot_download("voidful/barbet-1b-specialists", allow_patterns="tools/*") + "/tools"
sys.path.insert(0, folder)
from load_barbet import load_barbet

model, tokenizer = load_barbet(folder, device="cuda:0")
  • Use load_barbet.py: weights are BF16 except the FP32 Mamba parameters, which must not be cast.
  • The model was trained with its own prompt renderer, not a standard chat template; see INFERENCE.txt in each folder. Prompts in another format give much worse results.
  • Requirements are in requirements-inference.txt (mamba-ssm and causal-conv1d need a matching CUDA build).

Intended use and limits

Research on small tool-using models, RL fine-tuning and distillation. Not for unsupervised use on anything that matters: the checkpoints make mistakes, can call tools with wrong arguments, and have had no safety evaluation.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support