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

92amineee
/
vit-beans-demo

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

Instructions to use 92amineee/vit-beans-demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use 92amineee/vit-beans-demo with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="92amineee/vit-beans-demo")
    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("92amineee/vit-beans-demo")
    model = AutoModelForImageClassification.from_pretrained("92amineee/vit-beans-demo", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
vit-beans-demo
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
92amineee's picture
92amineee
Upload README.md with huggingface_hub
5ec689b verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    703 Bytes
    Upload README.md with huggingface_hub about 1 month ago
  • config.json
    806 Bytes
    Fine-tuned ViT on Beans dataset about 1 month ago
  • model.safetensors
    343 MB
    xet
    Fine-tuned ViT on Beans dataset about 1 month ago
  • preprocessor_config.json
    325 Bytes
    Fine-tuned ViT on Beans dataset about 1 month ago
  • training_args.bin
    5.27 kB
    xet
    Fine-tuned ViT on Beans dataset about 1 month ago