Instructions to use nateraw/vit-age-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nateraw/vit-age-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nateraw/vit-age-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("nateraw/vit-age-classifier") model = AutoModelForImageClassification.from_pretrained("nateraw/vit-age-classifier", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#7)
Verified signature- Adding `safetensors` variant of this model (28f2ebe4bfedc80f76d27d608554e1956c686340) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>4b5acc3
-
Update README.md
Verified signatureaa4f6a1
-
Update README.md (#3)
- Update README.md (34be16ca3d2319d137acd0437d73010531dc16fb) Co-authored-by: Rucy Cheng <Rucy@users.noreply.huggingface.co>461a4c4
-
:pencil: add to readme
f562949 -
:sparkles: add preprocessor config
b3bbed0 -
Create README.md
3da95f8 -
:tada: init
5e6edce -
initial commit
5935607