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

  • Log In
  • Sign Up

microsoft
/
cvt-21

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

Instructions to use microsoft/cvt-21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use microsoft/cvt-21 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="microsoft/cvt-21")
    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/cvt-21")
    model = AutoModelForImageClassification.from_pretrained("microsoft/cvt-21")
  • Notebooks
  • Google Colab
  • Kaggle
cvt-21
255 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 4 commits
joaogante's picture
joaogante
CCMat's picture
CCMat
Add TF weights (#1)
3359f9b over 3 years ago
  • .gitattributes
    1.22 kB
    initial commit about 4 years ago
  • README.md
    1.68 kB
    Update README.md almost 4 years ago
  • config.json
    70.3 kB
    Update about 4 years ago
  • preprocessor_config.json
    266 Bytes
    Update about 4 years ago
  • pytorch_model.bin
    127 MB
    xet
    Update about 4 years ago
  • tf_model.h5
    128 MB
    xet
    Add TF weights (#1) over 3 years ago