Transformers How to use yeonghun2/clasfy_error with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="yeonghun2/clasfy_error")
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("yeonghun2/clasfy_error")
model = AutoModelForImageClassification.from_pretrained("yeonghun2/clasfy_error")