src/transformers/models/speecht5/modeling_speecht5.py/SpeechT5Model/set_input_embeddings
class SpeechT5Model:    def set_input_embeddings(self, value):
        if isinstance(self.encoder, SpeechT5EncoderWithTextPrenet):
            self.encoder.set_input_embeddings(value)
        if isinstance(self.decoder, SpeechT5DecoderWithTextPrenet):
            self.decoder.set_input_embeddings(value)