Instructions to use facebook/data2vec-vision-base-ft1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/data2vec-vision-base-ft1k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="facebook/data2vec-vision-base-ft1k") 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("facebook/data2vec-vision-base-ft1k") model = AutoModelForImageClassification.from_pretrained("facebook/data2vec-vision-base-ft1k") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
46d3f9f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a7e1a41879c41a068614df16cb82d519587ddb2bfdb581d0956ba64fc6d5240b
size 349927595
|