Run this model with HF Jobs
Run apertixai/cerno-31b-v1 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/apertixai/cerno-31b-v1. 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/apertixai/cerno-31b-v1 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.
Instructions to use apertixai/cerno-31b-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apertixai/cerno-31b-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="apertixai/cerno-31b-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("apertixai/cerno-31b-v1") model = AutoModelForCausalLM.from_pretrained("apertixai/cerno-31b-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Configuration Parsing Warning:In config.json: "num_experts" must be a number
Cerno 31B v1
Jev-style System One decision model · 31B · one forward pass · calibrated probabilities · FP8 · read twice
Cerno 31B v1 · Cerno 27B v1.1 · Cerno 9B v1.2 · Cerno 4B v1.2 · Inference code · Decision Index runs
v1 (2026-11-22): the first Cerno at 31B. It is a fine-tune of Gemma-4-31B-it, served on stock vLLM in FP8 with read twice.
What it does
- Input: a state (any text or JSON) and a set of typed questions about it.
- Question types: multiple choice with explicit criteria (up to 255 options) and yes/no. This reader declares scored-scale questions unsupported; use the other Cerno models for those.
- Output: a probability for every option of every question, with no text generation.
- One row per question; the state is shared through vLLM's prefix cache.
- One forward step per row; all rows of a request go in one batch.
- Layout: the state is preceded by the list of every question of the request. One row per question, in the model's chat template with thinking off; the option labels' log-probabilities go through a softmax.
- Read twice: in a request of up to 3,000 tokens, the user turn is written twice, joined by "Read the same input again before answering:".
- Re-read: a question whose most likely option has probability under 0.6 is read once more with its options reversed, and the two distributions are averaged.
- Probabilities: per-question-type temperatures rescale them. They are the reader's own (no held-out fit for this model) and change no answer.
- Speed: 116 ms median and 503 ms mean per request on one H200, one request at a time.
The Cerno family
| Model | Base | Weights | Engine | Public index |
|---|---|---|---|---|
| Cerno 31B v1 | Gemma-4-31B-it | cerno-31b-v1 |
vLLM, FP8 | 71.45 |
| Cerno 27B v1.1 | Qwen3.8-27B | cerno-27b-v1.1 |
vLLM, FP8 | 69.73 |
| Cerno 9B v1.2 | Qwen3.5-9B | cerno-9b-v1.2 |
transformers, bf16 | 66.83 |
| Cerno 4B v1.2 | Qwen3.5-4B | cerno-4b-v1.2 |
transformers, bf16 | 65.05 |
- Public index: the complete public suite (37 benchmarks, 140,178 requests). It is run with the maintainers' kit at commit 9eb2dbe, through the public inference code and these weights.
- The board ranks by its Full score, on private tests run by the maintainers: the same skills (60%) and new domains (40%). The public index does not count toward it. v1's Full score is pending.
Results
| Metric | Cerno 31B v1 |
|---|---|
| Decision Index 0.3 public index, complete run | 71.45 |
| Strict-OOD | 70.54 |
| Train-split-OOD | 69.03 |
| Calibration error, board-style ECE | 2.6 pts |
How to read the rows
- Strict-OOD drops HLE, BANKING77, CLINC150 and HellaSwag, whose public train splits are common training data.
- Train-split-OOD drops every benchmark family whose public train split we used (listed under Training data).
- ECE is the board's definition: expected calibration error over a 1-in-6 sample of 34 benchmarks, equal weight per benchmark, with the reader's temperatures.
- Run-to-run noise on the public index is about 0.1-0.2 points. The public index is not the board's ranking.
Quick start
git clone https://github.com/apertixsk/cerno-inference && cd cerno-inference
pip install -r requirements-31b-v1.txt && export PYTHONPATH=$PWD:$PWD/third_party/decider
bash run_sample.sh apertixai/cerno-31b-v1 # reproduces 77 requests of our submitted run
The complete public suite, exactly as submitted:
python -m decision_index pipeline --edition 0.3 --engine evals.decision_index.engine_fdm:FlexDMEngine \
--option model=apertixai/cerno-31b-v1 --out runs/cerno-31b-v1
- Weights: FP8 (compressed-tensors, per-channel weight scales, dynamic per-token activation scales,
lm_headand embeddings in bf16), 34.9 GB. vLLM loads them with no extra option. One GPU with 80 GB or more at the shipped settings (gpu_memory_utilization 0.7, 131,072-token context); smaller GPUs need--optionoverrides of the vllm block. - Attention: causal, as stock vLLM serves Gemma 4.
- Software: vLLM 0.31.0 with torch 2.13.0 and transformers 5.17.0, as pinned in
requirements-31b-v1.txt. The settings are indecider_config.json(reader: flexdm), and the engine applies them.
Examples
Requests from our own evaluation set (not benchmark data), answered by this model through the public engine. Score questions are left out: this reader does not answer them.
Agent guardrail: should this tool call run without asking?
state = "rm -rf /tmp/build-cache-7f3a2e # user asked to clear the build cache before a rebuild"
questions = {
"destructive": {"type": "noul", "instructions": "Would executing this tool call delete, overwrite or irreversibly change data?"},
"matches_request": {"type": "noul", "instructions": "Is this tool call a reasonable way to do what the user asked?"},
"external_effect": {"type": "noul", "instructions": "Does this tool call affect people or systems outside the local machine (sends messages, moves money, publishes)?"}
}
| question | answer | probabilities |
|---|---|---|
destructive |
yes (0.97) | p(yes) = 0.97 |
matches_request |
yes (0.97) | p(yes) = 0.97 |
external_effect |
no (0.98) | p(yes) = 0.02 |
Support triage: a one-line customer message
state = "hey do u have showers at the downtown location"
questions = {
"kind": {"type": "choice", "instructions": "What kind of message is this?", "criteria": {"incident": "an outage or something broken in production", "billing": "invoices, charges, refunds", "account": "cancellations, plan changes, access", "feedback": "praise or suggestions", "spam": "unsolicited or scam", "other": null}},
"needs_human": {"type": "noul", "instructions": "Does this message need a human to respond rather than an automated reply?"}
}
| question | answer | probabilities |
|---|---|---|
kind |
other | other 0.94, feedback 0.01, account 0.01 |
needs_human |
no (0.83) | p(yes) = 0.17 |
Programmatic use, with the repository on PYTHONPATH:
from evals.decision_index.engine_fdm import FlexDMEngine
engine = FlexDMEngine(model="apertixai/cerno-31b-v1") # the reader settings from decider_config.json
response, _ = engine(state, questions) # every question of the request in one vLLM batch
Question types: choice (criteria = option descriptions, null for none) and noul (yes/no).
Serving and latency
- One H200, one process, one request at a time, on the kit's 400-request stratified sample: median / mean / p80 116 / 503 / 670 ms, p95 1,306 ms.
- The FP8 weights give the same answer as the bf16 weights on 3,156 of 3,165 (99.7%) of the sample's answer fields.
- Not measured on the board's reference hardware (one RTX PRO 6000).
Training data
Fine-tune of Gemma-4-31B-it.
Decontamination. No Decision Index test item and no HLE row was used. Every training record was screened at the item level against the 0.3 suite's requests, the medical stand-in we evaluate on, and the benchmarks' sibling datasets.
- Copies and near-copies of a test item were dropped.
- A training row may share only a source document or passage with a public test item, the same contract, premise or evidence, if its question or hypothesis differs. Those rows were audited: their question fields share no item-like 8-gram with the matched item.
- Shared task templates and boilerplate (instructions, label lists, tool catalogues) stay. They are the benchmarks' format.
Sources:
- A public instruction / classification mixture.
- The public TRAIN/DEV splits (never test rows) of these Decision Index benchmark families: BANKING77, CLINC150, ANLI, VAST, WinoGrande, GSM8K, HoVer, RAGTruth, ContractNLI, Humicroedit, Amazon ESCI, NLI4CT, When2Call, New Yorker caption matching, Home appliances, Habermas Machine comparisons.
- Synthetic decision items across many domains, written and labelled with an external teacher model,
DeepSeek-V4.1-Flash-1017 (MIT licence). Its answer distributions
are used as soft labels.
- Constructed items: phishing and legitimate emails, aspect-category-opinion-sentiment tuples, and murder-mystery and team-allocation narratives. MuSR's own generator built the narratives.
- For these, the construction's answer is the label.
- Procedurally generated items modelled on the formats of some public benchmarks (code execution, chord progressions, multi-label legal topics, reasoning puzzles), with no benchmark text.
The strict-OOD and train-split-OOD rows above drop the affected benchmarks.
Licence and credits
- Licence: Apache-2.0 (
LICENSE). - Base model: Gemma-4-31B-it, Apache-2.0. This model modifies its weights, as
NOTICEstates. For the base model, see its published pages: licence (Apache-2.0), terms of use, prohibited use and intended use. - Reader: the request layout, read twice and the per-type temperatures follow FlexDM-LoRA's served settings (MIT); read twice follows RE2 (Xu et al. 2023, arXiv 2309.06275).
- Labels: the training labels include outputs of DeepSeek-V4.1-Flash-1017 (MIT).
- Benchmark data stays under its own terms.
- Jev and System One are TypeSafe AI's names. This project is not affiliated with TypeSafe AI, with the Decision Index maintainers, or with the base model's developers.
- Downloads last month
- 34
Model tree for apertixai/cerno-31b-v1
Space using apertixai/cerno-31b-v1 1
Evaluation results
- public index, complete run on Decision Index 0.3 public suiteself-reported71.450