Instructions to use ydshieh/tiny-random-ViTModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ydshieh/tiny-random-ViTModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="ydshieh/tiny-random-ViTModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("ydshieh/tiny-random-ViTModel") model = AutoModel.from_pretrained("ydshieh/tiny-random-ViTModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
5401098 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:945b6d03a0bfe41e43cd0f9d5d9c90f48f56210eb8b801008a03f6c9a5a56348
size 291152
|