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") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 725a27d777a7c3e6de40406a83bf95ed03172194737b39ae692dfbe58fce186d
- Size of remote file:
- 127 MB
- SHA256:
- 7b460c52e4db184d87f4e5f6875719b3a71eb079677076655120030c3f5bc21b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.