src/transformers/models/codegen/modeling_codegen.py/CodeGenForCausalLM/set_output_embeddings
class CodeGenForCausalLM:    def set_output_embeddings(self, new_embeddings):
        self.lm_head = new_embeddings