src/transformers/models/mvp/modeling_mvp.py/MvpModel/__init__
class MvpModel:    def __init__(self, config: MvpConfig):
        super().__init__(config)

        padding_idx, vocab_size = config.pad_token_id, config.vocab_size
        self.use_prompt = config.use_prompt
        self.shared = nn.Embedding(vocab_size, config.d_model, padding_idx)

        self.encoder = MvpEncoder(config, self.shared, config.use_prompt)
        self.decoder = MvpDecoder(config, self.shared, config.use_prompt)

        # Initialize weights and apply final processing
        self.post_init()