Open sanyalsunny111 opened 1 year ago
In order to let the model learn to generate all possible answers based on the questions, we choose to randomly select an answer from the answer list for simplicity. This approach also allows us to fully use the labels.
Hey Authors,
Thank you for the repo @ylsung .
Can you please explain a bit how you guys sent the question and paired answers to the model as each question has multiple answers from the code it seems you guys are selecting one random answer (https://github.com/ylsung/VL_adapter/blob/545fcbbdbbaec4c442de35567f6ae477ff4e8265/VL-T5/src/vqa_data.py#L229). Can you please explain your approach a bit?