om-ai-lab / VL-CheckList

Evaluating Vision & Language Pretraining Models with Objects, Attributes and Relations.
123 stars 4 forks source link

How to generate the negative caption? #16

Open Caroline-6 opened 4 months ago

Caroline-6 commented 4 months ago

hi, it is a great work. I want to know where is the code about the generation of negative texts?

SZhanZ commented 4 months ago

Thanks for your interest~ Some datasets have meta info files including the syntactic structure of each text and the part-of-speech of each word; based on the part-of-speech, we performed direct substitutions for corresponding words.