src/transformers/models/longt5/modeling_longt5.py/LongT5EncoderModel/set_input_embeddings
class LongT5EncoderModel:    def set_input_embeddings(self, new_embeddings):
        self.shared = new_embeddings
        self.encoder.set_input_embeddings(new_embeddings)