Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

magicslabnu
/
vit_small_patch16_224

Image Classification
Transformers
Safetensors
vit
Model card Files Files and versions
xet
Community

Instructions to use magicslabnu/vit_small_patch16_224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use magicslabnu/vit_small_patch16_224 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="magicslabnu/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("magicslabnu/vit_small_patch16_224")
    model = AutoModelForImageClassification.from_pretrained("magicslabnu/vit_small_patch16_224")
  • Notebooks
  • Google Colab
  • Kaggle
vit_small_patch16_224
88.3 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
robinzixuan1997's picture
robinzixuan1997
push
3667996 almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    24 Bytes
    initial commit almost 2 years ago
  • config.json
    46.3 kB
    push almost 2 years ago
  • model.safetensors
    88.2 MB
    xet
    push almost 2 years ago
  • preprocessor_config.json
    578 Bytes
    push almost 2 years ago