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