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

timm
/
vit_huge_patch14_224_in21k

Image Classification
timm
PyTorch
Safetensors
Transformers
vision-transformer
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • timm

    How to use timm/vit_huge_patch14_224_in21k with timm:

    import timm
    
    model = timm.create_model("hf_hub:timm/vit_huge_patch14_224_in21k", pretrained=True)
  • Transformers

    How to use timm/vit_huge_patch14_224_in21k with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="timm/vit_huge_patch14_224_in21k")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("timm/vit_huge_patch14_224_in21k", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
vit_huge_patch14_224_in21k
5.28 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 6 commits
pcuenq's picture
pcuenq HF Staff
transformers tag
b9165ae verified over 1 year ago
  • .gitattributes
    744 Bytes
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • README.md
    173 Bytes
    transformers tag over 1 year ago
  • config.json
    375 Bytes
    Initial commit about 5 years ago
  • model.safetensors
    2.64 GB
    xet
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    2.64 GB
    xet
    Initial commit about 5 years ago