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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

amyeroberts
/
vit-base-beans-2

Image Classification
Transformers
TensorBoard
Safetensors
vit
vision
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Transformers

    How to use amyeroberts/vit-base-beans-2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="amyeroberts/vit-base-beans-2")
    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("amyeroberts/vit-base-beans-2")
    model = AutoModelForImageClassification.from_pretrained("amyeroberts/vit-base-beans-2")
  • Notebooks
  • Google Colab
  • Kaggle
vit-base-beans-2
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
amyeroberts's picture
amyeroberts
End of training
926742e verified about 2 years ago
  • runs
    End of training about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.71 kB
    End of training about 2 years ago
  • all_results.json
    353 Bytes
    End of training about 2 years ago
  • config.json
    849 Bytes
    End of training about 2 years ago
  • emissions.csv
    472 Bytes
    Model save about 2 years ago
  • eval_results.json
    188 Bytes
    End of training about 2 years ago
  • model.safetensors
    343 MB
    xet
    Model save about 2 years ago
  • preprocessor_config.json
    578 Bytes
    Model save about 2 years ago
  • train_results.json
    185 Bytes
    End of training about 2 years ago
  • trainer_state.json
    1.45 kB
    End of training about 2 years ago
  • training_args.bin
    5.18 kB
    xet
    Model save about 2 years ago