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

matteopilotto
/
vit-base-patch16-224-in21k-snacks

Image Classification
Transformers
PyTorch
vit
Eval Results (legacy)
Model card Files Files and versions
xet
Community
3

Instructions to use matteopilotto/vit-base-patch16-224-in21k-snacks with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use matteopilotto/vit-base-patch16-224-in21k-snacks with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="matteopilotto/vit-base-patch16-224-in21k-snacks")
    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("matteopilotto/vit-base-patch16-224-in21k-snacks")
    model = AutoModelForImageClassification.from_pretrained("matteopilotto/vit-base-patch16-224-in21k-snacks")
  • Notebooks
  • Google Colab
  • Kaggle
vit-base-patch16-224-in21k-snacks
343 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 8 commits
matteopilotto's picture
matteopilotto
autoevaluator's picture
autoevaluator HF Staff
Add evaluation results on Matthijs/snacks dataset (#1)
54e537f almost 4 years ago
  • .gitattributes
    1.17 kB
    initial commit about 4 years ago
  • README.md
    2.9 kB
    Add evaluation results on Matthijs/snacks dataset (#1) almost 4 years ago
  • config.json
    1.42 kB
    Add fine-tuned ViT files about 4 years ago
  • preprocessor_config.json
    228 Bytes
    Add standard ViT feature extractor file about 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 fine-tuned ViT files about 4 years ago