Dataset Viewer
Auto-converted to Parquet Duplicate
source
large_stringlengths
10
12
messages
listlengths
3
3
it_train_0
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nemail: an email ad...
it_train_1
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nindirizzo: the street address of a person, organization, or location.\nragione-sociale: the official legal or registered name of a company or busi...
it_train_2
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nnazione: the name of a country.\n" }, { "role": "user", "content": "Allegato 2\nMinistero della Difesa\nENTE/REPARTO DI ULTIMA APPARTE...
it_train_3
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nprovincia: the name or abbreviation of the province associated wi...
it_train_4
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\ndata: a date.\nnot...
it_train_5
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nprovincia: the name or abbreviation of the province associated wi...
it_train_6
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nprovincia: the name or abbreviation of the province associated wi...
it_train_7
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\ncodice-fiscale: th...
it_train_8
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncomune: the name of the municipality or city.\nemail: an email address.\nindirizzo: the street address of a person, organization, or location.\nte...
it_train_9
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncomune: the name of the municipality or city.\nprovincia: the name or abbreviation of the province associated with a location.\nemail: an email ad...
it_train_10
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nemail: an email address.\ncodice-fiscale: the Italian tax identif...
it_train_11
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nemail: an email ad...
it_train_12
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nprovincia: the nam...
it_train_13
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nprovincia: the nam...
it_train_14
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nprovincia: the nam...
it_train_15
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nemail: an email address.\ncodice-fiscale: the Italian tax identif...
it_train_16
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\ncodice-fiscale: th...
it_train_17
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncomune: the name of the municipality or city.\ndata: a date.\nluogo: the name of a place or geographical location.\nfax: a fax telephone number.\n...
it_train_18
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\ncodice-fiscale: th...
it_train_19
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nemail: an email ad...
it_train_20
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ndata: a date.\nnome-completo: the full name of a person, including their first name and surname.\nluogo: the name of a place or geographical locat...
it_train_21
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nprovincia: the nam...
it_train_22
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nemail: an email address.\n" }, { "role": "user", "content": "Programma di protezione dello stipendio\nModulo di richiesta per il prest...
it_train_23
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nemail: an email address.\nindirizzo: the street address of a person, organization, or location.\ndata: a date.\ntelefono: a telephone or mobile ph...
it_train_24
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncodice-fiscale: the Italian tax identification code of a person o...
it_train_25
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nindirizzo: the street address of a person, organization, or locat...
it_train_26
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncomune: the name of the municipality or city.\nprovincia: the name or abbreviation of the province associated with a location.\nemail: an email ad...
it_train_27
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncomune: the name of the municipality or city.\nprovincia: the name or abbreviation of the province associated with a location.\nemail: an email ad...
it_train_28
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ndata: a date.\nluogo: the name of a place or geographical location.\n" }, { "role": "user", "content": "MF\nVISARNO\nARENA\nAnimation\...
it_train_29
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nprovincia: the nam...
it_train_30
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nprovincia: the name or abbreviation of the province associated wi...
it_train_31
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nemail: an email address.\ncodice-fiscale: the Italian tax identification code of a person or entity.\ntelefono: a telephone or mobile phone number...
it_train_32
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ndata: a date.\nnome-completo: the full name of a person, including their first name and surname.\nsesso: the sex of a person.\nnote: additional in...
it_train_33
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nemail: an email address.\nindirizzo: the street address of a pers...
it_train_34
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nprovincia: the nam...
it_train_35
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncomune: the name of the municipality or city.\nprovincia: the name or abbreviation of the province associated with a location.\nindirizzo: the str...
it_train_36
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nprovincia: the nam...
it_train_37
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nnome-completo: the...
it_train_38
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nindirizzo: the str...
it_train_39
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncomune: the name of the municipality or city.\nprovincia: the name or abbreviation of the province associated with a location.\nnome: the first na...
it_train_40
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nprovincia: the nam...
it_train_41
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncomune: the name of the municipality or city.\nprovincia: the name or abbreviation of the province associated with a location.\ncodice-fiscale: th...
it_train_42
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nprovincia: the name or abbreviation of the province associated wi...
it_train_43
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nprovincia: the nam...
it_train_44
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nprovincia: the name or abbreviation of the province associated wi...
it_train_45
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nnome: the first na...
it_train_46
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncodice-fiscale: the Italian tax identification code of a person or entity.\ndata-nascita: the date on which a person was born.\nragione-sociale: t...
it_train_47
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ndata: a date.\n" }, { "role": "user", "content": "Allegato 4 - bis -Modulo per la richiesta di garanzia su finanziamenti di importo fi...
it_train_48
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nprovincia: the name or abbreviation of the province associated wi...
it_train_49
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\nprovincia: the name or abbreviation of the province associated wi...
it_train_50
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ndata: a date.\nnome: the first name or given name of a person.\ncognome: the surname or family name of a person.\n" }, { "role": "user", ...
it_train_51
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncomune: the name of the municipality or city.\nprovincia: the name or abbreviation of the province associated with a location.\n" }, { "ro...
it_train_52
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nprovincia: the nam...
it_train_53
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nluogo-nascita: the place (city, town, or municipality) where a person was born.\ncomune: the name of the municipality or city.\nprovincia: the nam...
it_train_54
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\nnome-completo: the full name of a person, including their first name and surname.\n" }, { "role": "user", "content": "REGISTRAZIONE IN...
it_train_55
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncomune: the name of the municipality or city.\nprovincia: the name or abbreviation of the province associated with a location.\nemail: an email ad...
it_train_56
[ { "role": "system", "content": "Identify and extract information matching the following schema.\nReturn data as a JSON object. Missing data should be omitted.\n\ncomune: the name of the municipality or city.\nprovincia: the name or abbreviation of the province associated with a location.\ncodice-fiscale: th...
End of preview. Expand in Data Studio

xfund-kie — Italian XFUND → KIE (Key Information Extraction)

Original source & attribution

This dataset is derived from XFUND (https://github.com/doc-analysis/XFUND), the multilingual form-understanding dataset. The Italian (it) split — images (it.train/, it.val/) and underlying annotation files — was translated into a Key Information Extraction (KIE) task. The conversion pipeline and quality refinement were driven by Claude (Anthropic) in collaboration with manual analysis.

  • Upstream dataset: XFUND (Document Analysis / Form Understanding)
  • Upstream repo: https://github.com/doc-analysis/XFUND
  • Language split used: Italian (it.train, it.val)
  • Dataset folder: xfund-kie/

Methodology

  1. Source extraction: Starting from 4882 source question→answer links from the Italian XFUND split.
  2. Label-to-key mapping: Extracted field labels (e.g., Codice Fiscalecodice-fiscale) and mapped answers to structured keys. 2757 links (56%) mapped to a key; the rest are instruction paragraphs, list markers (il, n.), or del labels.
  3. Quality pipeline (automated + manual audit):
    • Dropped one-label, several-answers: 96 cases (table columns, option lists) where a single label spans multiple answers — not representable as a unique key-value pair.
    • Dropped same-key, different-value (duplicate key conflict): 394 fields. A document asserting the same key twice with different values breaks the single-value assumption required for KIE ground truth. Top duplicate-dropped keys:
      • indirizzo 41
      • codice-fiscale 38
      • telefono 33
      • nome-completo 31
      • cap 30
      • firma 27
      • data-nascita 24
    • Fixed ordering defect: The initial pipeline performed the "several answers" drop before the duplicate check, so a repeated field could silently fail to invalidate its single-answer sibling. This leaked 15 fields (1%) asserting a unique value that the page contradicted. Fixed; leaks are now 0.
  4. Final dataset: 1461 fields across 199 documents (0–16 keys per document). Reduced from 1476 fields after the fix.

Schema

xfund-kie/schema.json defines 37 extraction keys with natural-language descriptions. Examples:

  • codice-fiscale: Italian tax identification code
  • nome-completo: full name (given + surname)
  • data-nascita: date of birth
  • indirizzo: street address
  • telefono: telephone / mobile number
  • iban: International Bank Account Number
  • partita-iva: Italian VAT identification number

Full list in xfund-kie/schema.json.

Data format

  • xfund-kie/it.train.json — training split (lang: it, split: train)
  • xfund-kie/it.val.json — validation split (lang: it, split: val)

Each document contains:

  • id: document identifier (e.g., it_train_0)
  • image: path to source image (it.train/it_train_...jpg or it.val/it_val_...jpg — symlinked to ../xfund/)
  • text: extracted text from the form page
  • annotation: key-value mapping (only mapped / validated keys)
  • grounding: question (label text on page) and answer_id (position reference) for each annotated key

Residual ambiguity (transparent limitations)

Not all source content is cleanly extractable. Two categories remain after auditing:

1. Same type, different label — 151 / 517 type-checkable fields (95 docs)

Another value of the same shape exists on the page with a distinct label. Inspected cases: nearly all carry a clearly different label (e.g., Data rilascio 20/12/2019 vs Data inizio validità 30/12/2020). These are determinable from the label; the difficulty is KIE accuracy, not broken ground truth.

2. Same field, label rules miss — 68 flagged (49 docs)

Two sub-families:

  • Bare synonyms not matched by current rules: Codice Fis .:, Cod.fiscale, Numero telefono fisso. Example: it_val_4 has three CF-like strings; only Codice fiscale/P.IVA: maps, so the annotation claims one CF out of three. If these mapped, the duplicate rule would drop the key instead.
  • Qualified variants of a different entity: Tel. Referente, E-mail PEC, Codice Fiscale Azienda, Titolare di polizza: Cognome. These are currently ignored, so telefono = the subject's phone and the referent's is out of schema.

Users should treat annotations as validated single-value extractions, not exhaustive page transcriptions.

License / upstream terms

This derived dataset inherits the terms of the original XFUND dataset. Image links (xfund-kie/it.train/, xfund-kie/it.val/) are symlinks pointing to the upstream xfund/ folder to avoid duplication. The structured JSON files (it.train.json, it.val.json, schema.json) and this dataset card represent the refined KIE conversion.

Refinement process

  • Pipeline built with Claude Opus 5 + manual audit rules.
  • Duplicate-conflict and ordering-defect checks applied programmatically.
  • Residual ambiguity manually inspected on flagged subsets; no automatic removal of ambiguous cases that remain determinable by label.
  • Dataset version: post-fix (ordering leak resolved, 1461 fields retained).

Cite this project

@misc{gemelli2026xfundkieit
  title        = {XFUND-kie-it: A key information extraction italian subset of the original XFUND dataset},
  author       = {Gemelli, Andrea},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/datasets/andreagemelli/xfund-kie-it}}
}
Downloads last month
52

Models trained or fine-tuned on andreagemelli/xfund-kie-it

Collection including andreagemelli/xfund-kie-it