Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

robertsw
/
aesthetics_v2

Image Classification
Transformers
Safetensors
dinov2
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use robertsw/aesthetics_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use robertsw/aesthetics_v2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="robertsw/aesthetics_v2")
    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("robertsw/aesthetics_v2")
    model = AutoModelForImageClassification.from_pretrained("robertsw/aesthetics_v2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
aesthetics_v2
1.22 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
robertsw's picture
robertsw
robertsw/aesthetics_v1
1b6151e verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    2.76 kB
    robertsw/aesthetics_v1 over 2 years ago
  • config.json
    3.4 kB
    robertsw/aesthetics_v1 over 2 years ago
  • model.safetensors
    1.22 GB
    xet
    robertsw/aesthetics_v1 over 2 years ago
  • preprocessor_config.json
    436 Bytes
    robertsw/aesthetics_v1 over 2 years ago
  • training_args.bin
    4.86 kB
    xet
    robertsw/aesthetics_v1 over 2 years ago