Instructions to use microsoft/cvt-21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/cvt-21 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="microsoft/cvt-21") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("microsoft/cvt-21") model = AutoModelForImageClassification.from_pretrained("microsoft/cvt-21", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- e1e3459ff99584bcd1cc34ebeaee11c49a35fe4a887e9649f7d1b584c13ea803
- Size of remote file:
- 128 MB
- SHA256:
- 46708edfe91460d2b5c5d975a6985f3a67537341ddf363fcdc1d87b7a57eb6a2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.