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

microsoft
/
beit-base-patch16-224-pt22k-ft22k

Image Classification
Transformers
PyTorch
JAX
beit
vision
Model card Files Files and versions
xet
Community
5

Instructions to use microsoft/beit-base-patch16-224-pt22k-ft22k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use microsoft/beit-base-patch16-224-pt22k-ft22k with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="microsoft/beit-base-patch16-224-pt22k-ft22k")
    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("microsoft/beit-base-patch16-224-pt22k-ft22k")
    model = AutoModelForImageClassification.from_pretrained("microsoft/beit-base-patch16-224-pt22k-ft22k")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
beit-base-patch16-224-pt22k-ft22k
826 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
nielsr's picture
nielsr HF Staff
Update README.md
9da3011 about 3 years ago
  • .gitattributes
    783 Bytes
    Update .gitattributes over 4 years ago
  • README.md
    5.48 kB
    Update README.md about 3 years ago
  • config.json
    1.67 MB
    add model over 4 years ago
  • flax_model.msgpack
    410 MB
    xet
    add model over 4 years ago
  • preprocessor_config.json
    276 Bytes
    Update preprocessor_config.json over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    414 MB
    xet
    First commit almost 5 years ago