src/transformers/models/clip/modeling_tf_clip.py/TFCLIPTextMainLayer/set_input_embeddings
class TFCLIPTextMainLayer:    def set_input_embeddings(self, value: tf.Variable):
        self.text_model.embeddings.weight = value
        self.text_model.embeddings.vocab_size = shape_list(value)[0]