---
annotations_creators:
- expert-generated
language_creators:
- expert-generated
language:
- en
license: gpl-3.0
multilinguality:
- monolingual
size_categories:
- 1K
### VLMEvalKit [VLMEvalKit](https://github.com/open-compass/VLMEvalKit) provides one-command evaluation. However, VLMEvalKit is not designed to reproduce the results in the paper. We welcome using it to report the results on VisOnlyQA in your papers, but please explicitly mention that you used VLMEvalKit. The major differences are: * VisOnlyQA on VLMEvalKit does not include the `chemistry__shape_multi` split * VLMEvalKit uses different prompts and postprocessing. Refer to [this document](https://github.com/open-compass/VLMEvalKit/blob/main/docs/en/Quickstart.md) for the installation and setup of VLMEvalKit. After setting up the environment, you can evaluate any supported models on VisOnlyQA with the following command (this example is for InternVL2-26B). ```bash python run.py --data VisOnlyQA-VLMEvalKit --model InternVL2-26B ``` ### Hugging Face Dataset The original VisOnlyQA dataset is provided in Hugging Face Dataset. If you want to reproduce the results in our paper, please use this version and code in the GitHub repository. * Eval-Real: [https://huggingface.co/datasets/ryokamoi/VisOnlyQA_Eval_Real](https://huggingface.co/datasets/ryokamoi/VisOnlyQA_Eval_Real) * 500 instances for questions on figures in existing datasets (e.g., MathVista, MMMU, and CharXiv) * Eval-Synthetic: [https://huggingface.co/datasets/ryokamoi/VisOnlyQA_Eval_Synthetic](https://huggingface.co/datasets/ryokamoi/VisOnlyQA_Eval_Synthetic) * 700 instances for questions on synthetic figures * Train: [https://huggingface.co/datasets/ryokamoi/VisOnlyQA_Train](https://huggingface.co/datasets/ryokamoi/VisOnlyQA_Train) * 70,000 instances for training (synthetic figures) [dataset](https://github.com/psunlpgroup/VisOnlyQA/tree/main/dataset) folder of the GitHub repository includes identical datasets, except for the training data. ```python from datasets import load_dataset real_eval = load_dataset("ryokamoi/VisOnlyQA_Eval_Real") real_synthetic = load_dataset("ryokamoi/VisOnlyQA_Eval_Synthetic") # Splits print(real_eval.keys()) # dict_keys(['geometry__triangle', 'geometry__quadrilateral', 'geometry__length', 'geometry__angle', 'geometry__area', 'geometry__diameter_radius', 'chemistry__shape_single', 'chemistry__shape_multi', 'charts__extraction', 'charts__intersection']) print(real_synthetic.keys()) # dict_keys(['syntheticgeometry__triangle', 'syntheticgeometry__quadrilateral', 'syntheticgeometry__length', 'syntheticgeometry__angle', 'syntheticgeometry__area', '3d__size', '3d__angle']) # Prompt print(real_eval['geometry__triangle'][0]['prompt_no_reasoning']) # There is no triangle ADP in the figure. True or False? # A triangle is a polygon with three edges and three vertices, which are explicitly connected in the figure. # Your response should only include the final answer (True, False). Do not include any reasoning or explanation in your response. # Image print(real_eval['geometry__triangle'][0]['decoded_image']) #
## License Please refer to [LICENSE.md](./LICENSE.md). ## Contact If you have any questions, feel free to open an issue or reach out directly to [Ryo Kamoi](https://ryokamoi.github.io/) (ryokamoi@psu.edu).