Closed LeonardoSanBenitez closed 1 year ago
Sorry, we do not actively maintain this project any longer, unfortunately, see https://github.com/deepset-ai/FARM/commit/2fc801d1d0c973cb36bc867907d4250d1084493b
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 21 days if no further activity occurs.
Question Is it possible to combine several models into one with several prediction heads?
Additional context I have independly trained several adaptative models, all of them using the same language model Each adaptative model have one text classification prediction head I would like to merge/join/aggregate the several adaptative models into one, with multiple prediction heads
There is this similar question https://github.com/deepset-ai/FARM/issues/441#issuecomment-653424408 but the answers weren't clear to me
I expected that it would be something along these lines:
and then when performing inferences with this new model I would receive the result of both
model1
andmodel2
. But this doesn't work: the inference outputs empty arrays.Thank you very much in advance.