Instructions to use hf-tiny-model-private/tiny-random-DeiTForMaskedImageModeling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-DeiTForMaskedImageModeling with Transformers:
# Load model directly from transformers import AutoImageProcessor, DeiTForMaskedImageModeling processor = AutoImageProcessor.from_pretrained("hf-tiny-model-private/tiny-random-DeiTForMaskedImageModeling") model = DeiTForMaskedImageModeling.from_pretrained("hf-tiny-model-private/tiny-random-DeiTForMaskedImageModeling") - Notebooks
- Google Colab
- Kaggle