Datasets:
Sub-tasks:
document-retrieval
Languages:
Italian
Size:
10K<n<100K
Tags:
Synthetic
conversational-search
italian
information-retrieval
hard-negatives
knowledge-distillation
License:
Release Nostrano v0
Browse filesFiles changed (28)
- .gitattributes+4
- README.mdAdded+346
- normattiva/corpus.jsonlAdded+3
- normattiva/dev/A.jsonlAdded
- normattiva/dev/B.jsonlAdded
- normattiva/dev/C.jsonlAdded
- normattiva/dev/D.jsonlAdded
- normattiva/test/A.jsonlAdded
- normattiva/test/B.jsonlAdded
- normattiva/test/C.jsonlAdded
- normattiva/test/D.jsonlAdded
- normattiva/train/A.jsonlAdded+3
- normattiva/train/B.jsonlAdded
- normattiva/train/C.jsonlAdded
- normattiva/train/D.jsonlAdded
- wiki/corpus.jsonlAdded+3
- wiki/dev/A.jsonlAdded
- wiki/dev/B.jsonlAdded
- wiki/dev/C.jsonlAdded
- wiki/dev/D.jsonlAdded
- wiki/test/A.jsonlAdded
- wiki/test/B.jsonlAdded
- wiki/test/C.jsonlAdded
- wiki/test/D.jsonlAdded
- wiki/train/A.jsonlAdded+3
- wiki/train/B.jsonlAdded
- wiki/train/C.jsonlAdded
- wiki/train/D.jsonlAdded
57 unmodified lines58596057 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -text57 unmodified lines5859606162636457 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -textnormattiva/corpus.jsonl filter=lfs diff=lfs merge=lfs -textnormattiva/train/A.jsonl filter=lfs diff=lfs merge=lfs -textwiki/corpus.jsonl filter=lfs diff=lfs merge=lfs -textwiki/train/A.jsonl filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346---language:- itlicense:- cc-by-sa-4.0- cc-by-4.0pretty_name: "Nostrano: native Italian data for retrieval and RAG"size_categories:- 10K<n<100Ktask_categories:- text-retrieval- text-ranking- question-answeringtask_ids:- document-retrievaltags:- conversational-search- italian- information-retrieval- hard-negatives- knowledge-distillation- synthetic- rag- query-rewriting- legal- wikipediaconfigs:- config_name: wiki_A data_files: [{split: train, path: wiki/train/A.jsonl}, {split: validation, path: wiki/dev/A.jsonl}, {split: test, path: wiki/test/A.jsonl}]- config_name: wiki_B data_files: [{split: train, path: wiki/train/B.jsonl}, {split: validation, path: wiki/dev/B.jsonl}, {split: test, path: wiki/test/B.jsonl}]- config_name: wiki_C data_files: [{split: train, path: wiki/train/C.jsonl}, {split: validation, path: wiki/dev/C.jsonl}, {split: test, path: wiki/test/C.jsonl}]- config_name: wiki_D data_files: [{split: train, path: wiki/train/D.jsonl}, {split: validation, path: wiki/dev/D.jsonl}, {split: test, path: wiki/test/D.jsonl}]- config_name: wiki_corpus data_files: [{split: corpus, path: wiki/corpus.jsonl}]- config_name: normattiva_A data_files: [{split: train, path: normattiva/train/A.jsonl}, {split: validation, path: normattiva/dev/A.jsonl}, {split: test, path: normattiva/test/A.jsonl}]- config_name: normattiva_B data_files: [{split: train, path: normattiva/train/B.jsonl}, {split: validation, path: normattiva/dev/B.jsonl}, {split: test, path: normattiva/test/B.jsonl}]- config_name: normattiva_C data_files: [{split: train, path: normattiva/train/C.jsonl}, {split: validation, path: normattiva/dev/C.jsonl}, {split: test, path: normattiva/test/C.jsonl}]- config_name: normattiva_D data_files: [{split: train, path: normattiva/train/D.jsonl}, {split: validation, path: normattiva/dev/D.jsonl}, {split: test, path: normattiva/test/D.jsonl}]- config_name: normattiva_corpus data_files: [{split: corpus, path: normattiva/corpus.jsonl}]---
# Nostrano
Nostrano ("homegrown" in Italian) is a dataset for Italian information retrieval and retrieval-augmented generation (RAG). It is built from **texts originally written in Italian**, not translated from English:- Italian Wikipedia;- national legislation from Normattiva.
Questions, conversations and judgments are generated by a local LLM (Qwen 3.8 27B), mined for hard negatives, scored by a reranker teacher (Nemotron-3.5-Rerank-8B) and filtered in several passes. The test split of A, B and C is reviewed in full.
| Subset | Content | Size | Use || --- | --- | --- | --- || **A. Retrieval** | Simple questions with their positive passage, 10 hard negatives and teacher scores | 59,828 queries | Training and distilling retrievers and rerankers || **B. Reasoning** | Questions linked to the passage by one logical step (implication, concrete case, comparison, calculation), with explanation and answer | 12,403 queries | Retrievers that go beyond word overlap || **C. Conversations** | Three-turn dialogues with context-dependent questions, their full rewrite and per-turn dependency signals | 7,571 conversations | Query rewriting in conversational search and RAG || **D. Decisions** | For a query and 10 candidates: relevance 0–3, "contains the answer", "none answers" (soft labels) | 9,997 queries | Decision modules of RAG systems (whether to answer, with which passages) |
**Version:** v0.
**Related model:** [Setaccio](https://huggingface.co/enricollen/setaccio-reranker-base), an Italian reranker (135M) trained on A and B.
## Uses
**Direct use**- **A and B:** training and distilling Italian embedding models, late-interaction models (ColBERT) and rerankers. Every query comes with hard negatives and teacher logits, so contrastive training, distillation, or both are possible.- **C:** benchmark and training data for conversational query rewriting.- **D:** benchmark and training data for answer and abstention decisions in RAG.- **Test splits:** in-domain evaluation of models trained on this data.
We show the training value of A and B in [Training results](#training-results). For C and D we do not yet have evidence that they improve models: we publish them as resources and benchmarks.
**Out-of-scope use**- **Legal advice.** The legislation is the text in force at one date, unofficial, and the questions are synthetic.- **Absolute retrieval quality.** The corpus is small (33,617 passages), so the tests are easier than real search. Use external benchmarks for that.- **Real user behavior.** Generated queries are cleaner than real ones.
## Training results
We trained the same models, with the same recipe and the same number of queries, once on Nostrano (A+B) and once on the best existing Italian training data, [LightOn's embeddings-fine-tuning-filtered-it](https://huggingface.co/datasets/lightonai/embeddings-fine-tuning-filtered-it). That data is machine-translated from English and comes with mxbai reranker scores; we left out its MLDR split because MLDR-it is one of our benchmarks.- **Sample:** 65,787 queries per side, each with a positive and 10 negatives.- **Teacher temperatures:** matched so that both teachers give the same median probability to the positive (0.57). The reranker rows are therefore Setaccio v1; the published Setaccio uses a sharper target and is on par with it.- **Metric:** nDCG@10 on four public Italian benchmarks. - NanoBEIR-it: general domain, translated from English. - NanoMuPLeR-it: EU law. - JuriFindIT: Italian law. - MLDR-it: Wikipedia, long documents.- **Significance:** differences marked * have a paired-bootstrap 95% interval that excludes zero.
| Model family | Training data | NanoBEIR-it | NanoMuPLeR-it | JuriFindIT | MLDR-it ||---|---|---|---|---|---|| Embedding: multilingual-e5-small, contrastive + distillation | none (base model) | 0.533 | 0.804 | 0.448 | 0.408 || | LightOn-it | **0.554** | 0.793 | 0.488 | 0.453 || | **Nostrano** | 0.538 | **0.851** | **0.504** | **0.458** || | *Nostrano − LightOn* | −0.016* | **+0.058**\* | +0.016 | +0.005 || ColBERT: [ItColBERT](https://huggingface.co/enricollen/ItColBERT) + one distillation stage | none (ItColBERT) | **0.555** | 0.933 | 0.485 | 0.403 || | LightOn-it | 0.527 | 0.903 | 0.482 | 0.412 || | **Nostrano** | 0.521 | **0.939** | **0.502** | **0.472** || | *Nostrano − LightOn* | −0.006 | **+0.036**\* | +0.020 | **+0.060**\* || Reranker: Italian-ModernBERT-base, listwise distillation | LightOn-it | **0.574** | 0.937 | 0.622 | 0.529 || | **Nostrano** | 0.572 | **0.966** | 0.605 | **0.560** || | *Nostrano − LightOn* | −0.002 | **+0.029**\* | −0.016 | +0.032 |
- **Legal domain:** Nostrano beats LightOn-it on EU law in all three model families, and on long documents with ColBERT. On Italian law (JuriFindIT) the differences are not significant.- **General domain:** the two are on par, except a small loss with the embedding model (−0.016 on NanoBEIR-it). LightOn-it covers more task types, such as web search, duplicate questions and argument retrieval.- **Against no extra training:** fine-tuning e5-small on Nostrano improves all four benchmarks. The gains on the three domain benchmarks are significant (+0.047, +0.057, +0.050).- **Where the gains come from:** we also trained e5-small with contrastive training only (2 negatives, no teacher scores). Nostrano and LightOn-it are then on par on the three domain benchmarks, LightOn-it is better on NanoBEIR-it (−0.027*), and Nostrano beats [nickprock/it-wiki-retrieval-synthetic-hn](https://huggingface.co/datasets/nickprock/it-wiki-retrieval-synthetic-hn) on three benchmarks out of four. Much of Nostrano's advantage comes from the teacher scores and the curated negatives.- **ItColBERT caveat:** ItColBERT was already trained on general data. One more distillation stage on either dataset lowers its NanoBEIR-it score, so specialization costs some general quality there.
**Contamination check.** We compared the benchmarks with Nostrano's corpus and training queries:- **Documents:** a document counts as contaminated if at least half of its word 13-grams appear in our corpus.- **Queries:** a query counts as touched if it shares a word 8-gram with our A, B and C training queries.
| Benchmark | Queries touched | Documents contaminated ||---|---|---|| NanoBEIR-it | 1 / 649 | 0 || NanoMuPLeR-it | 0 / 200 | 1 || JuriFindIT | 6 / 179 | 295 / 20,144 || MLDR-it | 1 / 200 | 1 |
The JuriFindIT documents are articles of the same Italian codes that are in our corpus. The 6 touched queries are hard for every reranker we evaluated, and removing them does not change the reranker comparison.
## Corpus
| Subset | Source | Passages | Documents | Words per passage (median) | License || --- | --- | --- | --- | --- | --- || `wiki` | Italian Wikipedia, dump `20231101.it` (`wikimedia/wikipedia`) | 18,002 | 11,318 | 283 | CC BY-SA 4.0 || `normattiva` | Normattiva open data (`dati.normattiva.it` API): codes, consolidated acts, constitutional laws, legislative decrees, decree-laws and conversion laws, budget laws, transpositions of EU directives, regulations | 15,615 | 6,916 | 226 | CC BY 4.0 |
- **Passages:** 120–350 words, following paragraphs, articles and clauses; at most 3 passages per document.- **Cleaning:** Unicode normalization; removal of markup, unreadable tables and bulleted lists; for legislation, removal of closing formulas (seal, signatures, registrations).- **Language and duplicates:** language detection, exact and near-duplicate removal (MinHash).- **Legislation:** the text in force, downloaded in 2026.
Every passage has `passage_id`, `doc_id`, title, source, domain, license and URL. Normattiva passages also have the URN, the date in force and the attribution sentence.
## Dataset structure
Records point to the corpus by `passage_id`: negative texts are not copied into the records. A negative can come from the other subset (for example a Normattiva passage as negative of a Wikipedia question), so using the negatives needs both corpora.
Field names and categorical values are in Italian.
**A** (B adds `reasoning_type`, `rationale` and `answer`):```json{"query_id": "A:wiki:464746:p0:0", "query": "...", "query_type": "domanda_specifica", "persona": "turista", "positive": "wiki:464746:p0", "negatives": ["...", "..."], "teacher": {"model": "nvidia/Nemotron-3.5-Rerank-8B-BF16", "scores": [1.23, -0.85, "..."]}, "gen": {"model": "qwen3.8-27b", "prompt": "A-v5"}, "license": "CC-BY-SA-4.0"}```- `query_type`: `domanda_specifica` (specific question), `ricerca_per_parole_chiave` (keyword query) or `domanda_generica` (broad question).- `teacher.scores`: the score of the positive followed by those of the negatives, in the same order. They are **raw teacher logits**, not probabilities, meant for a distillation loss with a softmax (as in PyLate or Sentence Transformers' ListNet). Their sigmoid is compressed (roughly 0.02–0.27) and would give an almost flat distribution. Divide them by a temperature below 1 for a sharper target; we used 0.36–0.53.- `pochi_negativi` ("few negatives", v0 only) and `positives_extra`: see [Negatives and teacher](#negatives-and-teacher), step 6. The logits of the extra positives are in `teacher.scores_positives_extra`.
**C**: every turn has `user`, `rewrite`, `answer`, `gold_passage` and `segnali` (signals):- `rango_domanda`: rank of the gold passage when searching with the question alone (`null` beyond rank 100);- `rango_riscrittura`: the same rank when searching with the rewrite;- `parole_aggiunte`: content words that the rewrite adds to the question.
With these fields you can pick your own subset of "truly dependent" turns, as is done with QReCC and CANARD.
**D** (the test also has `query`, the judged text):```json{"query_id": "A:...", "candidates": ["p1", "..."], "decisions": {"pertinenza": {"p1": {"3": 0.8, "2": 0.2}}, "contiene_risposta": {"p1": 0.93}, "nessuno_risponde": 0.02}, "label_source": {"pertinenza": "qwen_logprob", "contiene_risposta": "qwen_logprob", "nessuno_risponde": "costruzione"}}````pertinenza` is relevance, `contiene_risposta` is "contains the answer", `nessuno_risponde` is "none answers".
**Test only**:- `revisione`: the judgment of the LLM reviewer (`revisore`, `prompt`, `voto`, `motivi`, `nota`). If the record was corrected, it also has `corretto`, `correzione` and `voto_dopo_correzione`. `verifica_umana_obiezione` is set if a person checked the reviewer's objection.- `originale`: for corrected records, the fields before the correction.- In corrected A and B records, negatives and teacher scores are those computed for the original query (`revisione.negativi_della_query_originale`). In corrected conversations, `segnali` are those of the original turns (`revisione.segnali_originali`).
### Splits
- Splits are **by document**: all passages of a document are in the same split, shared by the four subsets.- Queries marked `pochi_negativi` (and their D records) are kept out of the test, because they probably have more than one correct passage.- Test and dev are about 3% each; the rest is train. Minimum test sizes: 500 A queries, 300 B, 200 C conversations, 300 D queries.
| Split | A | B | C | D | Documents || --- | --- | --- | --- | --- | --- || train | 56,176 | 11,632 | 7,112 | 9,349 | 16,947 || dev | 1,795 | 375 | 231 | 336 | 529 || test | 1,844 | 364 | 228 | 311 | 583 |
## Dataset creation
### Generation
- **Model:** Qwen 3.8 27B (Apache-2.0), quantized `UD-Q4_K_XL`, served by llama.cpp. Thinking is off; output is constrained to a JSON schema and validated with Pydantic.- **Questions (prompt `A-v5`, temperature 0.7):** for each passage, 2 A questions of different types and 1 B question with explanation and answer. The model can mark a passage as unsuitable, and the passage is then dropped.- **Conversations (prompt `C-v2`, temperature 0.5):** for each pair of consecutive passages of the same document, 3 turns. The model first writes the full rewrite, then derives the contextual question by removing context.- **Personas:** each call draws one of 14 profiles to vary style and vocabulary: - citizen, municipal clerk, lawyer, accountant; - students, journalist, small business owner, retiree; - teacher, researcher, procurement officer, tourist, enthusiast.
### Negatives and teacher
1. **Hybrid search:** Italian BM25 (bm25s, Italian stemmer and stopwords) and Qwen3-Embedding-8B, fused with RRF (k = 60); top 100 candidates per query.2. **First stage:** bge-reranker-v2-m3 scores the positive and the top 50 candidates, only to order them.3. **Second stage (teacher):** Nemotron-3.5-Rerank-8B scores the positive and the top 15 candidates of the first stage.4. **False negatives:** every candidate with teacher logit ≥ positive logit − 0.5 is discarded.5. **Kept negatives:** the 10 hardest of the remaining ones, with their scores.6. **Queries with few negatives:** if fewer than 5 negatives remain after step 4, the query is marked `pochi_negativi`. This is about 2% of the queries, mostly B. Qwen 27B then judges the discarded candidates. Those that contain the answer become `positives_extra`; the others go back among the negatives, as in RLHN (arXiv 2505.16967). These queries are never in the test.
How the teacher and the threshold were chosen:- **Comparison:** on 300 queries judged by Qwen 27B we compared 7 rerankers and 3 embedding models.
| Teacher candidate | Agreement with Qwen (nDCG@10) | False-negative detection (AUC) | | --- | --- | --- | | Nemotron-3.5-Rerank-8B | 0.962 | 0.911 | | bge-reranker-v2-m3 | 0.907 | 0.805 |
- **Threshold −0.5:** on the same data it removes about 2 false negatives out of 3 and discards one candidate per query on average.- **Remaining false negatives** among the kept negatives are estimated at about 1–2.6%, according to Qwen's judgments.
### Filters
A record is kept only if it passes every filter.
| Filter | Rule | Subsets || --- | --- | --- || Schema | valid, complete JSON | all || Language | query in Italian (dropped only if the Italian confidence is < 0.05) | A, B, C || Length | 4–40 words | A, B || Copying | less than 70% of the word trigrams copied from the passage | A, B || Faithfulness | Qwen judges that the question (and the answer, for B) contains only facts from the passage: P(yes) ≥ 0.5 | A, B || Retrievability | positive in the top 20 of hybrid search | A || Hard retrievability | positive in the top 100 and lexical overlap < 0.5 | B || Answer not copied | the B answer is not a sentence copied from the passage | B || Duplicates | no near-identical query (MinHash) | A, B || Rewrite | every rewrite finds its passage in the top 10; the question of a dependent turn, alone, does not find it in the top 3 | C |
Kept: A 89.0% (59,828 of 67,218), B 37.0% (12,403 of 33,481), C 49.2% (7,571 of 15,383). The strictest filter for B is hard retrievability: with low lexical overlap the positive is often outside the top 100.
### Decisions (D)
- **Queries:** 10,000 kept A and B queries, half per source (9,997 in the splits). Keyword queries are excluded, because "contains the answer" needs a question.- **Candidates:** the positive and the first 9 negatives.- **Judgments:** Qwen 27B reads the query and the candidate. We read the probabilities of the answer tokens, without generating text. - Relevance (prompt `D-pert-v2`): distribution over grades 0–3. - "Contains the answer" (prompt `D-ans-v2`): probability of "yes".- **"None answers"** is computed, not judged: the product of (1 − P(contains)) over the candidates other than the positive, assuming independence.
### Who produced the data
- **Source texts:** the contributors of Italian Wikipedia, and the Italian State (Normattiva, published by the Istituto Poligrafico e Zecca dello Stato).- **Questions, answers, conversations and D labels:** generated by Qwen 3.8 27B.- **Negatives' scores:** Nemotron-3.5-Rerank-8B.- **Test review:** by an LLM, with a human check of its objections (next section).
### Personal and sensitive information
The texts are encyclopedia articles and legislation. Wikipedia articles can name public figures. We did not add personal data, and the personas are generic profiles, not real people.
## Quality
- **Pilot review:** 1,000 passages, 110 records judged blind. - A: 40/40 correct. - B: 37 correct and 3 acceptable out of 40. - C: 30/30.- **Review of discarded records:** 55 records. It led us to remove one filter (teacher consistency) that discarded correct questions.- **Test review (A, B, C in full):** - **Reviewer:** an LLM, Claude Sonnet 5.5 (high reasoning, prompt `R-v1`). It belongs to a different family from the generator (Qwen) and the teacher (Nemotron). For each record it reads the query, the positive passage and, for B, the negatives. It rates the record correct, acceptable or wrong, with reasons. - **Human check:** a person checked 30 of Sonnet's rejections (10 per subset) by reading the objection. - A: 10 well founded out of 10. - B: 7 well founded, 2 partly, 1 unfounded. - C: 10 well founded out of 10.
Sonnet's rejections are therefore reliable. How many errors Sonnet does *not* see is not measured. - **Earlier blind check, not used as a measure:** a first human check (55 items, half rejected by Sonnet) rated almost all of them correct, including the rejected ones. When 4 of those objections were checked against the texts, 3 were true. - **Outcome and cleanup:**
| Subset | Test | Wrong according to Sonnet (95% CI) | Corrected | Removed | Published test | | --- | --- | --- | --- | --- | --- | | A | 1,844 | 39: 2.1% (1.6–2.9%) | 39 | 0 | 1,844 | | B | 370 | 45: 12.2% (9.2–15.9%) | 39 | 6 | 364 | | C | 228 | 61: 26.8% (21.4–32.9%) | 61 | 0 | 228 |
Sonnet corrected the wrong records (prompt `R-fix-v1`: minimal edits, only facts from the passage, same positive). The corrections were reviewed again with `R-v1`, and records still wrong or beyond repair were removed. - **Most frequent errors:** in B, the answer or the logical step does not match the passage. In C, the rewrite does not match the question in context, or the turn does not really depend on the previous ones.- **Train and dev are not reviewed.** The test is a random sample by document, so its error rates are estimates for train and dev: about **2% wrong records in A, 12% in B, 27% in C**. For C, use the `segnali` to select the most solid turns.- **D is not reviewed**, not even in the test, so the accuracy and calibration of Qwen's judgments are not measured. Indirect check on the test: Qwen gives relevance 3 to the positive in 87.5% of the queries, and P(contains the answer) ≥ 0.5 in 95.5%.
## Bias, risks and limitations
- **Synthetic text from a single generator.** Queries are cleaner and more regular than real ones, which are short and contain typos and acronyms. Personas add variety but do not replace real queries.- **Possible advantage for Qwen models.** The generator, the faithfulness judge, the D judge and the mining embedding are all Qwen models, so evaluating Qwen-family models on these tests may overrate them. The teacher (Nemotron, Mistral base) is from another family.- **Domains.** Only encyclopedia and national legislation: no procurement, local administration, commerce or news. No questions describing a practical case (facts → applicable rule), which is common in legal search.- **Small corpus for a benchmark.** With 33,617 passages, retrieval is easier than on real corpora: on the pilot queries, hybrid search finds the positive in the top 20 in 93% of cases. The tests are mainly useful to compare models trained on this data. For absolute measures, use a larger distractor corpus or an external benchmark.- **Noise in B and C train** (about 12% and 27% wrong records, estimated on the test). This is above the 10% target we set. The test is cleaned. Synthetic training data is commonly released without human review of the train split, but users should keep this in mind.- **LLM-reviewed test.** The test was reviewed by Claude Sonnet 5.5, with human checks only on its objections (30). Errors that Sonnet misses can remain. The D test is judged only by Qwen.- **C does not yet show training value.** In our experiments, small rewriters (Qwen3 0.6B and 1.7B) fine-tuned on C retrieved worse than simply concatenating the history and the question. The reference rewrites sometimes borrow words from the gold passage, and small models learn to invent such words. C is better used as a benchmark, or with filtering through the `segnali`.- **Soft labels.** D judgments and teacher scores are model probabilities and logits, not ground truth. Some false negatives (about 1–2.6%) can remain among the negatives.- **Search-based filters.** Retrievability and rewrite filters depend on the retriever (Qwen3-Embedding-8B + BM25): another retriever would keep different records.
## Licenses and attribution
The dataset has two subsets by license. Every record carries the license of the source of its positive passage, or of its passage pair for C.
**`wiki`: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)**- **Source:** Italian Wikipedia texts, © Wikipedia contributors, from the `20231101.it` dump. The dump is [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/); adaptations are released under CC BY-SA 4.0, as section 4(b) of 3.0 allows.- **Attribution:** every passage has the article title and URL.- **Changes:** text split into passages and cleaned; questions, answers, conversations and rewrites generated by Qwen 3.8 27B from the passages.- **Share-alike:** as a precaution, the text generated from Wikipedia passages is also released under CC BY-SA 4.0.
**`normattiva`: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)**- **Source:** [Normattiva](https://www.normattiva.it/), Istituto Poligrafico e Zecca dello Stato, open data from [dati.normattiva.it](https://dati.normattiva.it/), released under CC BY 4.0 since 1 January 2026. **Unofficial text**: only the Gazzetta Ufficiale is authentic.- **Attribution:** every passage has the ELI URL, the URN and the attribution sentence.- **Changes:** text in force split into passages by article and clause, normalized, closing formulas and bulleted lists removed; questions, answers and conversations generated by Qwen 3.8 27B.
**Other components**- **Model outputs:** - Qwen 3.8 27B is Apache-2.0, with no restrictions on its output. - Nemotron-3.5-Rerank-8B's scores are model outputs, free of restrictions and obligations under its license (OpenMDW-1.1). - bge-reranker-v2-m3 and Qwen3-Embedding-8B (Apache-2.0) were used only to select candidates.- **Combining the subsets:** CC BY material can go into a CC BY-SA collection, but not the other way round. A merge of the two subsets must be released under CC BY-SA 4.0.- **Models trained on this data:** whether the weights of a model trained on CC BY-SA text are an "adaptation" subject to share-alike is an open legal question. Common practice does not treat them as such, but model publishers should assess it.
## Reproducibility
- **Code:** the pipeline is in the [`enricollen/nostrano`](https://github.com/enricollen/nostrano) repository. - versioned prompts: `configs/prompts/`; - thresholds: `src/nostrano/filters/rules.py`; - comparisons: `results/`.- **Versions:** all models are pinned to a revision, and every record states its model and prompt version.- **Resumable runs:** work queues are kept on disk.
## Citation
```bibtex@misc{nello2026nostrano, author = {Nello, Enrico}, title = {Nostrano: native Italian data for retrieval and RAG}, year = {2026}, publisher = {Hugging Face}, howpublished = {\url{https://huggingface.co/datasets/enricollen/nostrano}}}```123version https://git-lfs.github.com/spec/v1oid sha256:03035298e1c8d08164f28d689079496ccd0f4f127d7e1396b7d33590314825cbsize 36980034123version https://git-lfs.github.com/spec/v1oid sha256:572694dc7055567127303e12da72f6bb54526dd813a90c57cdc63e731486f437size 19356198123version https://git-lfs.github.com/spec/v1oid sha256:42c3feb3535058f263e7bca22431629c2c9bcb960153a643ea65da8cf13b9a8dsize 35075294123version https://git-lfs.github.com/spec/v1oid sha256:e6384461eea65694d8f008f0968559de7e14563bbda632ba43547ed40fb3ea4bsize 21988932.gitattributes+4
README.mdAdded+346
normattiva/corpus.jsonlAdded+3
normattiva/dev/A.jsonlAdded
normattiva/dev/B.jsonlAdded
normattiva/dev/C.jsonlAdded
normattiva/dev/D.jsonlAdded
normattiva/test/A.jsonlAdded
normattiva/test/B.jsonlAdded
normattiva/test/C.jsonlAdded
normattiva/test/D.jsonlAdded
normattiva/train/A.jsonlAdded+3
normattiva/train/B.jsonlAdded
normattiva/train/C.jsonlAdded
normattiva/train/D.jsonlAdded
wiki/corpus.jsonlAdded+3
wiki/dev/A.jsonlAdded
wiki/dev/B.jsonlAdded
wiki/dev/C.jsonlAdded
wiki/dev/D.jsonlAdded
wiki/test/A.jsonlAdded
wiki/test/B.jsonlAdded
wiki/test/C.jsonlAdded
wiki/test/D.jsonlAdded
wiki/train/A.jsonlAdded+3
wiki/train/B.jsonlAdded
wiki/train/C.jsonlAdded
wiki/train/D.jsonlAdded