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

Den953
/
vit-beans-demo

Image Classification
Transformers
ONNX
Safetensors
vit
vision
beans
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use Den953/vit-beans-demo with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="Den953/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("Den953/vit-beans-demo")
    model = AutoModelForImageClassification.from_pretrained("Den953/vit-beans-demo", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
vit-beans-demo
774 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Den953's picture
Den953
Add int8 quantized ONNX for in-browser inference
d7856e4 verified about 2 months ago
  • onnx
    Add int8 quantized ONNX for in-browser inference about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    2.35 kB
    Add detailed model card about 2 months ago
  • config.json
    842 Bytes
    Fine-tuned ViT on beans about 2 months ago
  • model.safetensors
    343 MB
    xet
    Fine-tuned ViT on beans about 2 months ago
  • preprocessor_config.json
    347 Bytes
    Fine-tuned ViT on beans about 2 months ago