Instructions to use tribber93/my-trash-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tribber93/my-trash-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="tribber93/my-trash-classification") 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("tribber93/my-trash-classification") model = AutoModelForImageClassification.from_pretrained("tribber93/my-trash-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature2f86488 -
Update README.md
Verified signatureceb3873
-
Update README.md
Verified signatureb95d011 -
Upload preprocessor_config.json
Verified signature6414762 -
Update README.md
Verified signature279f6a3 -
Upload ViTForImageClassification
Verified signature392da69 -
initial commit
Verified signature2efcafd