src/transformers/models/xglm/modeling_tf_xglm.py/TFXGLMForCausalLM/set_output_embeddings
class TFXGLMForCausalLM:    def set_output_embeddings(self, new_embeddings):
        self.lm_head = new_embeddings