Instructions to use hf-internal-testing/tiny-random-SwiftFormerForImageClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-SwiftFormerForImageClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hf-internal-testing/tiny-random-SwiftFormerForImageClassification") 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("hf-internal-testing/tiny-random-SwiftFormerForImageClassification") model = AutoModelForImageClassification.from_pretrained("hf-internal-testing/tiny-random-SwiftFormerForImageClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- b9e1eb02e0e0bbef20c174cf3335747aab1dc2b775204ce54802b36c7f21417f
- Size of remote file:
- 14 MB
- SHA256:
- 332b5cc390d5568e96aea1775397c460c015771a2ee7002c4870190ce0270424
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.