A Polish Jev-style decision model. You give it a state (text or JSON) and typed questions (Choice, Score,
Noul = yes/no); it returns a probability for every option in one forward pass and writes no text.
Built with any2jev on speakleash/Bielik-Minitron-7B-v3.0-Instruct.
The base model is gated: accept its terms on Hugging Face before first use.
pip install "any2jev[serve]"
any2jev ask hf://wiiiktor/bielik-minitron-jev-pl \
--state "Paczka przyszła po dwóch tygodniach i w złym rozmiarze, a z karty zeszły dwie płatności." \
--choice "Który dział powinien się tym zająć? | zwroty, wysyłka, płatności" \
--noul "Czy sprawa wymaga pilnej interwencji człowieka?"
any2jev serve hf://wiiiktor/bielik-minitron-jev-pl # POST /v1/systemone, TypeSafe SDK compatible
| Part | Requests | What it teaches |
|---|---|---|
| tev1 mixture, translated to Polish with Bielik-11B-v3 | 33,543 | NLI (MNLI), yes/no reading (BoolQ), banking intents (Banking77), news topic (AG News), 5-level sentiment (SST-5), synthetic eligibility policies, priority routing |
| KLEJ train splits, class-balanced | 14,285 | CDSC-E (entailment), CDSC-R (relatedness), DYK (does the passage answer the question), PolEmo 2.0 (sentiment), Allegro Reviews (stars), CBD (cyberbullying), PSC (does the summary match the text) |
Policy and routing rules were translated with a fixed phrase table, not the LLM, so the executable rule behind each label cannot drift. Every LLM-translated string was checked: numbers kept, length ratio, identifiers kept, no English left, and no answering instead of translating. A record with any failed string was dropped (457 of 37,840). Repeated template strings use a reviewed glossary. tev1's 24-option research-taxonomy rows were left out: their 2,270-token questions exceed the 384-token question limit.
Settings: LoRA r=64 (alpha 128), pointer head dim 256, lr 3e-5 (head 1.5e-4), batch 1 × 4, 1 epoch, bf16, Brier and ordinal weights 0.1. Temperature 1.79 was fitted on 1,840 validation questions (validation accuracy 0.878). 9.3 h on one RTX 3090 with gradient checkpointing. any2jev's default lr 2e-4 did not learn at all on this base: accuracy stayed at chance for a full epoch.
Three held-out sets, 7,367 questions in all. No test item, and no text of a test item, was used in training or validation; states that translation made identical to a training state were removed from dev and test (41 items).
| Set | Questions | Where it comes from | Question types |
|---|---|---|---|
| KLEJ test | 1,875 | The official KLEJ test splits (native Polish, labels public), class-balanced per task: Allegro Reviews 400, PSC 525, PolEmo 2.0 320, CDSC-E 180, CBD 160, CDSC-R 150, DYK 140 | Choice (CDSC-E, PolEmo), Score (Allegro 1–5, CDSC-R 0–5), Noul (DYK, CBD, PSC) |
| tev1 test, Polish | 2,746 | tev1's own held-out test split (built from the official validation/test splits of each public source and freshly generated synthetic cases), translated exactly like the training data: policy 1,200, routing 600, MNLI 290, BoolQ 182, Banking77 180, SST-5 148, AG News 146 | Choice (policy, routing, MNLI, Banking77, AG News), Score (SST-5), Noul (BoolQ) |
| tev1 test, English | 2,746 | The same items in the original English | as above |
Scoring: argmax of the returned probabilities (for Score, the most likely level). ECE uses 10 equal-width
confidence bins. Every model sees the same request: state, question, options shown as key: description.
| Test set | This model | basal-2.0-4.5B | bielik-minitron-jev-v0.3 | Untuned Bielik-Minitron (letter readout, macro) |
|---|---|---|---|---|
| KLEJ test | 0.866 (ECE 0.026) | 0.785 (ECE 0.034) | 0.718 (ECE 0.030) | 0.726 |
| tev1 test, Polish | 0.861 (ECE 0.023) | 0.626 (ECE 0.176) | 0.463 (ECE 0.251) | 0.633 |
| tev1 test, English | 0.738 (ECE 0.148) | 0.625 (ECE 0.177) | 0.480 (ECE 0.241) | 0.633 |
Paired exact McNemar test, this model against basal-2.0-4.5B (items only this model gets right / only basal gets right): KLEJ 235 / 83 (p = 6e-18), Polish tev1 785 / 138 (p = 2e-110), English tev1 577 / 268 (p = 8e-27).
| Task | This model | basal-2.0-4.5B | v0.3 |
|---|---|---|---|
| PolEmo 2.0 | 0.928 | 0.903 | 0.741 |
| CDSC-E | 0.889 | 0.622 | 0.661 |
| CDSC-R | 0.773 | 0.607 | 0.500 |
| Allegro Reviews | 0.657 | 0.540 | 0.445 |
| PSC | 0.996 | 0.979 | 0.954 |
| DYK | 0.914 | 0.864 | 0.893 |
| CBD | 0.856 | 0.806 | 0.700 |
| policy (PL) | 0.922 | 0.562 | 0.383 |
| routing (PL) | 0.775 | 0.513 | 0.243 |
| MNLI (PL) | 0.852 | 0.779 | 0.600 |
| Banking77 (PL) | 0.922 | 0.822 | 0.789 |
| BoolQ (PL) | 0.907 | 0.863 | 0.835 |
| AG News (PL) | 0.931 | 0.925 | 0.870 |
| SST-5 (PL) | 0.534 | 0.473 | 0.480 |
basal-2.0-4.5B was served by its own engine (basal v2.0.0, --mode eager --deterministic, its shipped calibration,
option keys shown as for the other models; basal's calibration was fitted with keys hidden, so its ECE here may be
slightly worse than its best). The untuned row reads the base model's next-token probabilities of the option letters.
Not tested: basal-2.0-max (11B). Its bf16 weights (22.3 GB) do not fit one 24 GB GPU together with the activations, and its FP8 port needs an H100-class GPU. It could be tested through its GGUF Q8_0 port; that has not been done, so no claim is made against basal-2.0-max.
Independent project, not affiliated with TypeSafe AI, SpeakLeash, basal or the tev1/KLEJ authors. Training and test data are not redistributed here; see each source's own terms.
adapter/adapter_model.safetensors 1.0 GBhead.safetensors 8 MBspeakleash/Bielik-Minitron-7B-v3.0-Instruct