Instructions to use facebook/convnext-large-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/convnext-large-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="facebook/convnext-large-224") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("facebook/convnext-large-224") model = AutoModelForImageClassification.from_pretrained("facebook/convnext-large-224") - Inference
- Notebooks
- Google Colab
- Kaggle
so many HF API not working
#4
by hmitiche16dz - opened
I am writing a python script to do image classification just to showcase my students,
I tried like 5 or 6 models on HF, earlier they work, then since a week they turned be no longer
available via API call, though they are listed on HF as available. It is really frustrating and I am wondering
how to lookup for an API that works on HF!