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

vesteinn
/
vit-mae-inat21

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

Instructions to use vesteinn/vit-mae-inat21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use vesteinn/vit-mae-inat21 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="vesteinn/vit-mae-inat21")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("vesteinn/vit-mae-inat21")
    model = AutoModelForImageClassification.from_pretrained("vesteinn/vit-mae-inat21", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
vit-mae-inat21
2.51 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 8 commits
vesteinn's picture
vesteinn
Update README.md
2930c87 about 3 years ago
  • .gitattributes
    1.52 kB
    initial commit about 3 years ago
  • README.md
    6.1 kB
    Update README.md about 3 years ago
  • config.json
    570 kB
    Added labels about 3 years ago
  • model.safetensors
    1.25 GB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • preprocessor_config.json
    337 Bytes
    Added files about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.25 GB
    xet
    Added files about 3 years ago