Instructions to use davanstrien/vit-base-patch32-224-in21-leicester_binary with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use davanstrien/vit-base-patch32-224-in21-leicester_binary with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="davanstrien/vit-base-patch32-224-in21-leicester_binary") 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("davanstrien/vit-base-patch32-224-in21-leicester_binary") model = AutoModelForImageClassification.from_pretrained("davanstrien/vit-base-patch32-224-in21-leicester_binary", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.1d195b3
-
Librarian Bot: Add base_model information to model (#1)
- Librarian Bot: Add base_model information to model (e4bb8e284c6e3bd6d6f9a34c78814aa16fb6751d) Co-authored-by: Librarian Bot (Bot) <librarian-bot@users.noreply.huggingface.co>4d8b7c6
-
update model card README.md
a80586e -
End of training
94f719a -
update model card README.md
3958293 -
Model save
6a77138 -
Training in progress, epoch 1
1fd1fe2
-
update model card README.md
6daf15d -
End of training
55577f4 -
update model card README.md
c521604 -
Model save
219aa3c -
Training in progress, epoch 2
1d357cb -
Training in progress, epoch 1
a07e27a -
initial commit
764f1f6