Tally-0.8B

Tally-0.8B is a compact (~0.85B parameters), open-weights typed decision model built directly from stock Qwen/Qwen3.5-0.8B under Apache-2.0.

Instead of autoregressively generating text tokens, Tally-0.8B reads a state and one or more typed questions (choice up to 255 options, binary noul yes/no, or ordinal score) and returns temperature-calibrated probability distributions over all supplied options in a single prefill-only forward pass (0 generated tokens).

Architecture & Inference Spec

  • Backbone: Qwen3_5TextModel (24 layers = 18 Gated DeltaNet linear-attention layers + 6 full-attention layers; vision tower and 248K LM head stripped -> 1.50 GB in bfloat16).
  • Attention Mode (noncausal_full): All 6 full-attention layers attend bidirectionally over every non-pad token (4D boolean SDPA mask [B, 1, 1, T]), while the 18 linear-attention layers preserve causal recurrence over non-pad tokens.
  • Readout Head: nn.Linear(1024, 255, bias=False) (readout.safetensors) reading the final prompt position (last pooling) across 255 single-token option codes (A..Z, AA..JT).
  • Calibration: Scalar temperature T = 1.395145 fit post-selection on 3,709 strictly disjoint calibration decisions (0 overlap with training or checkpoint selection), stored in decision_config.json and applied automatically.
  • Declared Capacity: Text-only; 2โ€“255 options per choice question; up to 32,768 input tokens per encoded question (0 truncation โ€” requests exceeding capacity raise Unsupported / HTTP 422).

Evaluation Results

Decision Index 0.3 Public Suite (140,178 / 140,178 scoreable requests answered, 0 unsupported)

Area / Metric Weight Skill Score Raw Score Benchmarks
Decision Index (Public 0.3) 100.0% 42.40 57.41% 37
โ€” Breadth Skill (Geometric Mean) โ€” 39.10 โ€” 37
Tools & Automation 18.3% 65.39 68.72% 5
Retrieval & Classification 20.0% 59.77 69.07% 6
Language Understanding 25.8% 42.55 60.24% 9
Arts & Human Taste 10.0% 25.64 53.45% 6
Knowledge & Reasoning 25.8% 19.03 39.10% 11

Selected public benchmark highlights (chance-corrected skill / native raw):

  • BFCL: 85.82 skill (89.49% raw) ยท When2Call MCQ: 74.00 skill (80.50% raw) ยท API-Bank: 73.32 skill (73.82% raw) ยท ToolRet: 51.79 skill
  • BANKING77: 88.87 skill (89.01% raw) ยท CLINC150+OOS: 84.94 skill (85.03% raw) ยท HoVer: 64.30 skill (82.15% raw) ยท PhishNChips: 63.70 skill (81.85% raw)
  • FinEntity: 62.94 skill ยท ContractNLI: 62.82 skill (74.29% raw) ยท HellaSwag: 62.28 skill (71.71% raw) ยท VAST: 56.10 skill

Held-Out Internal & Out-of-Distribution Acceptance (acceptance-v1)

Split Rows Row Accuracy Group-Family Accuracy Calibrated NLL Calibrated ECE10
open_jev_ood (Unseen Task Families) 15,101 62.27% 60.01% 0.8157 9.25%
open_jev_test (In-Distribution Holdout) 9,750 59.79% 63.76% 0.9163 6.18%

Training Lineage & Anti-Leakage Governance

  • Cold-Start Clean Lineage: Trained directly from stock Qwen/Qwen3.5-0.8B (4,800 ร— 128 Stage-1 DDP + 16K Stage-2 validation/calibration), with hard per-row cumulative exposure capped at <= 6 across all pools.
  • Multi-Modal Leak Screening (leak-screen-report-v5.2): 100% of candidate training, selection, and calibration files were screened against 45 evaluation targets (0 surviving hits) across English 13-grams (distinct-passage DF), Chinese 20-char & short CJK stems, <13-word exact stems/URLs/symbolic expressions, Chess FEN4, structured numeric windows, and order/key-invariant MIDI pitch-set hashes (0 POP909 rows in training; music harmony trained strictly on JSB Chorales train split + algorithmic music-theory progressions).
  • 3-Panel Split Isolation: Zero overlap in row ID, source group, conversation turns, or >100-char candidate responses across Training, Selection, and Temperature Calibration panels.
  • Disclosed Boundaries: Effective training sequence lengths span up to 16K tokens (32K supported at inference via Qwen3.5 RoPE + linear-attention layers). Candidate-only blind MLP probing is bounded to <= 2.5pp over chance on K-tuple synthetic boosters and <= 28pp on open-vocabulary multiple-choice slices.

Quickstart

1. Installation & GPU Acceleration

pip install "torch>=2.5" "transformers>=4.57" safetensors huggingface_hub
# Strongly recommended on NVIDIA GPUs (18/24 layers are GatedDeltaNet linear-attention;
# fused Triton/CUDA kernels are >10x faster than the pure-PyTorch reference fallback):
pip install flash-linear-attention causal-conv1d
curl -sSLO https://huggingface.co/chen9z/Tally-0.8B/raw/main/tally_engine.py

2. Python SDK (tally_engine.py)

from tally_engine import TallyDecider

decider = TallyDecider("chen9z/Tally-0.8B")  # auto-selects cuda / mps / cpu
result = decider.decide(
    state="Ticket #402: Customer upgraded to Pro plan yesterday, charged twice on Visa ending 4412.",
    questions={
        "queue": {
            "type": "choice",
            "instructions": "Route this ticket to the appropriate team.",
            "criteria": {
                "billing_refund": "Billing & duplicate charge refunds",
                "tech_outage": "Infrastructure & API outage",
                "account_delete": "GDPR account deletion",
            },
        },
        "urgent_billing": {
            "type": "noul",
            "instructions": "Does this ticket report a duplicate payment?",
            "criteria": {"false": "No", "true": "Yes"},
        },
    },
)
print(result)

3. /v1/systemone HTTP Server

python tally_engine.py serve --model chen9z/Tally-0.8B --host 127.0.0.1 --port 8000

4. Reproducing the Decision Index 0.3 Run

pip install -e ".[transformers]" flash-linear-attention causal-conv1d
PYTHONPATH="/path/to/tally_dir" python -m decision_index pipeline \
  --edition 0.3 \
  --suite-dir suite-0.3 \
  --engine tally_engine:TallyEngine \
  --option model=chen9z/Tally-0.8B \
  --option max_input_tokens=32768 \
  --option token_budget=16384 \
  --out runs/Tally-0.8B
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

Model tree for chen9z/Tally-0.8B

Finetuned
(1,218)
this model