s4-micro

Failed its gate, fixed before training: published as a result, not for use. The gate, written in issue #1 before the run (there is no pre-registration document) and checked by scripts/s4-gate.py, asked for more than 0.55 on typed_decisions_bench. s4-micro scored 0.343, below s3-pico (0.382) and below the majority class (0.398). Numbers: BENCH.md, section skycmd-s4.

A 5.6M-parameter ternary decision model with free-text options, distilled from Qwen3.5-4B in one night. It is the first skycmd model trained for decisions in general rather than for games. It failed its gate and is published as a documented negative result and as a demonstration of the interface.

Architecture

The s3 architecture scaled to language (skycmd-s2 GGUF tag): a bidirectional encoder whose question and options form a static stream encoded once and cached, a looped weight-shared state stack with early exits (2, 4 and 6 block passes) and a calibrated exit threshold, options that never attend to each other, ternary weights trained with QAT. 2.4 MB in total.

Results

set s4-micro reference
typed-decisions bench 0.343 majority class 0.398, s3-pico 0.382, teacher 0.501, oscar-1-17m 0.6775
Banking77 (zero-shot, 8 options) 0.303 s3-pico 0.247
MASSIVE English (zero-shot, 8 options) 0.335 s3-pico 0.187

The s6 models' evaluation, on its newer record layout and at full depth (6 of 6 passes), reads 0.352 on the bench for the same file. ECE over all its test sets (the bench, Banking77, MASSIVE English and French, When2Call): 0.066. A fine-tuned 4.4M BERT-Tiny reaches 0.794 on Banking77: language pretraining (30 minutes of masked-language modelling from scratch here) was the missing piece, which led to s5-lite.

Limitations

Below the majority class on the bench. On the demos the tool router sends most requests to no_tool and the guardrail rarely flags violations. Use it to explore the interface (free-text options, calibrated probabilities, adaptive depth, abstention), not to make decisions.

Usage

Runs in the skycmd engine only (browser, Node, Python, CLI, server):

cargo install --git https://github.com/maxgfr/skycmd sky-serve
skycmd decide --model s4-micro.gguf --request req.json --pretty

The request format is the System One format described in the install guide.

Training

From scratch in Rust (mlx-rs) on an Apple M5: masked-language pretraining on SimpleStories, TinyStories and FineWeb snippets, then decision training on soft labels of Qwen3.5-4B (Apache-2.0, run locally on option letters, calibrated per group) mixed with gold labels, with deep improvement supervision over the exits and ternary QAT. Data: typed-decision sets, randomized label sets over web and story snippets, tool routing (glaive and hermes function calling), ticket triage (Bitext) and rule moderation (Civil Comments); Banking77 and MASSIVE held out for zero-shot evaluation. Licenses: DATA_LICENSES.md.

Files

  • s4-micro.gguf: ternary weights, tokenizer, temperatures and exit thresholds. 2,419,456 bytes, sha256 49956d1b6d11f772815c9f28bea2a85e5fe7313009ae519012baddc2653848d7.
Downloads last month
24
GGUF
Model size
2.21M params
Architecture
skycmd-s2
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

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

Spaces using maxgfr/s4-micro 3

Collection including maxgfr/s4-micro