SpeakLeash releases two small open safety filters for Polish text

In short

124M / 443M parameters in the two sizes; 5 harm categories scored; 6,885 Polish texts in the training set; 0.63% share of all test prompts the small model wrongly flagged, in the authors' test

What does a safety classifier do?

Chat assistants are often wrapped in a separate filter that checks what goes in and what comes out (our note). For Polish, the authors write, the options were either "English-centric models adapted to Polish" or "large multilingual models that may be impractical for resource-constrained deployments". Bielik Guard is a small encoder, the kind of model that reads text and outputs numbers rather than writing anything (our explanation), built on Polish models: the 0.1B on sdadas/mmlw-roberta-base and the 0.5B on PKOBP/polish-roberta-8k, a larger Polish RoBERTa model.

It scores each text in five categories, each independently, so one text can fall into several:

For the last category the model card says the system "should respond with appropriate support resources rather than simply blocking the content". The paper gives the example of pointing the person to a crisis line such as Poland's "Telefon Zaufania": "users expressing self-harm ideation need support, not silence." The model only produces scores; showing a helpline is up to the app built around it (our note).

It does not catch disinformation, jailbreaking attempts (tricks to talk a model out of its rules) or copyright violations, the card says, and covers Polish only.

Is Bielik Guard open source?

Both models are open weights under Apache 2.0: you may download, use, change and sell products built on them, keeping the licence and copyright notices. The Hugging Face pages are public, but the files sit behind a click-through: you sign in and agree to share your Hugging Face contact details, and the repositories' records show access is granted automatically. The card adds a request, not a licence condition, that fine-tuned versions keep "Bielik-Guard" in their name. A demo runs at guard.bielik.ai.

Both load with the standard Hugging Face Transformers text-classification pipeline. Training took about two hours on A100 GPUs at the ACK Cyfronet AGH computing centre, the card says.

Trained on what people thought

The training data, which the card calls the Sojka dataset, is 6,885 Polish texts, taken mostly from prompts sent to Polish AI models and from social media. More than 1,500 volunteers gave over 60,000 ratings, about seven or eight people per text. The models learned from the share of raters who put a text in each category, not from yes/no labels. The set is about 55% safe and 45% harmful by design, which the card says "does not reflect the actual distribution of content online". Crime is the rarest category, at 311 texts or 4.52%.

What changed in version 1.1

Version 1.0 over-reacted to crime-related text because of how its decision thresholds were set, the paper says. Version 1.1 changes only those thresholds; training and data are the same.

The trade-off shows on a test set the authors call Gadzi Jezyk, 520 harmful prompts almost all about crime. For the 0.1B model, precision rose from 97.7% to 98.5%, but recall, the share of harmful prompts it caught, fell from 70.2% to 55.7%. For the 0.5B, recall fell from 76.2% to 71.4%. The authors say the change "prioritizes user trust through high precision over maximum recall".

The comparison, and its limits

The headline result comes from 3,000 random prompts users sent to Polish AI models, not used in training. Each guard model ran with its own categories and default settings; every flagged text was checked by two annotators, with a third settling disagreements.

Source: model card and paper, Table 5. "Wrongly flagged" is the paper's global false positive rate. All figures are the authors' own.

In plain terms (ours): when the small Bielik Guard raised an alarm, it was right about three times in four; for the multilingual models tested, most alarms on these Polish prompts were false.

This is the makers' own test, and it cannot say how much harmful content each model missed. Only flagged texts were annotated, so the paper reports no recall for this comparison. The models also use different category lists, which the authors acknowledge makes cross-model comparison hard. No independent evaluation was found.

On a held-out part of their own dataset, in versions trained on a third of the data, the 0.5B scored an F1 of 0.791 against 0.775 for the 0.1B, and held up better on deliberately garbled text, such as missing Polish accents or swapped letters (0.694 against 0.638). Hate was the weakest category for both, with crime next.

How it came out

12 Oct 2025: Bielik Guard 0.1B v1.0 repository created on Hugging Face. 6 Dec 2025: Bielik Guard 0.5B v1.0 repository created. 1 Feb 2026: Both v1.1 models published, with the recalibrated thresholds. 8 Feb 2026: The team's paper appears on arXiv; it was last revised on 20 April 2026.

Visitors to the demo can rate answers and annotate new texts, and the team is working on more categories and languages, the card says.

Terms in plain English

Official channels of SpeakLeash: Website · LinkedIn · X

Sources

Sources

Related stories

More from AI in Europe

All stories from AI in Europe