src/transformers/models/trocr/modeling_trocr.py/TrOCRForCausalLM/set_output_embeddings
class TrOCRForCausalLM:    def set_output_embeddings(self, new_embeddings):
        self.output_projection = new_embeddings