isekai-portal / Link-Context-Learning

MIT License
80 stars 7 forks source link

Question about in-context examples #4

Closed gray311 closed 7 months ago

gray311 commented 1 year ago

Can you tell me how the in-context examples for otter and openflamingo are selected in ISEKAI-10 Evaluation? Is it only from the 16 negative examples? Or are positive and negative examples picked one at a time (2-shots, 4-shots...).

MacavityT commented 1 year ago

We choose positive-and-negative pairs for otter, flamingo, and our lcl model. For example, if we intend to perform inference on an image (like icemic, etc.), we input 1 ice cream and 1 icemic image in a 2-shot lcl setting (icemic serves as the positive sample, and ice cream as the negative sample). You can check the setting by downloading our ISEKAI dataset. Moreover, we will release our training and evaluation code, along with our 2-way-weight checkpoint. Thank you for your attention