Instructions to use firdhokk/image-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use firdhokk/image-classification with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("firdhokk/image-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from firdhokk/image-classification: direct link, hf CLI and curl.
- Browser
- Download file 18 Bytes
-
https://huggingface.co/firdhokk/image-classification/resolve/b527bc59753b1d9d04a3817cbe94de00bbd49f13/config.json
- Command line
-
hf download hf://firdhokk/image-classification@b527bc59753b1d9d04a3817cbe94de00bbd49f13/config.json
-
curl -L -o config.json https://huggingface.co/firdhokk/image-classification/resolve/b527bc59753b1d9d04a3817cbe94de00bbd49f13/config.json
18 Bytes
| {"num_classes": 4} |