Open lonestar234028 opened 1 year ago
Hi expert: As we know, there is a text alignment pretrain task for NLVR2, which is a one pass, three class task. I have read the code, but I don't get why it can be writen like this, can you teach me and explain?
This part of code randomly generates the inputs and corresponding labels for the text-assignment task.
Hi expert: As we know, there is a text alignment pretrain task for NLVR2, which is a one pass, three class task. I have read the code, but I don't get why it can be writen like this, can you teach me and explain?