Downloads · 30 days
12
2% of all-time downloads
rizki-syazali/tapasid_finetuned_itqa
tapasid_finetuned_itqa is a table question answering model from rizki-syazali. Use it for the table question answering task on the model card, and read the license before you ship it in a product.
IndoTaPas (One-Stage) is a TaPas-based model specifically adapted and fine-tuned for the Table Question Answering (TQA) task in the Indonesian language. It is designed to extract precise answers from structured tabula…
Downloads · 30 days
12
2% of all-time downloads
All-time downloads
614
Public
Parameters
111M
48.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors443 MB · 100%
From the Hugging Face model README
IndoTaPas (One-Stage) is a TaPas-based model specifically adapted and fine-tuned for the Table Question Answering (TQA) task in the Indonesian language. It is designed to extract precise answers from structured tabular data based on natural language questions.
This specific variant was fine-tuned using a one-stage strategy, meaning it was trained directly on the high-quality, manually translated IndoHiTab dataset without prior augmentation.
id)The model is intended to be used for extractive table question answering in Indonesian. Given a flattened, 1-dimensional table and a corresponding question, the model will output the coordinates of the cell(s) containing the correct answer.
You can load the model using the transformers library:
from transformers import TapasTokenizer, TapasForQuestionAnswering
import pandas as pd
model_name = "rizki-syazali/tapasid_finetuned_itqa"
tokenizer = TapasTokenizer.from_pretrained("google/tapas-base") # using base tokenizer with custom vocab
model = TapasForQuestionAnswering.from_pretrained(model_name)
# Example Table and Question
data = {'Nama': ['Budi', 'Siti'], 'Umur': ['25', '30']}
table = pd.DataFrame.from_dict(data)
queries = ["Berapa umur Siti?"]
inputs = tokenizer(table=table, queries=queries, padding="max_length", return_tensors="pt")
outputs = model(**inputs)
# Predict answer coordinates
predicted_answer_coordinates, = tokenizer.convert_logits_to_predictions(inputs, outputs.logits.detach())
print(predicted_answer_coordinates)
The model was fine-tuned on the IndoHiTab dataset, which consists of manually translated English-to-Indonesian table-question pairs. Specifically, the "Flattened" version of the tables was used, where multi-level hierarchical headers were concatenated into single-level headers.
The model was evaluated on the unseen test split of the IndoHiTab dataset, comprising 502 question-table pairs.
| Model Variant | Fine-Tuning Strategy | Exact Match (EM) | F1 Score |
|---|---|---|---|
| IndoTaPas (One-Stage) | Manual Data Only (IndoHiTab) | 37.25% | 37.25% |
The one-stage IndoTaPas model achieves a strong baseline of 37.25% EM, significantly outperforming early neural semantic parsers (LatentAlignment at 19.12%) and remaining highly competitive against zero-shot generative LLMs on the Indonesian TQA task.
<!-- ## Citation If you use this model or the IndoHiTab dataset, please cite our paper: **BibTeX:** ```bibtex @article{syazali2026indotapas, title={IndoTaPas: A TaPas-Based Model for Indonesian Table Question Answering}, author={Syazali, Rizki and Co-authors}, journal={Expert Systems with Applications}, year={2026} } ``` -->