Instructions to use hf-internal-testing/tiny-random-SwinForMaskedImageModeling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-SwinForMaskedImageModeling with Transformers:
# Load model directly from transformers import AutoImageProcessor, SwinForMaskedImageModeling processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-SwinForMaskedImageModeling") model = SwinForMaskedImageModeling.from_pretrained("hf-internal-testing/tiny-random-SwinForMaskedImageModeling", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened about 5 hours ago
by
SFconvertbot