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/Neotibicen.jpg from ph0masta/bug_classifier: direct link, hf CLI and curl.
- Browser
- Download file 123 kB
-
https://huggingface.co/ph0masta/bug_classifier/resolve/main/images/Neotibicen.jpg
- Command line
-
hf download hf://ph0masta/bug_classifier/images/Neotibicen.jpg
-
curl -L -o Neotibicen.jpg https://huggingface.co/ph0masta/bug_classifier/resolve/main/images/Neotibicen.jpg
123 kB

- Xet hash:
- 772c45f575b9ee2df0956a80bbf1599022e9709eb767150f6881fce42679032f
- Size of remote file:
- 123 kB
- SHA256:
- 579e698c16fc69d6039c97d8ab196c92103d23cc74059dc181f78cf887c1a322
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.