Run this model with HF Jobs

Run Remek/basal-omni-2.0-max 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 and TRL to fine-tune https://huggingface.co/Remek/basal-omni-2.0-max. 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/Remek/basal-omni-2.0-max 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/Remek/basal-omni-2.0-max. 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/Remek/basal-omni-2.0-max. 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.

basal-omni-2.0-max

GitHub Website

basal-omni-2.0-max is the large model of basal-omni 2.0, on Google Gemma 4 12B. It follows basal-omni-1.1-max. Its smaller siblings are basal-omni-2.0-mini (Gemma 4 E4B) and basal-omni-2.0-nano (Gemma 4 E2B); ultra comes later.

What it is. Instead of writing an answer, the model reads a state (a message, a document, retrieved passages, an agent trace, a web page as JSON). It then answers a typed question about it (choice, yes/no noul, score, and in the basal engine multi, act and tool). The answer is a calibrated probability for each allowed answer, in one forward pass, without generating text. The answer never falls outside the options you give, and the probability says how sure the model is.

What is new compared with basal-omni-1.1-max.

  • On our hidden Polish and English decision benchmark (Werdykt 2.0): 0.843 vs 0.819 (+2.4 [+1.6, +3.3] points, paired over the same 5,000 items, read on the same GPU and engine).
  • Two-way reading (the state is read in both directions up to 4,096 prompt tokens), the same typed questions and the same API as basal-omni-1.1-max.

Results

Served with the basal engine 3.0.2 (build 1bd1bba2) from the released files on one NVIDIA RTX PRO 6000 Blackwell Max-Q: --mode fast, bf16, read two ways, the shipped CALIBRATION.json. The basal-omni-1.1-max column is that model's published files read the same way on the same GPU and engine (one way: it is a one-way model). Werdykt 2.0, the EN external panel and the coverage rows ask one option order (the default); the four held-out tests (PL decisions, PL general, PL-Real, EN corpus) score each decision on the mean of its two option orders (the given one and the reversed one), for both models. In the given order only, basal-omni-2.0-max reads 0.935 / 0.806 / 0.738 / 0.960 and basal-omni-1.1-max 0.941 / 0.794 / 0.706 / 0.973 (PL decisions / PL general / EN corpus / PL-Real).

benchmark basal-omni-2.0-max basal-omni-1.1-max difference, points (paired, 95% interval)
Werdykt 2.0, macro (hidden PL + EN, 10 categories Γ— 2 languages, 5,000 items) 0.843 (95% interval 0.834–0.852) 0.819 +2.44 [+1.56, +3.28]
Werdykt 2.0, Polish / English 0.844 / 0.843 0.817 / 0.821
PL decisions (held-out test, 7,081 items) 0.937 0.944 -0.73 [-1.40, -0.08]
PL general (knowledge, exams, reading; 3,079 items) 0.804 0.802 +0.26 [-0.81, +1.33]
PL-Real (300 real Polish documents) 0.960 0.977 -1.67 [-4.33, +0.67]
EN external panel (10 public English decision tasks, 3,842 items) 0.824 0.768 +5.66 (task mean)
EN corpus test (1,479 items) 0.734 0.721 +1.28 [-0.54, +3.18]
Coverage at 1% error (share decided automatically with the shipped threshold) 36.1% at 0.49% observed error (--orders 2: 34.1% at 0.34%) 47.1% at 0.69% (--orders 2: 47.5% at 0.57%)
Coverage at 5% error 52.9% at 3.53% observed error (--orders 2: 81.8% at 3.67%) 86.1% at 4.23% (--orders 2: 85.1% at 4.30%)
  • Werdykt 2.0: measured with basal 3.0.2 from the released files (--mode fast, one option order, the shipped CALIBRATION.json) on one NVIDIA RTX PRO 6000 Blackwell Max-Q (bf16). The basal-omni-1.1-max row is that model on the same GPU and engine.
  • Coverage: on the held-out PL decisions and EN corpus tests (8,560 decisions), each asked with its own question type, with the per-type thresholds of the shipped CALIBRATION.json as the server applies them. At 1%: choice 66.6% at 0.5%. At 5%: choice 88.3% at 3.8%, score 53.8% at 1.2%. A type without a certified threshold goes to a person at that target.
  • Two option orders: --orders 2 (CALIBRATION.o2.json) automates 34.1% of the same 8,560 decisions at the 1% target (0.34% observed error) and 81.8% at 5% (3.67%). At the 1% target one order automates more. At 5%, one order certifies choice and score only (yes/no noul questions go to a person), while two orders certify all three, so for automation at 5% use two orders (about twice the cost per question).

Werdykt 2.0 by category

category basal-omni-2.0-max basal-omni-1.1-max
retrieval 0.988 0.970
realdoc 0.984 0.982
routing 0.984 0.984
judge 0.932 0.898
action 0.880 0.848
abstain 0.860 0.800
score 0.812 0.800
contract 0.780 0.748
long documents 0.740 0.738
rules 0.474 0.422

Each category has 500 items (250 Polish, 250 English), so a difference of 2 points in one category is within noise; the macro row above is the measured comparison.

English external panel by task

The EN external panel row above is the mean of these ten public English decision tasks (same run as Results).

task items basal-omni-2.0-max basal-omni-1.1-max
belebele 300 0.963 0.967
financialphrasebank 300 0.963 0.953
tabfact 300 0.883 0.863
winogrande 300 0.860 0.713
bbh 540 0.835 0.815
circa 300 0.813 0.707
contractnli 300 0.810 0.587
ragtruth 300 0.783 0.783
truthfulqa_binary 902 0.682 0.700
judgebench 300 0.650 0.590
mean of the ten tasks 3,842 0.824 0.768

Werdykt against other typed-decision models

The same 5,000 hidden Werdykt 2.0 items (Polish and English), the same client and the same scoring, over each model's typed-decision API. The lead is basal-omni-2.0-max's paired difference over the same items, in points, with a 95% bootstrap interval.

model Werdykt 2.0 [95% interval] Polish / English basal-omni-2.0-max lead
basal-omni-2.0-max 0.843 [0.834–0.852] 0.844 / 0.843 –
basal-omni-1.1-max (same GPU and engine) 0.819 [0.809–0.829] 0.817 / 0.821 +2.4 [+1.6, +3.3]
basal-omni-1.1-max (its published run) 0.821 [0.811–0.830] 0.819 / 0.822 +2.3 [+1.4, +3.1]
basal-3.0-max 0.816 [0.805–0.825] 0.813 / 0.818 +2.8 [+1.8, +3.7]
Bielik-One-11B-v3.1-r1 0.703 [0.691–0.714] 0.708 / 0.698 +14.1 [+12.9, +15.2]
basal-omni-1.0-ultra 0.879 [0.871–0.887] 0.881 / 0.877 -3.6 [-4.5, -2.7]
  • basal-omni-2.0-max (its shipped calibration) and basal-omni-1.1-max "same GPU and engine" (accuracy uses the top answer, which a temperature does not change) on one NVIDIA RTX PRO 6000 Blackwell Max-Q, basal 3.0.2 (1bd1bba2); basal-omni-1.1-max "its published run" on one H100 (its published-release run); basal-3.0-max on one RTX PRO 6000 (basal 3.0.1, the same code as 3.0.2 with a serving race fixed); Bielik-One-11B-v3.1-r1 on its own server; basal-omni-1.0-ultra (a larger model) on one H200 (141 GB), basal-serve af1ce43 (v2.0.0), --mode eager (its published-release run).
  • Werdykt is hidden, so only these totals are shown.

Werdykt-MAX

Our second hidden benchmark of typed decisions (6,000 decisions, Polish and English; Full4 adds the ordinal and multilabel decisions). The lead is basal-omni-2.0-max's paired difference, Overall, with a 95% interval.

model Overall Polish English Full4 basal-omni-2.0-max lead (Overall)
basal-omni-2.0-max 81.67 82.33 81.00 77.49 –
basal-omni-1.1-max 77.87 78.00 77.73 71.39 +3.80 [+2.21, +5.40]
basal-3.0-max 67.10 70.00 64.20 63.69 +14.57 [+12.65, +16.47]
Bielik-One-11B-v3.1-r1 50.63 49.43 51.83 48.68 +31.03 [+28.62, +33.37]
  • Werdykt-MAX v1.3.0 discovery split; every row on one NVIDIA RTX PRO 6000 Blackwell Max-Q, one option order. basal-omni-2.0-max on basal 3.0.2 (1bd1bba2), --mode fast, its shipped calibration; basal-omni-1.1-max and basal-3.0-max with their shipped calibration; Bielik-One-11B-v3.1-r1 on its own server (bielik-one 1.0.8, vLLM 0.32.0, bf16, eager) with its bundled calibration.json.

Accuracy by document length

Accuracy on Werdykt (5,000 items, Polish and English; a hidden set, so only these totals are shown) by the length of the state, in characters (a token is about 3 to 4 characters; 1,000 characters is about half a page). 84.3% overall. 95% Wilson intervals in brackets.

state length items accuracy
0-1k 709 76.6% [73, 80]
1k-2k 2,598 82.9% [81, 84]
2k-4k 796 95.9% [94, 97]
4k-8k 394 97.7% [96, 99]
8k-16k 128 80.5% [73, 86]
16k+ 375 72.0% [67, 76]

Short states are mostly rules and abstention items, which are harder for every model, so read the rows as accuracy per bucket, not as the effect of length alone. The long-document family keeps the task and varies only the length:

state length (long-document family) items accuracy
8k-20k 226 77.9% [72, 83]
20k-30k 194 75.8% [69, 81]
30k+ 80 58.8% [48, 69]

Same run as the Werdykt row above. The intervals are about the items, not about run-to-run noise.

Quick start

1. Install into a fresh uv environment:

uv venv --python 3.12 --allow-existing ~/basal-env && source ~/basal-env/bin/activate
uv pip install torch==2.11.0 torchvision==0.26.0 --index-url https://download.pytorch.org/whl/cu128
uv pip install "basal-engine[media] @ https://github.com/rkinas/basal/archive/refs/tags/v3.0.3.tar.gz"

The server is also published as the Docker image ghcr.io/rkinas/basal-serve:3.0.3.

basal 3.0.3 returns bit-identical probabilities to basal 3.0.2 (build 1bd1bba2), on which this card's numbers were measured: all 8,560 test decisions of this model, read one request at a time on one NVIDIA RTX PRO 6000 Blackwell Max-Q (the 3.0.3 code tree; 27 Nov 2026).

2. Start the server (port 8000 by default). It prints basal: model ... ready:

basal-serve --model Remek/basal-omni-2.0-max --mode fast

The weights take about 24 GB. A two-way model is served with --mode fast, --mode fast-nocompile or --mode eager. One option order is asked by default; --orders 2 uses CALIBRATION.o2.json automatically.

3. Ask questions:

curl -s localhost:8000/v1/systemone -H 'content-type: application/json' -d '{
  "state": "Klient: od wczoraj nie mogę zalogować się do bankowości internetowej, system pokazuje błąd hasła.",
  "questions": {
    "dept":   {"type": "choice", "instructions": "Do którego działu skierować zgłoszenie?",
               "criteria": {"cards": "Reklamacje kart", "online": "Wsparcie bankowoΕ›ci elektronicznej", "loans": "Kredyty"}},
    "urgent": {"type": "noul", "instructions": "Czy klient nie może korzystać z usługi?"}}}'

Full API (multi, act, tool, option keys, max_error): API.

Speed

One NVIDIA H100 80GB (bf16), basal 3.0.2 (build 1bd1bba2), one option order; both models on the same GPU, one after the other, with the same client. Decisions per second (p50 latency per request in brackets); the server was warmed up first.

load basal-omni-2.0-max, --mode fast basal-omni-2.0-max, --mode eager --media on basal-omni-1.1-max, --mode fast basal-omni-1.1-max, --mode eager --media on
1 client, short states 35.4 (28 ms) 17.5 (54 ms) 38.9 (25 ms) 17.3 (55 ms)
1 client, long states 2.5 (408 ms) 1.5 (675 ms) 5.0 (196 ms) 1.5 (675 ms)
16 clients 32.5 (466 ms) 17.6 (852 ms) 74.9 (206 ms) 17.6 (860 ms)
64 clients 40.8 (1502 ms) 24.7 (2549 ms) 81.0 (775 ms) 24.6 (2584 ms)
8 clients, 16 questions per request 48.4 (2637 ms) 26.8 (4676 ms) 49.9 (2387 ms) 25.4 (4409 ms)
32 clients x 1,000 requests (load test) 32.6 19.7 68.4 18.4
GPU memory while serving 32.3 GiB 39.0 GiB 35.3 GiB 78.4 GiB
  • basal-omni-2.0-max reads states up to 4,096 prompt tokens two ways; basal-omni-1.1-max reads one way. Two-way reading costs throughput: with 16 or 64 clients, and for long states with one client, basal-omni-2.0-max --mode fast decides about half as many questions per second as basal-omni-1.1-max --mode fast.
  • --mode eager --media on is the mode for images and audio; for text, use --mode fast.
  • --orders 2 costs about twice as much per question.

Long states

A synthetic test on one H100 80GB (basal 3.0.2, --mode fast's backend called directly, not through the server): one fact planted at 10%, 50% or 90% of a long Polish court-style document, with three decoys, and a choice question about it. Prompts longer than 4,096 tokens are read one way. The first row is the shipped configuration; the other rows were measured with two-way reading switched off (the same one-way reading), so their latency and memory are those of that configuration.

prompt length (tokens) reading prompts correct median latency peak GPU memory
8,255 direct engine, the shipped two-way configuration (read one way: over 4,096 prompt tokens) 6 6 1.01 s 23.9 GiB
8,255 direct engine, two-way switched off 6 6 0.53 s 28.5 GiB
16,451 direct engine, two-way switched off 6 6 1.17 s 30.0 GiB
32,826 direct engine, two-way switched off 6 6 2.76 s 32.8 GiB
65,596 direct engine, two-way switched off 3 3 7.25 s 38.5 GiB
131,127 direct engine, two-way switched off 2 2 21.44 s 49.8 GiB
261,696 direct engine, two-way switched off 1 1 122.99 s 33.0 GiB
  • Peak GPU memory is the memory PyTorch allocated during the request. States beyond about 241,000 tokens are prefilled in chunks of 2,048 tokens, so the longest row needs less than the 131k row.
  • Engine check on one H100 80GB: the served probabilities agree with a float32 reference read of the same files, with the engine's own criteria, in --mode fast (text and long sets) and --mode eager --media on (text, long, image and audio sets): pass.

Files

  • model.safetensors, config.json, generation_config.json, tokenizer.json, tokenizer_config.json, chat_template.jinja, processor_config.json: the model (Gemma 4 12B architecture, 262k vocabulary). Its image and audio input layers (the vision patch embedder and the image and audio embedding projections, 11 tensors) are bit-identical to google/gemma-4-12B-it; the shared transformer layers that read them were fine-tuned on text.
  • CALIBRATION.json: per-type temperatures and certified confidence thresholds for 1% / 5% error, fitted with basal-calibrate of basal 3.0.2 on the served engine (--mode fast, bf16, one option order). It is bound to these model files: served with other files, the server keeps its temperatures, turns its thresholds off and warns.
  • CALIBRATION.o2.json: the same for --orders 2 (answers read in both option orders and combined).
  • basal.json: prompt format 2 and the readout protocol.
  • SHA256SUMS: checksums of the model files.

How it works

The model receives a fixed chat prompt with the state, the question and coded options (A–Z, then two-character codes, up to 255). The assistant turn is prefilled with {"answer": ", and the decision is the softmax over the next-token logits of the option codes only: one forward pass, no text generation. The server applies the calibrated temperature of the question type from CALIBRATION.json.

Use the confidence. CALIBRATION.json stores thresholds for a target error of 1% or 5% among accepted decisions. They were chosen on calibration data before testing. Accept decisions above the threshold automatically and route the rest to a person. A threshold ships only where the frozen test's one-sided 95% upper bound is within its target.

Limitations

  • Validate it on your own documents before relying on it.
  • Polish decisions: on the held-out Polish decision test (7,081 items) basal-omni-2.0-max is -0.73 [-1.40, -0.08] points against basal-omni-1.1-max (paired, 95% interval), and -1.67 [-4.33, +0.67] on PL-Real (300 real documents); both read on one NVIDIA RTX PRO 6000 Blackwell Max-Q with basal 3.0.2.
  • Automation at 5% with one option order: one order automates 52.9% of the 8,560 test decisions at the 5% target, because yes/no (noul) questions are not certified there and go to a person. --orders 2 (CALIBRATION.o2.json) automates 81.8% at 5% (3.67% observed error), at about twice the cost per question.
  • Long prompts: the state is read two-way up to 4,096 prompt tokens (8,192 tokens per request). Longer prompts are read one way, and the answer does not say which reading was used. Accuracy on the longest documents is lower (see Accuracy by document length).
  • Serving features: for a two-way model the engine turns off the state cache, the prefix cache, reading one state once for many questions (SOAM) and the long lane. Ask several questions about one state in one request.
  • Images and audio: Gemma 4's image and audio input layers are included, but this model was trained and evaluated on text only, and --media on needs --mode eager. Use it for text; media answers are not evaluated here.
  • Exact arithmetic and thresholds are a weak spot of one-pass decisions: compute them in code.
  • Option order: one order is asked by default; --orders 2 reduces sensitivity to option order at about twice the cost.
  • Review: decisions with serious consequences for people should be reviewed by a person.

License and attribution

Apache-2.0. Fine-tuned from google/gemma-4-12B-it (Apache-2.0).

Downloads last month
25
Safetensors
Model size
12B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Remek/basal-omni-2.0-max

Finetuned
(363)
this model

Collection including Remek/basal-omni-2.0-max