lewtun/dog_food
Viewer • Updated • 3k • 69 • 5
How to use NimaBoscarino/dog_food with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="NimaBoscarino/dog_food")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("NimaBoscarino/dog_food", device_map="auto")Configuration Parsing Warning:Config file config.json cannot be fetched (too big)