src/transformers/models/roformer/modeling_tf_roformer.py/TFRoFormerMainLayer/set_input_embeddings
class TFRoFormerMainLayer:    def set_input_embeddings(self, value: tf.Variable):
        self.embeddings.weight = value
        self.embeddings.vocab_size = shape_list(value)[0]