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

  • Log In
  • Sign Up

wbxlala
/
vit-small-patch16-224

Image Classification
Transformers
PyTorch
TensorBoard
vit
Model card Files Files and versions
xet
Metrics Training metrics Community
1

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="wbxlala/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("wbxlala/vit-small-patch16-224")
    model = AutoModelForImageClassification.from_pretrained("wbxlala/vit-small-patch16-224", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
vit-small-patch16-224
173 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 22 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
87dffdb verified over 1 year ago
  • runs
    Training in progress, epoch 19 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • .gitignore
    13 Bytes
    Training in progress, epoch 0 almost 3 years ago
  • config.json
    617 Bytes
    Training in progress, epoch 0 almost 3 years ago
  • model.safetensors
    86.7 MB
    xet
    Adding `safetensors` variant of this model over 1 year ago
  • preprocessor_config.json
    325 Bytes
    Training in progress, epoch 0 almost 3 years ago
  • pytorch_model.bin
    86.7 MB
    xet
    Training in progress, epoch 19 almost 3 years ago
  • training_args.bin
    3.96 kB
    xet
    Training in progress, epoch 0 almost 3 years ago