Instructions to use M-CLIP/XLM-Roberta-Large-Vit-B-16Plus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use M-CLIP/XLM-Roberta-Large-Vit-B-16Plus with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("M-CLIP/XLM-Roberta-Large-Vit-B-16Plus", dtype="auto") - Notebooks
- Google Colab
- Kaggle
How to load the processor ?
#4
by ragesh-beo - opened
Iam using the below code to load the model and the corresponding processor.
model = CLIPModel.from_pretrained("M-CLIP/XLM-Roberta-Large-Vit-B-16Plus")
processor = CLIPProcessor.from_pretrained("M-CLIP/XLM-Roberta-Large-Vit-B-16Plus")
But iam unable to load the processor because of the error
OSError: M-CLIP/XLM-Roberta-Large-Vit-B-16Plus does not appear to have a file named preprocessor_config.json