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

jacobthebanana
/
vit-recycling-classification

Image Classification
Transformers
JAX
vit
vision
Model card Files Files and versions
xet
Community

Instructions to use jacobthebanana/vit-recycling-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use jacobthebanana/vit-recycling-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="jacobthebanana/vit-recycling-classification")
    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("jacobthebanana/vit-recycling-classification")
    model = AutoModelForImageClassification.from_pretrained("jacobthebanana/vit-recycling-classification", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
vit-recycling-classification
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
jacobthebanana's picture
jacobthebanana
Updated model widget
260bd61 over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    548 Bytes
    Updated model widget over 3 years ago
  • config.json
    1.08 kB
    Updated weights of google/vit-base-patch16-224 fine-tuned on Kaggle mostafaabla/garbage-classification over 3 years ago
  • flax_model.msgpack
    343 MB
    xet
    Updated weights of google/vit-base-patch16-224 fine-tuned on Kaggle mostafaabla/garbage-classification over 3 years ago
  • preprocessor_config.json
    160 Bytes
    Imported weights of google/vit-base-patch16-224 fine-tuned on Kaggle mostafaabla/garbage-classification over 3 years ago