Image Classification
Transformers
PyTorch
TensorBoard
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use jayanta/deit-base-patch16-224-FV-finetuned-memes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jayanta/deit-base-patch16-224-FV-finetuned-memes with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="jayanta/deit-base-patch16-224-FV-finetuned-memes") 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("jayanta/deit-base-patch16-224-FV-finetuned-memes") model = AutoModelForImageClassification.from_pretrained("jayanta/deit-base-patch16-224-FV-finetuned-memes") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened over 1 year ago
by
SFconvertbot