🇮🇹🔎 Setaccio - A Small Italian Reranker Trained on Native Data
a few days ago I released Nostrano, a retrieval dataset built from texts originally written in Italian. a dataset is only half the story, though: the obvious next step was to train something useful on it.
this is Setaccio (“sieve” in Italian): a 135M-parameter cross-encoder reranker for Italian, trained only on Nostrano. it takes the candidates of a first-stage retriever — BM25, an embedding model, or both — and sifts them, putting the passages that actually answer the question on top.
you can try it right now in the browser: Setaccio demo.
🧩 Why a Reranker?
most RAG pipelines retrieve in two stages:
- a fast first stage (BM25, a dense embedder, or a hybrid) pulls 50–100 candidates from the whole corpus
- a reranker reads the query and each candidate together and reorders them
the reranker is a cross-encoder: query and passage go through the transformer as one sequence, so every query word can attend to every passage word. it’s far more precise than comparing two independent embeddings, but too slow to run over a whole corpus — which is why it only sees the short list.
🔎 bi-encoder vs cross-encoder, in one example (click to expand)
query: “Entro quanti giorni si può recedere da un acquisto online?” (how many days do I have to withdraw from an online purchase?)
- bi-encoder (first stage): the query and each passage become one vector each, computed separately. a passage about returning goods bought in a shop and one about the 14-day withdrawal right for online purchases both talk about purchases and withdrawing — their vectors can end up very close.
- cross-encoder (reranker): the model reads
[CLS] query [SEP] passage [SEP]in one go and outputs one relevance score. it can see that the query says online and only one passage talks about distance contracts and fourteen days — and ranks it first.
the price: one full model pass per candidate, per query. with 50 candidates, that’s 50 passes — fine for a reranker, impossible for a whole corpus.
before Setaccio, the Italian options were mostly multilingual rerankers — strong, but trained on dozens of languages and typically 4–13× larger — and a few Italian ones fine-tuned on machine-translated data. Setaccio is not the first Italian reranker, but to my knowledge it’s the first monolingual Italian reranker trained on native Italian data.
🛠️ How It Was Trained
- base model: Italian-ModernBERT-base (22 layers, 135M parameters)
- data: the train split of Nostrano A and B — 65,787 Italian queries, each with its positive passage and 10 hard negatives
- teacher: Nemotron-3.5-Rerank-8B, whose scores are already stored in Nostrano
- objective: listwise distillation (ListNet) — for each query, Setaccio learns to reproduce the teacher’s whole ranking over 11 passages, not just “positive vs negative”
- compute: one epoch, 512 tokens, bf16, about 3 hours on one RTX 3090
the only real knob I tuned was the teacher temperature: dividing the teacher logits by 0.36 gives a sharper target than the softer setting I started from. the two versions turned out on par within noise, and I published the sharper one, which was very slightly ahead on average.
📊 Results
to compare rerankers fairly, every model reorders the same 50 candidates per query (BM25 + bge-m3, fused), with inputs truncated to 512 tokens and weights in bf16. nDCG@10 on four public Italian benchmarks, plus Nostrano’s own reasoning test (in domain for Setaccio, so read it with care):
| Model | Params | NanoBEIR-it | NanoMuPLeR-it | JuriFindIT | MLDR-it | Public mean | Nostrano test B |
|---|---|---|---|---|---|---|---|
| first stage only | 0.565 | 0.893 | 0.564 | 0.619 | 0.660 | 0.692 | |
| Nemotron-3.5-Rerank-1B | 1.6B | 0.651 | 0.983 | 0.712 | 0.584 | 0.733 | 0.914 |
| zerank-1-small | 1.7B | 0.621 | 0.954 | 0.725 | 0.569 | 0.717 | 0.871 |
| bge-reranker-v2-m3 | 568M | 0.636 | 0.958 | 0.661 | 0.593 | 0.712 | 0.826 |
| jina-reranker-v3 | 597M | 0.625 | 0.939 | 0.680 | 0.581 | 0.706 | 0.864 |
| Setaccio | 135M | 0.567 | 0.968 | 0.624 | 0.551 | 0.678 | 0.914 |
| Horizon multilingual-reranker-base | 308M | 0.588 | 0.966 | 0.630 | 0.524 | 0.677 | 0.850 |
| Qwen3-Reranker-0.6B | 596M | 0.601 | 0.950 | 0.651 | 0.472 | 0.669 | 0.775 |
| Horizon multilingual-reranker-small | 141M | 0.565 | 0.935 | 0.616 | 0.517 | 0.658 | 0.806 |
| osiria MiniLM Italian | 33M | 0.559 | 0.927 | 0.457 | 0.386 | 0.582 | 0.668 |
| vincolle BERT Italian | 135M | 0.485 | 0.925 | 0.482 | 0.363 | 0.564 | 0.678 |
the full table has 21 rerankers, all tested with paired bootstrap significance. the honest summary:
- on par with the best model up to ~300M parameters (Horizon base, 2.3× larger), and clearly ahead of every other small or Italian-specific reranker I tested
- strongest on EU law: on NanoMuPLeR-it it’s on par with most 0.6–1.7B models; only Nemotron-1B is significantly better
- best of all on Nostrano’s reasoning test, tied with Nemotron-1B — but that test is in domain, so it’s a sanity check, not a headline
- not state of the art overall: models 4–13× larger stay ahead, especially on the general-domain NanoBEIR-it and on JuriFindIT
🧪 Data or Recipe?
a good result can hide a boring explanation: maybe the recipe is good, and any data would do. so I trained a control: same base model, same recipe, same number of queries and same teacher temperature, but with LightOn’s Italian data — machine-translated from English — instead of Nostrano.
compared at the same settings, the Nostrano model is significantly better on NanoMuPLeR-it (+0.029) and on Nostrano’s tests, and on par on the other public benchmarks. the gains come from the data, not from the recipe — which was the whole point of building Nostrano in the first place.
⚡ Small Means Fast
measured on the same 5,000 query–passage pairs, same batch size for every model:
| Model | Params | GPU (RTX 3090, bf16) pairs/s | CPU (8 threads) s per query of 50 candidates |
|---|---|---|---|
| Setaccio | 135M | 304 | 7.6 |
| Horizon multilingual-reranker-base | 308M | 294 | 7.9 |
| bge-reranker-v2-m3 | 568M | 208 | 17.4 |
| Qwen3-Reranker-0.6B | 596M | 83 | 35.8 |
| Nemotron-3.5-Rerank-1B | 1.6B | 70 | – |
on CPU it’s 2.3× faster than bge-reranker-v2-m3 and 4.7× faster than Qwen3-Reranker-0.6B. one thing I didn’t expect: on GPU it’s only as fast as Horizon base, despite having half the parameters. the CPU times add up because each query means 50 full model passes over passages that are often a few hundred tokens long.
quality against CPU cost for every reranker I tested. the dashed line is the best quality you can get at each CPU budget, and Setaccio sits on it. models above 650M parameters weren't timed on CPU, so they're shown on the right by quality only.
🖥️ Try It
the demo on Hugging Face Spaces runs entirely in your browser, with an INT8 version of the model: nothing you type is sent to a server. pick an example or write your own passages, rerank them, and open “Come nasce il punteggio” to see the exact tokens the model reads, whether anything was truncated, and the raw score.
or in Python, with Sentence Transformers:
1
pip install -U sentence-transformers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from sentence_transformers import CrossEncoder
model = CrossEncoder("enricollen/setaccio-reranker-base", max_length=512)
query = "Entro quanti giorni si può recedere da un contratto concluso online?"
documents = [
"Il consumatore dispone di un periodo di quattordici giorni per recedere da un contratto a distanza "
"o negoziato fuori dei locali commerciali senza dover fornire alcuna motivazione.",
"Il contratto è l'accordo di due o più parti per costituire, regolare o estinguere tra loro "
"un rapporto giuridico patrimoniale.",
"La Torre di Pisa è il campanile della cattedrale di Santa Maria Assunta, nella piazza del Duomo di Pisa.",
]
for hit in model.rank(query, documents):
print(hit["corpus_id"], round(hit["score"], 3))
# 0 0.932
# 1 0.332
# 2 0.135
scores are only meant to order passages for the same query — they’re not calibrated probabilities.
⚠️ Limitations
- general domain: weaker than larger multilingual rerankers on NanoBEIR-it, whose task types (argument retrieval, duplicate questions, web search) aren’t in Nostrano
- practical legal questions: JuriFindIT asks for the rule that applies to a described situation, a query type Nostrano doesn’t contain yet
- long documents: trained and evaluated at 512 tokens — split long documents into passages
- teacher errors: Setaccio inherits the judgments of its teacher, mistakes included
- Italian only
🔗 Links
- 🤗 Model: huggingface.co/enricollen/setaccio-reranker-base — weights, model card, full evaluation
- 🖥️ Demo: huggingface.co/spaces/enricollen/Setaccio-demo
- 🫒 Training data: huggingface.co/datasets/enricollen/nostrano
- 🐙 Code: github.com/enricollen/nostrano — training, evaluation against 21 rerankers, speed tests and the demo (a star ⭐ is always appreciated)
🎬 Conclusion
Setaccio isn’t the best reranker in absolute terms, and it doesn’t pretend to be. what it shows is narrower and, I think, more useful: with native Italian data and a good teacher, a 135M model can match multilingual rerankers twice its size and run comfortably on a CPU. the control experiment says the data made the difference.
if you build Italian search or RAG, give it a try on your own documents and let me know how it does.

