dmis-lab / bioasq-biobert

Pre-trained Language Model for Biomedical Question Answering
https://arxiv.org/abs/1909.08229
Other
122 stars 21 forks source link

training a single model for all question types #2

Closed ardakdemir closed 4 years ago

ardakdemir commented 4 years ago

Dear authors,

I got confused about the training/prediction procedures for different question types. Specifically, I would be glad if you can clarify whether it is possible to train a single model for all question types at once. After reading the paper and going over the repository, it seemed to me that the we have to train the model for each question type separately.

Kind regards

Arda

wonjininfo commented 4 years ago

Hello Arda, Thank you for your interests in our work! No, you need to train the model for a specific task.

Our model shares identical structures (when we only consider trainable parameters) for factoid questions and list questions. However, it doesn't mean that we used identical parameters for multiple question types.

Therefore, let's say if you wish to get optimal performances for 1) factoid questions and 2) list questions, then you need to train the model twice and should use two checkpoints for inferencing.

ps) We believe using factoid model for inferencing list questions would output quite a comparable performance, but there will be some performance decrease. (Haven't checked)

Thanks! Wonjin

ardakdemir commented 4 years ago

Thanks a lot for your reply!