ylecun/mnist
Viewer โข Updated โข 70k โข 73.6k โข 302
How to use farleyknight/mnist-digit-classification-2022-09-04 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="farleyknight/mnist-digit-classification-2022-09-04")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification
processor = AutoImageProcessor.from_pretrained("farleyknight/mnist-digit-classification-2022-09-04")
model = AutoModelForImageClassification.from_pretrained("farleyknight/mnist-digit-classification-2022-09-04", device_map="auto")This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the mnist 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: