src/transformers/models/bloom/modeling_bloom.py/BloomForCausalLM/set_output_embeddings
class BloomForCausalLM:    def set_output_embeddings(self, new_embeddings: torch.Tensor):
        self.lm_head = new_embeddings