Instructions to use hf-internal-testing/tiny-random-SwiftFormerModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-SwiftFormerModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="hf-internal-testing/tiny-random-SwiftFormerModel")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-SwiftFormerModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-SwiftFormerModel") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
57fdd0a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:cafea4be5efcf5a5b78bcae98b676c1da0afc67dc45a67f3d4cbe6d53b998238
size 12188680
|