You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was wondering, is there an easy way for extracting a sub-model from a trained transformer model? For example, let's say I have a fully trained EncoderDecoderModel, but I am interested only on the encoder output from this model. Is there a way to extract the encoder part such that the inputs are only processed through the encoder?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I was wondering, is there an easy way for extracting a sub-model from a trained transformer model? For example, let's say I have a fully trained EncoderDecoderModel, but I am interested only on the encoder output from this model. Is there a way to extract the encoder part such that the inputs are only processed through the encoder?
Beta Was this translation helpful? Give feedback.
All reactions