SpeakLeash, ACK Cyfronet AGH and Gaia AI Factory

Bielik-SPLADE-50M-v1.0

This model is part of the Bielik-SPLADE v1.0 collection on Hugging Face (five repositories: the 82M and 50M models, the static query encoder and two int8 ONNX exports).

A small sparse (SPLADE) retrieval model for Polish with about 50M parameters. It was distilled from the full 82M model of this release, speakleash/Bielik-SPLADE-82M-v1.0, and uses the same tokenizer and the same 50,001-term vocabulary. Its vectors therefore live in the same space as the full model's vectors.

Main result

It scores a mean nDCG@10 of 53.81 on the 32 public PIRB tasks. The full model scores 55.01, sdadas/polish-splade 51.34 and BM25 40.32. All results on this card cover only the publicly available part of PIRB: 32 of its 41 tasks.

Bar chart, mean nDCG@10 on 32 public PIRB tasks: Bielik-SPLADE-82M 55.01, Bielik-SPLADE-50M 53.81, Bielik-SPLADE-static over the 82M index 52.37, sdadas/polish-splade 51.34, BM25 40.32

Mean nDCG@10 on the 32 public PIRB tasks. sdadas/polish-splade and BM25: official PIRB leaderboard, averaged over the same tasks.

Index cost

346.4 dimensions per document; 120.7 dimensions and 12,725 postings per query (see Cost). sdadas/polish-splade costs 424.5 dimensions per document and 16,807 postings per query.

Scatter plot of mean nDCG@10 against postings per query: Bielik-SPLADE-82M 55.01 at 13,945; Bielik-SPLADE-50M 53.81 at 12,725; Bielik-SPLADE-static 52.37 at 9,046; sdadas/polish-splade 51.34 at 16,807

Quality against query cost. Postings per query = index entries a query reads (mean over a cost sample of 1,350 queries).

Inference cost

The model has 39 % fewer parameters than the full model (49.9M against 82.0M) and needs 55 % fewer multiplications per token (36.8M against 81.5M). The MLM output layer works in 256 dimensions instead of 768, and the feed-forward layers are half as wide. On one CPU thread, encoding takes 42 to 48 % less time (33 to 64 % less with 6 threads). The time falls less than the number of multiplications. Parts of the computation that do not shrink with the model, such as the SPLADE pooling over the 50,001-term vocabulary, are likely to take a larger share of the time.

Bar chart, Bielik-SPLADE-50M as a share of Bielik-SPLADE-82M: parameters 61 %, multiplications per token 45 %, query time PyTorch fp32 52 %, query time ONNX int8 57 %, passage time PyTorch fp32 58 %, passage time ONNX int8 56 %

Inference cost relative to the full model (= 100 %), on one CPU thread. Multiplications: linear layers, per token.

Usage

Requires sentence-transformers >= 5.0. It does not need trust_remote_code.

from sentence_transformers import SparseEncoder

model = SparseEncoder("speakleash/Bielik-SPLADE-50M-v1.0")
q = model.encode_query(["jak rozliczyฤ‡ stratฤ™ z inwestycji w PIT"])
d = model.encode_document(["Stratฤ™ z odpล‚atnego zbycia papierรณw wartoล›ciowych moลผna odliczyฤ‡ ..."])
print(model.similarity(q, d))          # dot product

Optional: combined with the full model

All models of this release share one tokenizer and one vocabulary. You can therefore build the index with the full model, speakleash/Bielik-SPLADE-82M-v1.0, and encode the queries with this model. The quality is then a little higher than with this model alone (see Combined with the full model), at the index cost of the full model.

doc_model = SparseEncoder("speakleash/Bielik-SPLADE-82M-v1.0")    # builds the index (once, offline)
query_model = SparseEncoder("speakleash/Bielik-SPLADE-50M-v1.0")  # encodes queries at search time

d = doc_model.encode_document(["Stratฤ™ z odpล‚atnego zbycia papierรณw wartoล›ciowych moลผna odliczyฤ‡ ..."])
q = query_model.encode_query(["jak rozliczyฤ‡ stratฤ™ z inwestycji w PIT"])
print(query_model.similarity(q, d))

In the same way, the inference-free query encoder speakleash/Bielik-SPLADE-static-v1.0 can encode the queries over an index built by this model; its card has the numbers.

  • No query prefix. Inputs up to 512 tokens.
  • Speed on a CPU: on an AMD Ryzen 5 5600X a query takes 16.0 ms (median, batch 1, 6 threads) in PyTorch fp32, and 2.2 ms with the int8 ONNX export (one thread: 23.8 ms and 6.1 ms). For the full model the figures are 44.9 ms and 3.7 ms (one thread: 45.4 ms and 10.5 ms). The ONNX repository (speakleash/Bielik-SPLADE-50M-v1.0-ONNX-INT8) has the full table.

Results

Main table: 32 public PIRB tasks

These are results on the publicly available part of PIRB only. PIRB has 41 tasks. The 9 tasks of the Web Datasets group are not public, so we could not run them, and the means below are not comparable with the 41-task means of the PIRB leaderboard.

sdadas/polish-splade and BM25 (pyserini) are the per-task scores of the official PIRB leaderboard, averaged by us over the same 32 tasks; we did not run them ourselves.

group task this model full model sdadas/polish-splade BM25
MaupQA maupqa-1z10 49.07 49.60 47.39 42.32
MaupQA maupqa-czy-wiesz-v2 86.37 87.76 85.97 69.39
MaupQA maupqa-gpt3-cc 18.62 18.89 18.41 16.93
MaupQA maupqa-gpt3.5-cc 20.33 20.57 20.12 17.86
MaupQA maupqa-gpt3.5-wiki 92.06 92.95 91.22 79.38
MaupQA maupqa-mkqa 64.75 65.71 63.88 34.36
MaupQA maupqa-mqa 19.15 20.02 18.78 11.70
MaupQA maupqa-multilingual-NLI 14.55 14.88 14.15 9.56
MaupQA maupqa-poleval2021-pairs 82.95 84.07 82.91 57.23
MaupQA maupqa-poquad 18.52 19.57 19.57 12.95
MaupQA maupqa-templates 75.87 76.72 75.23 60.80
MaupQA maupqa-wiki-def 66.83 68.05 64.96 51.19
PolEval-2022 poleval-2022-dev-0-wiki-trivia 41.66 43.73 37.41 25.18
PolEval-2022 poleval-2022-test-A-wiki-trivia 40.44 41.81 35.03 25.49
PolEval-2022 poleval-2022-test-A-legal-questions 82.74 84.58 80.44 67.70
PolEval-2022 poleval-2022-test-A-allegro-faq 77.70 78.93 73.37 53.83
PolEval-2022 poleval-2022-test-B-wiki-trivia 41.09 42.93 35.94 25.37
PolEval-2022 poleval-2022-test-B-legal-questions 82.56 84.70 78.39 69.37
PolEval-2022 poleval-2022-test-B-allegro-faq 74.28 75.48 71.87 51.60
BEIR-PL arguana-pl 49.11 50.09 36.44 30.59
BEIR-PL dbpedia-pl 33.51 34.62 28.42 22.86
BEIR-PL fiqa-pl 31.23 32.87 26.67 16.72
BEIR-PL hotpotqa-pl 64.16 64.79 55.17 49.72
BEIR-PL msmarco-pl 30.57 32.07 30.69 10.16
BEIR-PL nfcorpus-pl 32.77 32.76 29.84 41.12
BEIR-PL nq-pl 41.59 43.17 40.42 15.74
BEIR-PL quora-pl 79.25 79.84 76.76 61.93
BEIR-PL scidocs-pl 14.86 14.73 12.56 11.94
BEIR-PL scifact-pl 68.27 68.86 64.70 61.49
BEIR-PL trec-covid-pl 64.57 72.48 65.46 43.62
Other mfaq 63.42 63.85 62.15 49.46
Other gpt-exams 99.00 99.12 98.62 92.72
mean 32 tasks 53.81 55.01 51.34 40.32

The largest gap to the full model is on trec-covid-pl: 64.57 against 72.48.

Cost

setup dims/doc dims/query, mean / median postings/query, mean / median / p95
this model 346.4 120.7 / 76 12,725 / 8,969 / 37,983
combined: queries by this model, index by the full model 378.5 (full model's index) 120.7 / 76 13,537 / 9,500 / 41,090
full model 378.5 123.0 / 70 13,945 / 9,139 / 44,972
sdadas/polish-splade 424.5 132.4 / 74 16,807 / 10,924 / 54,382

All columns come from one fixed cost sample: 1,350 passages and 1,350 queries from 10 of the public PIRB tasks (listed on the full model's card). A posting is one (term, document) entry that a query visits in the inverted index: the sum, over the query's dimensions, of the number of passages in the sample that have that dimension. The sdadas/polish-splade row is our measurement of the original Hugging Face checkpoint with the same code on the same sample.

Combined with the full model

The combined setup (queries by this model, index by the full model) was measured on 18 of the 32 public tasks: maupqa-1z10, maupqa-gpt3-cc, maupqa-gpt3.5-cc, maupqa-mkqa, maupqa-multilingual-NLI, maupqa-poleval2021-pairs, maupqa-templates, maupqa-wiki-def, poleval-2022-test-A-legal-questions, both allegro-faq tasks, arguana-pl, fiqa-pl, nfcorpus-pl, scidocs-pl, scifact-pl, mfaq and gpt-exams.

setup mean nDCG@10, 18 tasks
combined: queries by this model, index by the full model 55.31
this model 54.81
full model 55.54

How it was trained

Training data. We used public datasets on open licenses, our own translations of datasets into Polish and our own synthetically generated examples. The two ranking stages (steps 3 and 4) saw 60,285 distinct queries with their positive passages. All queries of step 3 return in step 4 with other negatives and other teacher scores, so the training rows add up to 80,677. The distillation stage (step 2) uses unlabeled texts only.

  1. Student surgery. The student was cut from the full model (raw weights, before the sparsification shift):

    • kept transformer layers 0, 1, 2 and 5 of 6;
    • kept the 1,536 most important feed-forward neurons per layer, out of 3,072 (importance: the product of the norms of a neuron's input and output weights);
    • projected the embedding onto a rank-256 subspace, weighted by token frequency in a sample of 50,133 texts of the distillation corpus (step 2);
    • turned the teacher's MLM head transform into one extra full-width layer, so that the remaining head starts as a low-rank linear projection (its activation is initialized in its linear range).

    The result uses the ALBERT architecture: a standard AlbertForMaskedLM checkpoint with no weight sharing.

  2. Representation distillation: one epoch over an unlabeled corpus of 2,264,676 Polish texts (1,905,058 passages and 359,618 queries). The corpus holds queries and passages of public retrieval datasets translated into Polish plus passages of public Polish texts, deduplicated. The teacher was the full model before its sparsification shift. Settings:

    • loss: a per-token KL on the MLM distributions (ร— 0.3) plus an MSE on the pooled sparse vectors;
    • learning rate 5e-5, linear schedule, batch 16.

    After this stage the student's query vectors reach cosine 0.972 with the teacher's (512 queries).

  3. Ranking stage: 20,292 rows with 10 hard negatives per query; KL divergence (temperature 2) to the stored scores of the teacher ensemble of the full model's training: the full model's round-1 average plus OPI-PIB/PolDense-400M (see the full model's card); 2 epochs.

  4. Second ranking round: the same recipe on 60,385 rows, the training rows of one of the three arms of the full model's final round, with negatives mined by an earlier version of the full model.

  5. Sparsification: the same kind of MLM-head bias shift as the full model, set to the first step that stays within 410 dims/doc and within 16,807 postings/query (the query cost of sdadas/polish-splade).

The ranking stages and the sparsification shift move the student only a little away from the full model: the released model's query vectors have a mean cosine of 0.966 with those of the released full model (512 queries), and its passage vectors 0.953 (256 passages).

Limitations

  • Polish only; up to 512 tokens.
  • The largest gap to the full model is on trec-covid-pl (64.57 against 72.48).
  • Part of the training data is machine-translated into Polish.
  • BM25 is still better on nfcorpus-pl (41.12 against 32.77).

License

License: Gemma Terms of Use. This model was distilled from the full model of this release. Its ranking stage also used the stored scores of the same teacher ensemble, which includes OPI-PIB/PolDense-400M, a model under the Gemma license. It is therefore distributed under the Gemma Terms of Use, with the same NOTICE file, copies of the Gemma terms and use restrictions as the full model (speakleash/Bielik-SPLADE-82M-v1.0, whose card explains the license).

Contributors

  • Jan SowaSpeakLeash - team lead, training methodology (stages, distillation, static query encoder), data preparation (filtering, negative mining)
  • Karol JezierskiSpeakLeash - conceptualization, synthetic data generation, negative mining, coordination and supervision of HPC workloads
  • Marcin BorzymowskiSpeakLeash - data curation and the translation pipeline

Data Protection and Copyright Requests

For removal requests of personally identifiable information (PII) or of copyrighted content, please contact the respective dataset owners or us directly: biuro@speakleash.org.pl.

Citation

Please cite this model using the following format:

@misc{BielikSPLADE50Mv10,
    title     = {Bielik-SPLADE-50M-v1.0 model card},
    author    = {Sowa, Jan and Borzymowski, Marcin and Jezierski, Karol},
    year      = {2026},
    url       = {https://huggingface.co/speakleash/Bielik-SPLADE-50M-v1.0},
    note      = {Accessed: 2026-11-26}, % change this date
    urldate   = {2026-11-26} % change this date
}

Contact Us

If you have any questions or suggestions, please use the discussion tab. If you want to contact us directly, join our Discord SpeakLeash.

Acknowledgements

We gratefully acknowledge Polish high-performance computing infrastructure PLGrid (HPC Center: ACC Cyfronet AGH) for providing computer facilities and support within computational grant no. [PLG/2026/019559].

This work was supported by the Gaia AI Factory project, funded by the European Union under Grant Agreement No. 101314359 through the EuroHPC Joint Undertaking (EuroHPC JU).

Downloads last month
43
Safetensors
Model size
49.9M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for speakleash/Bielik-SPLADE-50M-v1.0

Finetuned
(3)
this model
Quantizations
1 model

Collection including speakleash/Bielik-SPLADE-50M-v1.0