Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

MatanBT
/
age-vit-classifier

Image Classification
Transformers
Safetensors
vit
Model card Files Files and versions
xet
Community

Instructions to use MatanBT/age-vit-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use MatanBT/age-vit-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="MatanBT/age-vit-classifier")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("MatanBT/age-vit-classifier")
    model = AutoModelForImageClassification.from_pretrained("MatanBT/age-vit-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
age-vit-classifier
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
MatanBT's picture
MatanBT
ViT-base finetuned on FairFace age classification (9 classes)
d3ca13c verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    5.17 kB
    Upload processor 3 months ago
  • config.json
    1 kB
    ViT-base finetuned on FairFace age classification (9 classes) 3 months ago
  • model.safetensors
    343 MB
    xet
    ViT-base finetuned on FairFace age classification (9 classes) 3 months ago
  • preprocessor_config.json
    351 Bytes
    Upload processor 3 months ago