Run this model with HF Jobs
Run prithivMLmods/facial-age-detection on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/prithivMLmods/facial-age-detection. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/prithivMLmods/facial-age-detection on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use prithivMLmods/facial-age-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/facial-age-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="prithivMLmods/facial-age-detection") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForImageClassification processor = AutoProcessor.from_pretrained("prithivMLmods/facial-age-detection") model = AutoModelForImageClassification.from_pretrained("prithivMLmods/facial-age-detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files1 unmodified line234556789101112131415161718192021222324251 unmodified linelicense: apache-2.0datasets:- prithivMLmods/Face-Age-10K------
```pyClassification Report: precision recall f1-score support
age 01-10 0.9614 0.9669 0.9641 2474 age 11-20 0.8418 0.8467 0.8442 1181 age 21-30 0.8118 0.8326 0.8220 1523 age 31-40 0.6937 0.6683 0.6808 1010 age 41-55 0.7106 0.7528 0.7311 1181 age 56-65 0.6878 0.6646 0.6760 799 age 66-80 0.7949 0.7596 0.7768 653 age 80 + 0.9349 0.8343 0.8817 344
accuracy 0.8225 9165 macro avg 0.8046 0.7907 0.7971 9165weighted avg 0.8226 0.8225 0.8223 9165```
README.md+21-1