src/transformers/models/xlnet/modeling_tf_xlnet.py/TFXLNetLMHead/set_output_embeddings
class TFXLNetLMHead:    def set_output_embeddings(self, value):
        self.input_embeddings.weight = value
        self.input_embeddings.vocab_size = shape_list(value)[0]