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

WinKawaks
/
vit-small-patch16-224

Image Classification
Transformers
PyTorch
ONNX
Safetensors
vit
vision
Model card Files Files and versions
xet
Community
5

Instructions to use WinKawaks/vit-small-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use WinKawaks/vit-small-patch16-224 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="WinKawaks/vit-small-patch16-224")
    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("WinKawaks/vit-small-patch16-224")
    model = AutoModelForImageClassification.from_pretrained("WinKawaks/vit-small-patch16-224")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
vit-small-patch16-224 / onnx
88.5 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 2 commits
WinKawaks's picture
WinKawaks
Adding ONNX file of this model (#5)
0c08c18 verified about 1 year ago
  • config.json
    69.8 kB
    Adding ONNX file of this model (#4) over 1 year ago
  • model.onnx
    88.5 MB
    xet
    Adding ONNX file of this model (#5) about 1 year ago