How to define answer_id?
junwenchen opened this issue · comments
junwenchen commented
Hi,
Thanks for releasing the code.
I found that L101 of sevila.py defines the answer_id = [71, 272, 205, 309, 262], which corresponds to A B C D E.
Can you let me know how is the answer_id obtained?
Shoubin commented
Hi, thanks for your interest. They are the id of letters A-E in T5 model tokenizer vocabulary.