ariG23498's picture
ariG23498 HF staff
Update README.md
cf751a0 verified
```py
checkpoint = "openai/clip-vit-large-patch14"
model = CLIPTextModel.from_pretrained(
checkpoint, torch_dtype=torch.bfloat16
)
tokenizer = CLIPTokenizer.from_pretrained(
checkpoint
)
model.push_to_hub("ariG23498/clip-vit-large-patch14-torch")
tokenizer.push_to_hub("ariG23498/clip-vit-large-patch14-torch")
```