src/transformers/models/mvp/modeling_mvp.py/MvpModel/set_input_embeddings
class MvpModel:    def set_input_embeddings(self, value):
        self.shared = value
        self.encoder.embed_tokens = self.shared
        self.decoder.embed_tokens = self.shared