patrickvonplaten's picture
up
267e820
raw
history blame
177 Bytes
#!/usr/bin/env python3
from transformers import CLIPTextModel
model = CLIPTextModel.from_pretrained("./text_encoder")
model.save_pretrained("./text_encoder", variant="no_ema")