Instructions to use Intel/tiny-random-vit_ipex_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Intel/tiny-random-vit_ipex_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Intel/tiny-random-vit_ipex_model") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Intel/tiny-random-vit_ipex_model") model = AutoModelForImageClassification.from_pretrained("Intel/tiny-random-vit_ipex_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
2561b97 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e11ce11a93299ffdcd09106d7a11aefd7756c834f37337c1f2a6952be7e1ec53
size 196790
|