Instructions to use tonyassi/celebrity-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tonyassi/celebrity-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="tonyassi/celebrity-classifier") 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("tonyassi/celebrity-classifier") model = AutoModelForImageClassification.from_pretrained("tonyassi/celebrity-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from tonyassi/celebrity-classifier: direct link, hf CLI and curl.
- Browser
- Download file 4.6 kB
-
https://huggingface.co/tonyassi/celebrity-classifier/resolve/main/training_args.bin
- Command line
-
hf download hf://tonyassi/celebrity-classifier/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/tonyassi/celebrity-classifier/resolve/main/training_args.bin
4.6 kB
- Xet hash:
- 3216c8e6ae9d48dadeb957e93df2a84fd7767152153678dae79a2d136eb0de0c
- Size of remote file:
- 4.6 kB
- SHA256:
- 7ccdc0293c117eb82db18529990287533072b766fa51137b41dcef3c399170fa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.