Instructions to use hf-internal-testing/tiny-random-EfficientFormerForImageClassificationWithTeacher with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-EfficientFormerForImageClassificationWithTeacher with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hf-internal-testing/tiny-random-EfficientFormerForImageClassificationWithTeacher") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("hf-internal-testing/tiny-random-EfficientFormerForImageClassificationWithTeacher", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
1beabce | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:04750f54d2d79df5e005ef2cd0d955885847d93ddf5d5d135707a337b08d334d
size 45823857
|