Dataset Viewer
Auto-converted to Parquet Duplicate
id
int64
1.25k
2.28k
inner_id
int64
2
1.03k
domain
stringclasses
16 values
source_image_paths
listlengths
1
26
local_images
listlengths
1
26
form_labels
unknown
pages
listlengths
0
5
relations
listlengths
0
309
1,253
2
শিক্ষা_সংক্রান্ত
[ "forms_jpg/শিক্ষা_সংক্রান্ত/সদস্যপদ-ফরম/Editable_public library membership form_page_1.jpg" ]
[ "images/শিক্ষা_সংক্রান্ত/form_1253__সদস্যপদ-ফরম/Editable_public library membership form_page_1.jpg" ]
{ "form_type": "Digital (pure)", "language": "Bangla", "difficulty_rating": 1 }
[ { "page": 0, "original_width": 2550, "original_height": 3301, "boxes": [ { "id": "OdZSBl3Rix", "label": "Text Block", "origin": "manual", "rotation": 0, "x": 10.7980227135, "y": 20.290814162, "width": 27.8086871104, "height": 10.2...
[ { "from_id": "3lXpnKWyhf", "to_id": "1uBg45jiiY", "direction": "right" }, { "from_id": "COB7Mkk_lw", "to_id": "4FjX1XHMOX", "direction": "right" }, { "from_id": "j71PKz913m", "to_id": "xoRTOGHIyh", "direction": "right" }, { "from_id": "-Bm8jekqXr", "to_id": "b...
1,254
3
শিক্ষা_সংক্রান্ত
[ "forms_jpg/শিক্ষা_সংক্রান্ত/ভাড়াটিয়া-নিবন্ধন-ফরম-।/Varatiya-Form-_page_1.jpg" ]
[ "images/শিক্ষা_সংক্রান্ত/form_1254__ভাড়াটিয়া-নিবন্ধন-ফরম-।/Varatiya-Form-_page_1.jpg" ]
{ "form_type": "Printed (digitally filled, printed, then scanned)", "language": "Bangla" }
[ { "page": 0, "original_width": 750, "original_height": 1000, "boxes": [ { "id": "Q5zGuGROcm", "label": "Figure/Diagram/Logo", "origin": "manual", "rotation": 0, "x": 24.7235844078, "y": 0, "width": 7.2829163372, "height": 5.030961...
[ { "from_id": "l8gqe_jeYZ", "to_id": "aiCxg5rOTm", "direction": "right" }, { "from_id": "eXKor9n8Zd", "to_id": "fCTkz9TK5d", "direction": "right" }, { "from_id": "2HgaG6neq_", "to_id": "pKpvAnvFFF", "direction": "right" }, { "from_id": "kYdaOcY-M_", "to_id": "m...
1,257
6
শিক্ষা_সংক্রান্ত
[ "forms_jpg/শিক্ষা_সংক্রান্ত/শিক্ষা-ক্যাডারের-কর্মকর্তার-ব্যক্তি/Editable_personal profile for BCS education cadres_page_1.jpg", "forms_jpg/শিক্ষা_সংক্রান্ত/শিক্ষা-ক্যাডারের-কর্মকর্তার-ব্যক্তি/Editable_personal profile for BCS education cadres_page_2.jpg", "forms_jpg/শিক্ষা_সংক্রান্ত/শিক্ষা-ক্যাডারের-কর্মকর্তার-...
[ "images/শিক্ষা_সংক্রান্ত/form_1257__শিক্ষা-ক্যাডারের-কর্মকর্তার-ব্যক্তি/Editable_personal profile for BCS education cadres_page_1.jpg", "images/শিক্ষা_সংক্রান্ত/form_1257__শিক্ষা-ক্যাডারের-কর্মকর্তার-ব্যক্তি/Editable_personal profile for BCS education cadres_page_2.jpg", "images/শিক্ষা_সংক্রান্ত/form_1257__শিক্...
{ "form_type": "Digital (pure)", "language": "Bangla", "difficulty_rating": 3 }
[ { "page": 0, "original_width": 2550, "original_height": 3301, "boxes": [ { "id": "Fr6Ppizshh", "label": "Header", "origin": "manual", "rotation": 0, "x": 39.4983673506, "y": 3.3972968012, "width": 25.033824399, "height": 5.0959452...
[ { "from_id": "ytDDXTJ7eJ", "to_id": "7uCCo1eKGk", "direction": "right" }, { "from_id": "ytDDXTJ7eJ", "to_id": "0aHhpgjq2m", "direction": "right" }, { "from_id": "uM-fZmCg58", "to_id": "WZ5_Loqq47", "direction": "right" }, { "from_id": "uM-fZmCg58", "to_id": "F...
1,258
7
শিক্ষা_সংক্রান্ত
[ "forms_jpg/শিক্ষা_সংক্রান্ত/এম.-ফিল.-ও-পিএইচ.-ডি/application-form_page_1.jpg", "forms_jpg/শিক্ষা_সংক্রান্ত/এম.-ফিল.-ও-পিএইচ.-ডি/application-form_page_2.jpg" ]
[ "images/শিক্ষা_সংক্রান্ত/form_1258__এম.-ফিল.-ও-পিএইচ.-ডি/application-form_page_1.jpg", "images/শিক্ষা_সংক্রান্ত/form_1258__এম.-ফিল.-ও-পিএইচ.-ডি/application-form_page_2.jpg" ]
{ "form_type": "Printed (digitally filled, printed, then scanned)", "language": "Bangla" }
[ { "page": 0, "original_width": 2481, "original_height": 3508, "boxes": [ { "id": "Sozv4cvgIu", "label": "Figure/Diagram/Logo", "origin": "manual", "rotation": 0, "x": 13.1184182051, "y": 4.1815787582, "width": 13.8574840195, "heig...
[ { "from_id": "7uEnTP2P21", "to_id": "X1IVQRfzwb", "direction": "right" }, { "from_id": "HVnCwPTetO", "to_id": "qh2fFh2H-W", "direction": "right" }, { "from_id": "vOgLhfG7c1", "to_id": "yQGnqVgZqz", "direction": "right" }, { "from_id": "XW0wXdcDMu", "to_id": "d...
1,262
11
শিক্ষা_সংক্রান্ত
[ "forms_jpg/শিক্ষা_সংক্রান্ত/রিসার্চ-ফেলোশিপ-আবেদন-ফরম।/2022-01-03-05-42-e5bac029bfba92bc97f2abf41ea3b428_page_1.jpg", "forms_jpg/শিক্ষা_সংক্রান্ত/রিসার্চ-ফেলোশিপ-আবেদন-ফরম।/2022-01-03-05-42-e5bac029bfba92bc97f2abf41ea3b428_page_2.jpg" ]
[ "images/শিক্ষা_সংক্রান্ত/form_1262__রিসার্চ-ফেলোশিপ-আবেদন-ফরম।/2022-01-03-05-42-e5bac029bfba92bc97f2abf41ea3b428_page_1.jpg", "images/শিক্ষা_সংক্রান্ত/form_1262__রিসার্চ-ফেলোশিপ-আবেদন-ফরম।/2022-01-03-05-42-e5bac029bfba92bc97f2abf41ea3b428_page_2.jpg" ]
{ "form_type": "Printed (digitally filled, printed, then scanned)", "language": "Bangla", "difficulty_rating": 1 }
[ { "page": 0, "original_width": 2480, "original_height": 3505, "boxes": [ { "id": "EA_nJ1Zpip", "label": "Gibberish, Mark for removal", "origin": "manual", "rotation": 0, "x": 2.4579242637, "y": 92.0158102767, "width": 15.5296123932, ...
[ { "from_id": "acpx2bWu0C", "to_id": "oxwJrkTqAo", "direction": "right" }, { "from_id": "acpx2bWu0C", "to_id": "p0ucCcdr1I", "direction": "right" }, { "from_id": "hQQKC6DHb0", "to_id": "_kr4CwI_Qv", "direction": "right" }, { "from_id": "hQQKC6DHb0", "to_id": "P...
1,263
12
শিক্ষা_সংক্রান্ত
[ "forms_jpg/শিক্ষা_সংক্রান্ত/শিক্ষা-বৃত্তি-ফরম-/2025-01-28-08-27-3c971ccdc14ccfa8998b517d9fa02e65_page_1.jpg" ]
[ "images/শিক্ষা_সংক্রান্ত/form_1263__শিক্ষা-বৃত্তি-ফরম-/2025-01-28-08-27-3c971ccdc14ccfa8998b517d9fa02e65_page_1.jpg" ]
{ "form_type": "Digital (pure)", "language": "Bangla" }
[ { "page": 0, "original_width": 2481, "original_height": 3508, "boxes": [ { "id": "WAicIZVHO_", "label": "Figure/Diagram/Logo", "origin": "manual", "rotation": 0, "x": 18.4751052105, "y": 2.4296921337, "width": 16.4901765515, "heig...
[ { "from_id": "PTY3BSoen6", "to_id": "Sp574QebtU", "direction": "right" }, { "from_id": "bhbgx4pK3O", "to_id": "9BPe0ygKF6", "direction": "right" }, { "from_id": "bhbgx4pK3O", "to_id": "_vz6dgu0a5", "direction": "right" }, { "from_id": "bhbgx4pK3O", "to_id": "0...
1,267
16
শিক্ষা_সংক্রান্ত
[ "forms_jpg/শিক্ষা_সংক্রান্ত/চূড়ান্ত-পরীক্ষায়-অংশগ্রহণের-জন্য-/2022-09-29-15-30-a99152a94e6d3fcd72723ce4f3303be7_page_1.jpg", "forms_jpg/শিক্ষা_সংক্রান্ত/চূড়ান্ত-পরীক্ষায়-অংশগ্রহণের-জন্য-/2022-09-29-15-30-a99152a94e6d3fcd72723ce4f3303be7_page_2.jpg" ]
[ "images/শিক্ষা_সংক্রান্ত/form_1267__চূড়ান্ত-পরীক্ষায়-অংশগ্রহণের-জন্য-/2022-09-29-15-30-a99152a94e6d3fcd72723ce4f3303be7_page_1.jpg", "images/শিক্ষা_সংক্রান্ত/form_1267__চূড়ান্ত-পরীক্ষায়-অংশগ্রহণের-জন্য-/2022-09-29-15-30-a99152a94e6d3fcd72723ce4f3303be7_page_2.jpg" ]
{ "difficulty_rating": 1, "form_type": "Digital (pure)", "language": "Bangla" }
[ { "page": 0, "original_width": 2550, "original_height": 3301, "boxes": [ { "id": "qyfSKsvPUy", "label": "Figure/Diagram/Logo", "origin": "manual", "rotation": 0, "x": 13.8149267612, "y": 4.9011857708, "width": 11.3589397814, "heig...
[ { "from_id": "4LUYh98Qt8", "to_id": "6686tVnnnY", "direction": "right" }, { "from_id": "BwbZ8SMpbQ", "to_id": "btFg62F9g2", "direction": "right" }, { "from_id": "bVPPvmuWq2", "to_id": "7ObTo7xYwM", "direction": "right" }, { "from_id": "g9V4AVACwS", "to_id": "c...
1,270
19
শিক্ষা_সংক্রান্ত
["forms_jpg/শিক্ষা_সংক্রান্ত/শিক্ষা-অনুদান-ফ(...TRUNCATED)
["images/শিক্ষা_সংক্রান্ত/form_1270__শিক্ষা-অনুদ(...TRUNCATED)
{ "form_type": "Digital (pure)", "language": "Bangla", "difficulty_rating": 1 }
[{"page":0,"original_width":2481,"original_height":3508,"boxes":[{"id":"1Y1_qbabc8","label":"Photo F(...TRUNCATED)
[{"from_id":"zgv2GuKRb5","to_id":"QhigW1Z99q","direction":"right"},{"from_id":"zgv2GuKRb5","to_id":"(...TRUNCATED)
1,271
20
শিক্ষা_সংক্রান্ত
["forms_jpg/শিক্ষা_সংক্রান্ত/দরিদ্র-মেধাবী-শ(...TRUNCATED)
["images/শিক্ষা_সংক্রান্ত/form_1271__দরিদ্র-মেধা(...TRUNCATED)
{ "form_type": "Digital (pure)", "language": "Bangla" }
[{"page":0,"original_width":2484,"original_height":3496,"boxes":[{"id":"3mWwnV7B-Z","label":"Photo F(...TRUNCATED)
[{"from_id":"injrE1VUoK","to_id":"Gprj3scEwL","direction":"right"},{"from_id":"injrE1VUoK","to_id":"(...TRUNCATED)
1,272
21
শিক্ষা_সংক্রান্ত
["forms_jpg/শিক্ষা_সংক্রান্ত/প্রতিবন্ধী-শিক(...TRUNCATED)
["images/শিক্ষা_সংক্রান্ত/form_1272__প্রতিবন্ধী-(...TRUNCATED)
{ "form_type": "Digital (pure)", "language": "Bangla", "difficulty_rating": 1 }
[{"page":0,"original_width":2550,"original_height":3301,"boxes":[{"id":"N_gr4tlhbk","label":"Header"(...TRUNCATED)
[{"from_id":"g1o5ahosLP","to_id":"knLQmPluij","direction":"right"},{"from_id":"94yJrdkilK","to_id":"(...TRUNCATED)
End of preview. Expand in Data Studio

BaFCo: A Document Understanding Benchmark for Complex Bangla Form Comprehension (ECCV 2026)

Real Bangladeshi government forms with manual annotations for two tasks: Document Layout Analysis (DLA) and Key Information Extraction (KIE).

This is the dataset and its schema. The full benchmark pipeline (inference, evaluation, and post-processing) lives in the code repository: github.com/mausulazad/BaFCo. Paper: arXiv:XXXX.XXXXX.

BaFCo curates 200 complex multi-page government forms across 316 pages and 15 domains. It provides 16,382 layout entities and 8,771 inter-field relationships under a fine-grained 26-entity schema (with a separate 5-type coarse set) for DLA, and 1,926 key-value pairs across 156 forms for KIE. The forms come from sectors such as agriculture, education, banking, and land management.

Subsets

  • bafco_dla/: Document Layout Analysis. Layout bounding boxes, inter-box relations, and form-level labels. Images are partitioned by domain.
  • bafco_kie/: Key Information Extraction. Key-value pairs. Forms are split by language (English and Bangla).

Each subset is self-contained: annotations in all_annotations.json, images under the subset folder, and a README.md documenting the schema. Image references (local_images) are relative and resolve after download.

Load

Download the dataset, then read a subset's annotations. Each record is one form; image paths live in local_images as repo-relative strings.

from huggingface_hub import snapshot_download
import os, json

root = snapshot_download("Mausul/bafco", repo_type="dataset")

forms = json.load(open(os.path.join(root, "bafco_dla", "all_annotations.json"), encoding="utf-8"))

# Resolve the first page of the first form to an OS-native file path.
rel = forms[0]["local_images"][0]                      # e.g. "images/<domain>/form_<id>/<page>.jpg"
page_path = os.path.join(root, "bafco_dla", *rel.split("/"))

The KIE subset loads the same way from bafco_kie/all_annotations.json (or the en_ / bn_ language splits). Each subset's README.md documents the full annotation schema.

Running the benchmark

Inference, evaluation, and post-processing are in the code repository, which reads these files through a release_loader.py adapter. See github.com/mausulazad/BaFCo to reproduce the results.

License

Code: MIT, Dataset: CC-BY-NC-4.0.

Downloads last month
669