Datasets:
Tasks:
Question Answering
Formats:
parquet
Sub-tasks:
extractive-qa
Languages:
Indonesian
Size:
1K - 10K
Update README.md
Browse files
README.md
CHANGED
|
@@ -41,4 +41,114 @@ configs:
|
|
| 41 |
path: data/train-*
|
| 42 |
- split: test
|
| 43 |
path: data/test-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
path: data/train-*
|
| 42 |
- split: test
|
| 43 |
path: data/test-*
|
| 44 |
+
language:
|
| 45 |
+
- id
|
| 46 |
+
task_categories:
|
| 47 |
+
- question-answering
|
| 48 |
+
task_ids:
|
| 49 |
+
- extractive-qa
|
| 50 |
+
tags:
|
| 51 |
+
- table-question-answering
|
| 52 |
+
- tabular
|
| 53 |
+
- indonesian
|
| 54 |
+
- indohitab
|
| 55 |
---
|
| 56 |
+
|
| 57 |
+
# Dataset Card for IndoHiTab (Flattened Version)
|
| 58 |
+
|
| 59 |
+
## Dataset Description
|
| 60 |
+
|
| 61 |
+
**IndoHiTab** is a newly constructed, high-quality dataset specifically designed to solve the Table Question Answering (TQA) task for the Indonesian language. Due to the lack of publicly available resources in this domain, this dataset serves as the primary benchmark for evaluating extractive table parsers, such as the IndoTaPas model.
|
| 62 |
+
|
| 63 |
+
This specific dataset repository contains the **Flattened Version** of the **primary, manually annotated** IndoHiTab dataset. It was developed by translating a subset of the English HiTab dataset using human annotators under a standardized protocol. This is the exact preprocessed format utilized in our study to train and evaluate the TaPas architecture.
|
| 64 |
+
|
| 65 |
+
<!-- - **Curated by:** Muhammad Rizki Syazali & Evi Yulianti
|
| 66 |
+
- **Language(s) (NLP):** Indonesian (`id`) -->
|
| 67 |
+
|
| 68 |
+
## Dataset Structure
|
| 69 |
+
|
| 70 |
+
### Dataset Statistics
|
| 71 |
+
|
| 72 |
+
After filtering out questions requiring header selection (due to TaPas architectural constraints), this manually annotated dataset contains a total of **2,559 instances**, split into training and testing sets:
|
| 73 |
+
|
| 74 |
+
| Dataset | Train | Test | Translation Method | Purpose |
|
| 75 |
+
| :--- | :---: | :---: | :--- | :--- |
|
| 76 |
+
| **IndoHiTab** | 2,057 | 502 | Manual (Human) | Main training and evaluation |
|
| 77 |
+
|
| 78 |
+
### Data Instances (Flattened Structure)
|
| 79 |
+
|
| 80 |
+
In this **Flattened Format**, tables with multi-level (hierarchical) column and row headers have been preprocessed and converted into a flat, 1-dimensional structure. This is achieved by concatenating the top-level header with lower-level headers. The resulting table includes a dedicated `header` array, and all string values (including the data matrix) are lowercased.
|
| 81 |
+
|
| 82 |
+
**Example Instance:**
|
| 83 |
+
```json
|
| 84 |
+
{
|
| 85 |
+
"id": "00d47c9aac5050539645dcae34f78570",
|
| 86 |
+
"question_type": ["none"],
|
| 87 |
+
"question": "berapa persen penduduk canada dengan pendapatan rumah tangga sebesar $150,000 atau lebih yang mengatakan bahwa pengaruh hoki terhadap identitas nasional sangat penting?",
|
| 88 |
+
"answer_coordinates": [[21, 5]],
|
| 89 |
+
"answer_text": ["49"],
|
| 90 |
+
"table_source": "statcan",
|
| 91 |
+
"table": {
|
| 92 |
+
"data": [
|
| 93 |
+
["total", "70", "69", "64", "55", "46"],
|
| 94 |
+
["kelompok umur", "", "", "", "", ""],
|
| 95 |
+
["kelompok umur 15-24", "70", "56", "51", "48", "47"],
|
| 96 |
+
["kelompok umur 25-34", "71", "65", "59", "51", "50"],
|
| 97 |
+
["tingkat pendidikan tertinggi yang ditamatkan di bawah sekolah menengah", "65", "68", "66", "60", "46"],
|
| 98 |
+
["..."]
|
| 99 |
+
],
|
| 100 |
+
"header": [
|
| 101 |
+
"karakteristik sosio-demografi dan ekonomi",
|
| 102 |
+
"piagam hak dan kebebasan persen",
|
| 103 |
+
"bendera persen",
|
| 104 |
+
"lagu kebangsaan persen",
|
| 105 |
+
"rcmp persen",
|
| 106 |
+
"hoki persen"
|
| 107 |
+
],
|
| 108 |
+
"id": "2613",
|
| 109 |
+
"title": "persepsi simbol nasional sebagai hal yang sangat penting untuk identitas kanada, berdasarkan karakteristik sosio-demografi dan ekonomi, 2013"
|
| 110 |
+
}
|
| 111 |
+
}
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
### Data Fields
|
| 115 |
+
|
| 116 |
+
* **`id`**: Unique string identifier for the question-table pair.
|
| 117 |
+
* **`question_type`**: List of strings indicating the type of question.
|
| 118 |
+
* **`question`**: The natural language question in Indonesian.
|
| 119 |
+
* **`answer_coordinates`**: List of lists containing the `[row_index, column_index]` of the exact answer(s) within the flattened data matrix.
|
| 120 |
+
* **`answer_text`**: List of strings containing the expected answer value(s).
|
| 121 |
+
* **`table_source`**: Source of the original table (e.g., `statcan`, `totto`, `nsf`).
|
| 122 |
+
* **`table`**: A dictionary representing the flattened table containing:
|
| 123 |
+
* **`header`**: A 1-dimensional array of column headers.
|
| 124 |
+
* **`data`**: A 2-dimensional array (matrix) of the table's row contents.
|
| 125 |
+
* **`id`**: The table identifier.
|
| 126 |
+
* **`title`**: The title or caption of the table.
|
| 127 |
+
|
| 128 |
+
## How to Use
|
| 129 |
+
|
| 130 |
+
You can easily load this dataset using the `datasets` library from Hugging Face:
|
| 131 |
+
|
| 132 |
+
```python
|
| 133 |
+
from datasets import load_dataset
|
| 134 |
+
|
| 135 |
+
# Load the dataset
|
| 136 |
+
dataset = load_dataset("rizki-syazali/itqa-flatten-header")
|
| 137 |
+
|
| 138 |
+
# Print the first instance of the training set
|
| 139 |
+
print(dataset['train'][0])
|
| 140 |
+
```
|
| 141 |
+
|
| 142 |
+
<!-- ## Citation Information
|
| 143 |
+
|
| 144 |
+
If you use the IndoHiTab dataset in your research, please consider citing our paper:
|
| 145 |
+
|
| 146 |
+
**BibTeX:**
|
| 147 |
+
```bibtex
|
| 148 |
+
@article{syazali2026indotapas,
|
| 149 |
+
title={IndoTaPas: A TaPas-Based Model for Indonesian Table Question Answering},
|
| 150 |
+
author={Syazali, Rizki and Co-authors},
|
| 151 |
+
journal={Expert Systems with Applications},
|
| 152 |
+
year={2026}
|
| 153 |
+
}
|
| 154 |
+
``` -->
|