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

google
/
vit-large-patch16-384

Image Classification
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
vit
vision
Model card Files Files and versions
xet
Community
1

Instructions to use google/vit-large-patch16-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use google/vit-large-patch16-384 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="google/vit-large-patch16-384")
    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("google/vit-large-patch16-384")
    model = AutoModelForImageClassification.from_pretrained("google/vit-large-patch16-384")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
vit-large-patch16-384
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
nielsr's picture
nielsr HF Staff
Add preprocessor config
7ecb2c2 about 5 years ago
  • .gitattributes
    690 Bytes
    initial commit about 5 years ago
  • config.json
    69.6 kB
    First commit about 5 years ago
  • preprocessor_config.json
    160 Bytes
    Add preprocessor config about 5 years ago
  • pytorch_model.bin
    1.22 GB
    xet
    First commit about 5 years ago