Instructions to use DataScienceProject/Vit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DataScienceProject/Vit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="DataScienceProject/Vit") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DataScienceProject/Vit", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update vit_model_test.py
Verified signature0c1c962 -
Update vit_model_test.py
Verified signature10b8909 -
Update vit_model_test.py
Verified signatureacdba2f -
Update vit_model_test.py
Verified signature24bce5d -
Update vit_model_test.py
Verified signature14cad36 -
Update vit_model_test.py
Verified signature94ce1e2 -
Update vit_model_test.py
Verified signature6151861
-
update
0bbf37a -
Update vit_model_test.py
Verified signature5b16cb6
-
update
267cf9d
-
image path updated
9d763af