Instructions to use hf-internal-testing/tiny-random-SwinModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-SwinModel 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-SwinModel")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-SwinModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-SwinModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
23ff641 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ccf33389d2e63243d7f948ca704b1aab607e8b726e4af1f31f61116961ad5e39
size 368384
|