Instructions to use ph0masta/bug_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ph0masta/bug_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ph0masta/bug_classifier") 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("ph0masta/bug_classifier") model = AutoModelForImageClassification.from_pretrained("ph0masta/bug_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download images/Epitheca.jpg from ph0masta/bug_classifier: direct link, hf CLI and curl.
- Browser
- Download file 124 kB
-
https://huggingface.co/ph0masta/bug_classifier/resolve/main/images/Epitheca.jpg
- Command line
-
hf download hf://ph0masta/bug_classifier/images/Epitheca.jpg
-
curl -L -o Epitheca.jpg https://huggingface.co/ph0masta/bug_classifier/resolve/main/images/Epitheca.jpg
124 kB

- Xet hash:
- 5c1667a59b3e9210c0198060b99ea28fd5e02405095379cf6f9ad215f0dc2af5
- Size of remote file:
- 124 kB
- SHA256:
- 67017cf9f4a0741a7b3bf1199ed3aef6cc11430b9eeb7483c0d96f27c0105237
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.