Instructions to use timm/convnext_small.in12k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/convnext_small.in12k with timm:
import timm model = timm.create_model("hf-hub:timm/convnext_small.in12k", pretrained=True) - Transformers
How to use timm/convnext_small.in12k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/convnext_small.in12k") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/convnext_small.in12k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Fix library_name. 1c87e5f verified
Update README.md 6cc6a26
Update model config and README b2b3660
Update model config and README 1887f02
Add model 84878c0
initial commit a287d8d
Ross Wightman commited on