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