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

  • Log In
  • Sign Up

google
/
vit-large-patch16-224

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

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="google/vit-large-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("google/vit-large-patch16-224")
    model = AutoModelForImageClassification.from_pretrained("google/vit-large-patch16-224")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
vit-large-patch16-224
3.65 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 13 commits
nielsr's picture
nielsr HF Staff
Update dataset tag
9e2727f almost 4 years ago
  • .gitattributes
    690 Bytes
    initial commit about 5 years ago
  • README.md
    5.43 kB
    Update dataset tag almost 4 years ago
  • config.json
    69.7 kB
    Add TF model over 4 years ago
  • flax_model.msgpack
    1.22 GB
    xet
    add model almost 5 years ago
  • preprocessor_config.json
    160 Bytes
    Add preprocessor config about 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    1.22 GB
    xet
    Update model about 5 years ago
  • tf_model.h5
    1.22 GB
    xet
    Add TF model over 4 years ago