How to use from the
Use from the
Transformers library
# 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")
Quick Links

Model card for vit_medium_patch28_rope_reg4_gap_256

Downloads last month
42
Safetensors
Model size
52.7M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support