microsoft/cats_vs_dogs
Viewer • Updated • 23.4k • 5.72k • 63
How to use ebotwick/cats_vs_dogs_image_recog_5k with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="ebotwick/cats_vs_dogs_image_recog_5k")
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("ebotwick/cats_vs_dogs_image_recog_5k")
model = AutoModelForImageClassification.from_pretrained("ebotwick/cats_vs_dogs_image_recog_5k")This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the cats_vs_dogs dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.6894 | 1.0 | 46 | 0.6933 |
Base model
google/vit-base-patch16-224-in21k