license: mit
task_categories:
- question-answering
language:
- en
- de
- ar
size_categories:
- 1K<n<10K
nn-auto-bench-ds
nn-auto-bench-ds
is a dataset designed for key information extraction (KIE) and serves as a benchmark dataset for nn-auto-bench.
Dataset Overview
The dataset comprises 1,000 documents, categorized into the following types:
- Invoice
- Receipt
- Passport
- Bank Statement
The documents are primarily available in English, with some also in German and Arabic. Each document is annotated for key information extraction and specific tasks. The dataset can be used to compute LLM's oneshot performance on KIE tasks.
Dataset Schema
The dataset includes the following columns:
image_path
: File path to the document image.content
: OCR-extracted text from the image.accepted
: Ground truth answer.Queried_labels
: Labels, fields, or keys targeted for extraction.Queried_col_headers
: Column headers targeted for extraction.ctx_1
: OCR text from an example document.ctx_1_image_path
: File path to the example document’s image.ctx_1_accepted
: Ground truth answer for the example document.
There are total 54 unique fields/keys/labels that we want to extract from the documents.
Loading the Dataset
To load the dataset in Python using the datasets
library:
from datasets import load_dataset
dataset = load_dataset("nanonets/nn-auto-bench-ds")
Data Sources
This dataset aggregates information from multiple open-source datasets, including:
- German Invoices Dataset
- Personal Financial Dataset for India
- RVL-CDIP Invoice Dataset
- FATURA Dataset
- Find It Again
- Generated USA Passports Dataset
- Synthetic Passports Dataset
This dataset is valuable for benchmarking key information extraction models and advancing research in document understanding and natural language processing (NLP).