# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Jwei/LGViT", dtype="auto")Quick Links
Model Card for Model ID
Model Details
Model Description
- Model type: Early Exit
- Finetuned from model [optional]: ViT, DeiT, Swin
How to Get Started with the Model
Use the code below to get started with the model.
[More Information Needed]
Training Details
Datasets
- cifar100
- food101
Metrics
- Accuarcy
- Speed-up
Results
[More Information Needed]
Summary
Model tree for Jwei/LGViT
Base model
facebook/deit-base-distilled-patch16-224
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Jwei/LGViT") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")