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