Instructions to use Suru/FruitModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Suru/FruitModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Suru/FruitModel") 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("Suru/FruitModel") model = AutoModelForImageClassification.from_pretrained("Suru/FruitModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#2)
- Adding `safetensors` variant of this model (0650c5faf2e99a6163eea04c7db672a008acab7a) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>ef9ae03
-
Upload . with huggingface_hub (#1)
- Upload . with huggingface_hub (29a62f6916ff93030813dabe91ed168664ea0e83)efd2ccd -
initial commit
Suraj Patele5a5ef7