src/transformers/models/xlm/modeling_tf_xlm.py/TFXLMPredLayer/set_output_embeddings
class TFXLMPredLayer:    def set_output_embeddings(self, value):
        self.input_embeddings.weight = value
        self.input_embeddings.vocab_size = shape_list(value)[0]