src/transformers/models/marian/modeling_marian.py/MarianModel/get_input_embeddings
class MarianModel:    def get_input_embeddings(self):
        # This will return shared embeddings if they are shared else specific to encoder.
        return self.get_encoder().get_input_embeddings()