src/transformers/models/speech_to_text_2/modeling_speech_to_text_2.py/Speech2Text2ForCausalLM/set_output_embeddings
class Speech2Text2ForCausalLM:    def set_output_embeddings(self, new_embeddings):
        self.lm_head = new_embeddings