Haochen-Luo/CroPA

Why is the target added after the prompt during training?

Opened this issue · 0 comments

Thanks for your contributions. I have one question for the train code.
In main.py line 135

for ques in total_prompt_list: 
    item_text.append(train_context_text + eval_model.get_vqa_prompt(question=ques)+" "+target)

I'm confused by the use of target directly as part of prompt here.