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

nateraw
/
vit-base-beans

Image Classification
Transformers
PyTorch
TensorBoard
English
vit
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community
7

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

  • Libraries
  • Transformers

    How to use nateraw/vit-base-beans with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="nateraw/vit-base-beans")
    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("nateraw/vit-base-beans")
    model = AutoModelForImageClassification.from_pretrained("nateraw/vit-base-beans")
  • Notebooks
  • Google Colab
  • Kaggle
vit-base-beans
344 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 8 commits
lewtun's picture
lewtun HF Staff
Add evaluation results on beans dataset
9cbf311 almost 4 years ago
  • runs
    add model over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • .gitignore
    13 Bytes
    add model over 4 years ago
  • README.md
    3.42 kB
    Add evaluation results on beans dataset almost 4 years ago
  • all_results.json
    348 Bytes
    add model over 4 years ago
  • angular_leaf_spot.jpeg
    61.4 kB
    Upload angular_leaf_spot.jpeg over 4 years ago
  • bean_rust.jpeg
    64.4 kB
    Upload bean_rust.jpeg over 4 years ago
  • config.json
    756 Bytes
    add model over 4 years ago
  • emissions.csv
    308 Bytes
    add model over 4 years ago
  • eval_results.json
    202 Bytes
    add model over 4 years ago
  • healthy.jpeg
    64.6 kB
    Upload healthy.jpeg over 4 years ago
  • preprocessor_config.json
    228 Bytes
    add model over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    343 MB
    xet
    add model over 4 years ago
  • train_results.json
    166 Bytes
    add model over 4 years ago
  • trainer_state.json
    9.6 kB
    add model over 4 years ago
  • training_args.bin

    Detected Pickle imports (4)

    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args.TrainingArguments",
    • "transformers.trainer_utils.IntervalStrategy",
    • "torch.device"

    How to fix it?

    2.67 kB
    xet
    add model over 4 years ago