TROHN-Img is a dataset presented in the BiVLC paper for experimentation. It is based on the COCO 2017 train split, a negative caption with an LLM is created from the COCO caption and subsequently a negative image is created from the generated negative caption using the SD-XL model. Its objective has been to train contrastive models by adding negative pairs, i.e., caption and negative images, to improve compositional understanding. The fine-tuned CLIP model can be found in CLIP_TROHN-Img.
Each instance of the dataset consists of three fields:
To load data with datasets:
>>> data = load_dataset("imirandam/TROHN-Img")
Each instance has the following structure:
{
'image_id': '000000103673.jpg' ,
'caption': 'Three monkeys sit on a fence eating bananas.',
'negative_caption': 'Three monkeys sit on a fence drinking water.',
'negative_image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=512x512 at 0x7F9BE45571C0>
}
TROHN-Img has 296,070 instances consisting of 2 images and 2 captions. It is divided into two splits, 80% train and 20% validation.
This dataset was created by filtering the TROHN-Text dataset based on plausibility and linguistic acceptability scores; images are then generated from the negative captions. Instances are not checked and may contain incorrect, duplicate, etc. information.
If you need evaluation data, you can use the dataset proposed in the paper in the following link, BiVLC.
This work is licensed under a MIT License.
If you find this dataset useful, please consider citing our paper:
@misc{miranda2024bivlc,
title={BiVLC: Extending Vision-Language Compositionality Evaluation with Text-to-Image Retrieval},
author={Imanol Miranda and Ander Salaberria and Eneko Agirre and Gorka Azkune},
year={2024},
eprint={2406.09952},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
7 commits
TROHN-Img is a dataset presented in the BiVLC paper for experimentation. It is based on the COCO 2017 train split, a negative caption with an LLM is created from the COCO caption and subsequently a negative image is created from the generated negative caption using the SD-XL model. Its objective has been to train contrastive models by adding negative pairs, i.e., caption and negative images, to improve compositional understanding. The fine-tuned CLIP model can be found in CLIP_TROHN-Img.
Each instance of the dataset consists of three fields:
To load data with datasets:
>>> data = load_dataset("imirandam/TROHN-Img")
Each instance has the following structure:
{
'image_id': '000000103673.jpg' ,
'caption': 'Three monkeys sit on a fence eating bananas.',
'negative_caption': 'Three monkeys sit on a fence drinking water.',
'negative_image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=512x512 at 0x7F9BE45571C0>
}
TROHN-Img has 296,070 instances consisting of 2 images and 2 captions. It is divided into two splits, 80% train and 20% validation.
This dataset was created by filtering the TROHN-Text dataset based on plausibility and linguistic acceptability scores; images are then generated from the negative captions. Instances are not checked and may contain incorrect, duplicate, etc. information.
If you need evaluation data, you can use the dataset proposed in the paper in the following link, BiVLC.
This work is licensed under a MIT License.
If you find this dataset useful, please consider citing our paper:
@misc{miranda2024bivlc,
title={BiVLC: Extending Vision-Language Compositionality Evaluation with Text-to-Image Retrieval},
author={Imanol Miranda and Ander Salaberria and Eneko Agirre and Gorka Azkune},
year={2024},
eprint={2406.09952},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
7 commits