Instructions to use facebook/deit-base-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/deit-base-patch16-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="facebook/deit-base-patch16-224") 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/deit-base-patch16-224") model = AutoModelForImageClassification.from_pretrained("facebook/deit-base-patch16-224") - Inference
- Notebooks
- Google Colab
- Kaggle
Update dataset tag
Browse files
README.md
CHANGED
|
@@ -3,7 +3,7 @@ license: apache-2.0
|
|
| 3 |
tags:
|
| 4 |
- image-classification
|
| 5 |
datasets:
|
| 6 |
-
- imagenet
|
| 7 |
---
|
| 8 |
|
| 9 |
# Data-efficient Image Transformer (base-sized model)
|
|
|
|
| 3 |
tags:
|
| 4 |
- image-classification
|
| 5 |
datasets:
|
| 6 |
+
- imagenet-1k
|
| 7 |
---
|
| 8 |
|
| 9 |
# Data-efficient Image Transformer (base-sized model)
|