small-eval-TextVQA / README.md
khh0106's picture
Upload validated small-eval-TextVQA dataset version
cbc0b5c verified
|
Raw History Blame Contribute Delete
2.24 kB
---
license: cc-by-4.0
configs:
- config_name: "default"
data_files:
- split: validation
path: data/validation.parquet
---
# small-eval-TextVQA
500 records in `default` / `validation`.
Source: [lmms-lab-encoder/textvqa](https://huggingface.co/datasets/lmms-lab-encoder/textvqa)
at revision `9c0699cd19768ac5ab97568f6b3cbac4c0062884`; source split contains 5000 records.
The Parquet file embeds the original image bytes. Native fields, native IDs,
answer order, choices and conversations are preserved. Additional fields:
`sample_id`, `source_index`, `source_revision`, `images`, `image_sha256`, `num_images`.
See `manifest.json` for source positions, selection order, feature schema,
record/image hashes, file checksums and the NumPy version.
Selection: numpy.default_rng.permutation.
Small evaluation outputs are intentional subsets of the full split; no shared images are removed.
```python
from datasets import load_dataset
data = load_dataset("<owner>/small-eval-TextVQA", 'default', split='validation')
```
Reproduction references: SplitQ `ba3a3ed542d2b1516c3cae10ef8b4706dfcdc0a2` and lmms-eval `9c030a5932b6d340ff58611339415a74f5ed4b6f`.
These pins describe data/task preparation, not identical model results or pretraining contamination.
## Evaluation task mapping
Pinned [task configuration](https://github.com/LSY-noya/lmms-eval/blob/9c030a5932b6d340ff58611339415a74f5ed4b6f/lmms_eval/tasks/textvqa/textvqa_val.yaml).
Replace its dataset_path with this repository and keep dataset_name `default` and split `validation`.
Keep the task's prompt, doc_to_visual, doc_to_text, doc_to_target, scoring and aggregation functions.
Build model inputs through these task functions; native answers and explanations remain stored as targets.
All ten human answers retain their duplicates and original order.
Pinned lmms-eval compatibility: TextVQA sets `doc_to_target: answer`,
while the native dataset exposes `answers`. At the recorded task revision,
`ConfigurableTask.doc_to_target` renders the absent column name as the literal
string `"answer"`. `textvqa_process_results` scores against the native `answers` list.
This dataset preserves that list and does not add a synthetic answer column or modify the upstream task.