Instructions to use robosapiens/class-room with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use robosapiens/class-room with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="robosapiens/class-room") 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("robosapiens/class-room") model = AutoModelForImageClassification.from_pretrained("robosapiens/class-room", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
2959ef7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2f11b08046455cbb0e6b1026bb6eaddbb14b3cf0da3dc3347e40ae1893dbf2bc
size 343275181
|