Instructions to use INC4AI/vit-base-patch16-224-int8-static-inc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use INC4AI/vit-base-patch16-224-int8-static-inc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="INC4AI/vit-base-patch16-224-int8-static-inc") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("INC4AI/vit-base-patch16-224-int8-static-inc") model = AutoModelForImageClassification.from_pretrained("INC4AI/vit-base-patch16-224-int8-static-inc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from INC4AI/vit-base-patch16-224-int8-static-inc: direct link, hf CLI and curl.
- Browser
- Download file 97.8 MB
-
https://huggingface.co/INC4AI/vit-base-patch16-224-int8-static-inc/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://INC4AI/vit-base-patch16-224-int8-static-inc/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/INC4AI/vit-base-patch16-224-int8-static-inc/resolve/main/pytorch_model.bin
97.8 MB
- Xet hash:
- 3680c1ccf13d0bd9537aa6da49feba9e6e6519559bc26fc4fb4061ca578e3d42
- Size of remote file:
- 97.8 MB
- SHA256:
- 1452cfb2305cfb08352376e86c58e437a6fb22cc3fe3b33c9f0bf5b84e02b636
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.