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

  • Log In
  • Sign Up

bn22
/
vit_medium_patch28_rope_reg4_gap_224

Image Classification
timm
PyTorch
Safetensors
Transformers
variance_pad_eva
feature-extraction
custom_code
Model card Files Files and versions
xet
Community

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

  • Libraries
  • timm

    How to use bn22/vit_medium_patch28_rope_reg4_gap_224 with timm:

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

    How to use bn22/vit_medium_patch28_rope_reg4_gap_224 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="bn22/vit_medium_patch28_rope_reg4_gap_224", trust_remote_code=True)
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("bn22/vit_medium_patch28_rope_reg4_gap_224", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
vit_medium_patch28_rope_reg4_gap_224
380 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
bn22's picture
bn22
Upload model
a411a46 verified 8 days ago
  • .gitattributes
    1.52 kB
    initial commit 8 days ago
  • README.md
    187 Bytes
    initial model 8 days ago
  • config.json
    745 Bytes
    Upload model 8 days ago
  • model.safetensors
    211 MB
    xet
    Upload model 8 days ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    169 MB
    xet
    initial model 8 days ago
  • variance_pad_eva.py
    12.5 kB
    Upload VariancePadEvaForImageClassification 8 days ago