--- license: apache-2.0 task_categories: - visual-question-answering language: - en - zh pretty_name: TABench size_categories: - 1K/TABench-abs_with_predictions.jsonl # or ./infer_output//TABench-rel1000_with_predictions.jsonl ``` ### 2) Run evaluation ```bash python eval.py \ --pred ./infer_output//TABench-abs_with_predictions.jsonl \ --output report.json \ --export-jsonl case_analysis.jsonl ``` --- ## πŸ“‹ Baseline Results We report representative model performance on **TABench**. β€œβ€“β€ indicates that the metric is not applicable because the model does not support the corresponding output format. For models that do not support one task direction, the missing metric is counted as **0** when computing **Overall**. | Model | Size | R2T Acc (%) ↑ | T2R F1 (%) ↑ | Overall (%) ↑ | |---|---:|---:|---:|---:| | Gemini 3.0 Pro | Closed | 25.85 | 62.58 | 44.22 | | GPT 5.2 | Closed | 10.64 | 0.64 | 5.64 | | Kimi K2.5 | 1T | 49.54 | 57.73 | 53.64 | | Qwen3.5 | 397B | 61.10 | 72.80 | 66.95 | | Qwen3-VL-Instruct | 235B | 60.90 | 60.40 | 60.65 | | DeepSeek OCR2 | 3B | – | 11.66 | 5.83 | | Qwen3-VL-Instruct | 2B | 38.35 | 37.19 | 37.77 | | **Q-Mask (Ours)** | **3B** | **50.64** | **40.36** | **45.50** | --- ## πŸ§‘β€πŸ’» Optional: Programmatic Access If you only want to inspect the benchmark records programmatically, you can also load the JSONL annotations with `datasets`: ```python from datasets import load_dataset ds = load_dataset("loongwayX/TABench", name="abs", split="test") print(ds[0]) ``` Note that the main recommended workflow for running the benchmark is to clone the full repository locally, since the official scripts expect the images to be available under the same relative paths as `image_path`. --- ## πŸ“ License and Data Usage - **Code and evaluation scripts** in this repository are released under **Apache-2.0**. - **TABench benchmark packaging and annotations** are released for research use. - **Original images and source annotations** remain subject to the licenses and terms of their respective upstream datasets. - Users are responsible for complying with the original licenses and usage restrictions of the source datasets when using or redistributing this benchmark. If you use TABench commercially or redistribute any part of the original data, please carefully review the licenses of all upstream datasets first. --- ## πŸ“š Citation If you use TABench in your research, please cite: ```bibtex @article{xu2026q, title={Q-Mask: Query-driven Causal Masks for Text Anchoring in OCR-Oriented Vision-Language Models}, author={Xu, Longwei and Feng, Feng and Zhang, Shaojie and Chen, Xin and Li, Hang and Du, Anan and Yu, Hailong and Fu, Pei and Luo, Zhenbo and Luan, Jian}, journal={arXiv preprint arXiv:2604.00161}, year={2026} } ``` --- ## Acknowledgements TABench is built upon several publicly available datasets and benchmarks. We sincerely thank the original dataset creators and maintainers for making these resources available to the community. - **HierText**: https://github.com/google-research-datasets/hiertext - **CDLA**: https://github.com/buptlihang/CDLA - **ICDAR 2015 Incidental Scene Text**: https://rrc.cvc.uab.es/?ch=4 - **SVRD (ICDAR 2023 Structured Text Extraction from Visually-Rich Document Images)**: https://rrc.cvc.uab.es/?ch=21 Please refer to the corresponding official pages for dataset descriptions, licenses, and usage terms.