๐ฎ๐น๐ซ Nostrano - Native Italian Data for Retrieval and RAG
after training ItColBERT, one thing kept bothering me: almost every Italian retrieval dataset I could train on was translated from English. MS MARCO in Italian, BEIR in Italian, fine-tuning collections in Italian โ all machine translations of queries and documents that were born in another language, about another country.
translated data works, but it carries English topics, English phrasing and translation artefacts. so I wanted to see what happens with data that is Italian from the start: Italian texts, questions written in Italian, and relevance labels from a strong teacher.
the result is Nostrano (โhomegrownโ in Italian): a dataset for Italian retrieval and RAG, built entirely on one RTX 3090 at home.
๐งบ Whatโs Inside
Nostrano is built from 33,617 passages written in Italian:
- Italian Wikipedia โ 18,002 passages, CC BY-SA 4.0
- Italian national legislation from Normattiva open data โ codes, legislative decrees, budget laws, transpositions of EU directives and more โ 15,615 passages, CC BY 4.0
on top of that corpus there are four subsets, each one aimed at a different part of a search or RAG system:
| Subset | What it contains | Size |
|---|---|---|
| A. Retrieval | simple questions, their positive passage, 10 hard negatives and teacher scores | 59,815 queries |
| B. Reasoning | questions linked to the passage by one logical step โ implication, concrete case, comparison, calculation โ with explanation and answer | 12,371 queries |
| C. Conversations | three-turn dialogues with context-dependent questions, their full rewrite and per-turn dependency signals | 7,571 conversations |
| D. Decisions | relevance 0โ3, โcontains the answerโ and โnone answersโ labels over 10 candidates | 9,996 queries |
A and B are training data for embedding models, ColBERT models and rerankers. C and D are, to my knowledge, the first native Italian resources of their kind: Iโm publishing them as benchmarks and resources, without claiming yet that they improve training.
๐ ๏ธ How It Was Built
A and B go through the cascade that mines and scores the hard negatives; D is judged by Qwen on the mined candidates; the conversations (C) skip the mining.
generation. every passage goes to Qwen 3.8 27B, quantized and served locally with llama.cpp, with thinking off and output constrained to a JSON schema. for each passage it writes two retrieval questions of different types and one reasoning question with explanation and answer. conversations are built from two consecutive passages of the same document. each call draws one of 14 personas โ citizen, lawyer, accountant, student, tourist and so on โ to vary style and vocabulary.
hard negatives. each query searches the whole corpus with BM25 and Qwen3-Embedding-8B, fused with reciprocal rank fusion. the best candidates are then scored by Nemotron-3.5-Rerank-8B, which I picked as teacher after comparing 7 rerankers on 300 queries judged by Qwen 27B. candidates scoring almost as high as the positive are discarded as likely false negatives, and the 10 hardest remaining ones are kept, together with the raw teacher logits for distillation.
filters. a record is kept only if it passes every check: language, length, not copying the passage, faithfulness to the passage (judged by Qwen), retrievability, and no near-duplicates. reasoning questions must also be retrievable without sharing many words with the passage โ the strictest filter, which keeps only 37% of them.
splits. train, dev and test are split by document, so passages from the same Wikipedia article or the same law never end up on both sides.
๐ Reviewing the Test Split
a synthetic test is only useful if its errors are measured, so the whole test of A, B and C was reviewed by an LLM (Claude Sonnet 5.5), from a different model family than both the generator and the teacher. I then checked 30 of its objections by hand: 27 were well founded, 2 partly, 1 wrong.
| Subset | Wrong in the test, according to the review | 95% CI |
|---|---|---|
| A. Retrieval | 2.1% | 1.6โ2.9% |
| B. Reasoning | 12.2% | 9.2โ15.9% |
| C. Conversations | 26.8% | 21.4โ32.9% |
wrong test records were corrected and reviewed again, or removed. train and dev are not reviewed: since the test is a random sample by document, these rates are also the best estimate of their noise. Iโd rather publish these numbers than hide them โ B and C are harder to generate well, and the dataset card says so.
๐ Does Native Data Help?
this was the real question. I trained the same models, with the same recipe and the same number of queries, once on Nostrano and once on the best existing Italian training data I found: LightOnโs Italian fine-tuning collection, machine-translated from English and scored by an mxbai reranker.
the comparison covers three model families: a small embedding model (multilingual-e5-small), ItColBERT with one more distillation stage, and an Italian-ModernBERT reranker. nDCG@10 on four public Italian benchmarks; * = significant under a paired bootstrap.
| Model family | Training data | NanoBEIR-it | NanoMuPLeR-it | JuriFindIT | MLDR-it |
|---|---|---|---|---|---|
| e5-small | LightOn-it | 0.554 | 0.793 | 0.488 | 0.453 |
| e5-small | Nostrano | 0.538 | 0.851 | 0.504 | 0.458 |
| ย | difference | โ0.016* | +0.058* | +0.016 | +0.005 |
| ItColBERT | LightOn-it | 0.527 | 0.903 | 0.482 | 0.412 |
| ItColBERT | Nostrano | 0.521 | 0.939 | 0.502 | 0.472 |
| ย | difference | โ0.006 | +0.036* | +0.020 | +0.060* |
| reranker | LightOn-it | 0.574 | 0.937 | 0.622 | 0.529 |
| reranker | Nostrano | 0.572 | 0.966 | 0.605 | 0.560 |
| ย | difference | โ0.002 | +0.029* | โ0.016 | +0.032 |
what this says, honestly:
- legal domain: Nostrano wins clearly on EU law in all three families, and on long Wikipedia documents with ColBERT
- general domain: mostly a tie, with a small loss for the embedding model on NanoBEIR-it โ LightOnโs collection covers task types that Nostrano doesnโt, like web search and duplicate questions
- Italian law (JuriFindIT): no significant difference. its questions are mostly practical cases (โthis happened to me: which rule applies?โ), a query type Nostrano doesnโt have yet
one more thing I learned along the way: with plain contrastive training, without teacher scores, the two datasets are basically on par. much of Nostranoโs advantage comes from the teacher scores and curated negatives, not just from the Italian text.
I also checked for contamination: at most one query and one document overlap with NanoBEIR-it, NanoMuPLeR-it and MLDR-it; JuriFindIT shares 6 of 179 queries at the 8-gram level, and removing them doesnโt change any comparison.
โ ๏ธ Limitations
- synthetic queries from one generator โ cleaner and more regular than what real users type
- Qwen everywhere in the pipeline (generator, judges, mining embedding), so evaluating Qwen-family models on the test splits may overrate them
- two domains only: encyclopedia and national legislation, and the legal text is unofficial and in force at one date
- a small corpus: the tests are mainly useful to compare models trained on this data, not for absolute measures
- noise in B and C train, estimated at 12% and 27%
๐ Whatโs Next
the next version will add practical legal cases โ questions that describe a situation and ask for the applicable rule โ which is exactly where todayโs models trained on Nostrano still struggle. the first model trained on Nostrano is Setaccio, a small Italian reranker with its own write-up.
๐ Links
- ๐ค Dataset: huggingface.co/datasets/enricollen/nostrano โ data, dataset card, quality report and licenses
- ๐ Code: github.com/enricollen/nostrano โ the full pipeline, prompts, filters and comparison results (a star โญ is always appreciated)
- ๐ Reranker trained on it: huggingface.co/enricollen/setaccio-reranker-base
if you train Italian retrieval or RAG models, give it a try and tell me what works and what doesnโt on your data.
