Instructions to use thu-ml/zh-clip-vit-roberta-large-patch14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thu-ml/zh-clip-vit-roberta-large-patch14 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("thu-ml/zh-clip-vit-roberta-large-patch14", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from thu-ml/zh-clip-vit-roberta-large-patch14: direct link, hf CLI and curl.
- Browser
- Download file 2 Bytes
-
https://huggingface.co/thu-ml/zh-clip-vit-roberta-large-patch14/resolve/main/added_tokens.json
- Command line
-
hf download hf://thu-ml/zh-clip-vit-roberta-large-patch14/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/thu-ml/zh-clip-vit-roberta-large-patch14/resolve/main/added_tokens.json
2 Bytes
| {} |