Catalog / Vision
TextVQA (2019)
45,000 questions about signs, labels, clocks and book covers in everyday photos, each answered by ten people.
Why it matters
Models trained on VQA v2 could recognize objects and scenes, yet went blind the moment an answer depended on a street sign, a jersey number or a price tag. TextVQA selected images rich in scene text and required every question to rely on reading it. Early systems bolted an external OCR engine onto a VQA model; modern vision-language models read the pixels directly, making TextVQA a standard measure of fine-grained visual resolution from Flamingo and LLaVA to PaliGemma, Qwen2-VL and Molmo.
Get the data
# pip install -U huggingface_hub
hf download lmms-lab-encoder/textvqa --repo-type dataset \
--local-dir textvqafrom datasets import load_dataset # pip install datasets
ds = load_dataset("lmms-lab-encoder/textvqa")
print(ds)import polars as pl
df = pl.read_parquet("hf://datasets/lmms-lab-encoder/textvqa@~parquet/default/validation/*.parquet")
print(df.shape)A Parquet copy of TextVQA (train, validation and test) with embedded images; the official facebook/textvqa repository uses a legacy loading script.
- Year
- 2019
- Creators
- Amanpreet Singh, Vivek Natarajan, Meet Shah, Yu Jiang, Xinlei Chen, Dhruv Batra, Devi Parikh, Marcus Rohrbach (Facebook AI Research, Georgia Tech)
- Task
- Visual question answering requiring reading text in photos
- Size
- 28,408 images, 45,336 questions, 453,360 answers
- Splits
- train 34,602 · validation 5,000 · test 5,734
- Input
- An Open Images photo containing scene text and a question about it
- Labels
- Ten free-form human answers per question, scored with VQA v2 consensus accuracy
- License
- CC BY 4.0 (annotations); images under Open Images / Flickr licenses
- Paper
- Towards VQA Models That Can Read
Samples

where is this food court located?
Show the 10 answers
- viking court6×100%
- psu2×67%
- viking1×33%
- in viking court1×33%

what brand of diaper area is this?
Show the 10 answers
- koala kare9×100%
- koala bear1×33%

what does his jacket say?
Show the 10 answers
- fox10×100%

what newspaper is quoted on the sign?
Show the 10 answers
- toronto star10×100%

what kind of soda is in the bottle?
Show the 10 answers
- pepsi cola5×100%
- pepsi4×100%
- pepsi-cola1×33%

what is the title of the book?
Show the 10 answers
- wild endless8×100%
- wild endlesss1×33%
- 20131×33%

who is the woman given an image credit?
Show the 10 answers
- judith haemmerie5×100%
- judith haemmerle2×67%
- marcin wichary2×67%
- marcin wichary and judith haemmerie1×33%

what does the middle circular button say, in between the four arrow buttons?
Show the 10 answers
- ok10×100%

what team is this?
Show the 10 answers
- bombers10×100%

what kind of o's are shown on the box in the back?
Show the 10 answers
- joe's7×100%
- joe's o's3×100%

who is the author?
Show the 10 answers
- horler9×100%
- hroler1×33%

whats the date on the last coin on the bottom?
Show the 10 answers
- 19873×100%
- 19813×100%
- 17812×67%
- 19911×33%
- unanswerable1×33%

what is the name on the building?
Show the 10 answers
- galeria7×100%
- baleria2×67%
- galeria kaufhof1×33%

where are evenings spent?
Show the 10 answers
- at the microscope7×100%
- the microscope2×67%
- microscope1×33%

what is the numbers top right?
Show the 10 answers
- 6717810×100%

what time is it in the photo?
Show the 10 answers
- 1:405×100%
- 8:082×67%
- 2:401×33%
- 8:401×33%
- 7:091×33%

what do the owners of this stand specialize in, according to their sign?
Show the 10 answers
- salad9×100%
- english & foreign fruit & veg1×33%

what is inside the jar?
Show the 10 answers
- unanswerable6×100%
- stroboscopie4×100%
The percentage is the credit a model gets for each answer: full credit if at least 3 of the 10 people gave it.
What one record actually looks like (raw JSON, row 4070)
{
"answers": [
"psu",
"viking court",
"viking court",
"viking",
"in viking court",
"viking court",
"viking court",
"viking court",
"psu",
"viking court"
],
"image": {
"height": 1024,
"src": "samples/textvqa/4070-image.jpg",
"width": 683
},
"image_height": 1024,
"image_id": "039da94c7b4a3104",
"image_width": 683,
"question": "where is this food court located?",
"question_id": 38672,
"set_name": "val"
}Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.
Sampled 2026-11-22 from lmms-lab-encoder/textvqa at revision 9c0699c
Worth knowing
- Uses the same ten-annotator consensus scoring as VQA v2: an answer three of the ten people gave earns about full credit (0.90 under the official leave-one-out average, 1.0 from four).
- Images come from Open Images v3, filtered for categories that often contain text such as billboards, traffic signs, books and whiteboards.
- About 39% of answers don't match an OCR token verbatim, partly from OCR misses and partly from reasoning—for example reading a clock face, adding prices, or deciding which of several labels answers the question.
- Because small scene text turns illegible at 224×224, TextVQA became one of the main benchmarks motivating higher-resolution and dynamic-resolution vision encoders.
Related datasets
- VQA v2: 2017, general open-ended visual question answering on COCOHugging Face ↗VQA v2 on this site →
- ST-VQA: 2019, concurrent scene-text VQA benchmark scored with ANLSrrc.cvc.uab.es ↗
- DocVQA: 2020, reading scanned documents, forms and tablesHugging Face ↗DocVQA on this site →
- ChartQA: 2022, reading and reasoning over real-world chartsHugging Face ↗ChartQA on this site →
- MMMU: 2023, college-level multimodal reasoningHugging Face ↗MMMU on this site →
Landmark papers
- Iterative Answer Prediction with Pointer-Augmented Multimodal Transformers for TextVQA (M4C) (2020)
- Flamingo: a Visual Language Model for Few-Shot Learning (Flamingo) (2022)Flamingo on this site →
- Molmo and PixMo: Open Weights and Open Data for State-of-the-Art Vision-Language Models (Molmo) (2024)Molmo on this site →
- PaliGemma: A versatile 3B VLM for transfer (PaliGemma) (2024)PaliGemma on this site →
- Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution (Qwen2-VL) (2024)Qwen2-VL on this site →