Instructions to use ydshieh/tiny-random-ViTForMaskedImageModeling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ydshieh/tiny-random-ViTForMaskedImageModeling with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, ViTForMaskedImageModeling processor = AutoImageProcessor.from_pretrained("ydshieh/tiny-random-ViTForMaskedImageModeling") model = ViTForMaskedImageModeling.from_pretrained("ydshieh/tiny-random-ViTForMaskedImageModeling", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
27840f8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:bcfd08d05fe738b7f86ffe709437cbfabfd42c786f90ff89cc6d0379619737c8
size 195674
|