Instructions to use devboop/vit-base-patch16-224-cl-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use devboop/vit-base-patch16-224-cl-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="devboop/vit-base-patch16-224-cl-v1") 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("devboop/vit-base-patch16-224-cl-v1") model = AutoModelForImageClassification.from_pretrained("devboop/vit-base-patch16-224-cl-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download train_results.json from devboop/vit-base-patch16-224-cl-v1: direct link, hf CLI and curl.
- Browser
- Download file 209 Bytes
-
https://huggingface.co/devboop/vit-base-patch16-224-cl-v1/resolve/main/train_results.json
- Command line
-
hf download hf://devboop/vit-base-patch16-224-cl-v1/train_results.json
-
curl -L -o train_results.json https://huggingface.co/devboop/vit-base-patch16-224-cl-v1/resolve/main/train_results.json
209 Bytes
| { | |
| "epoch": 3.0, | |
| "total_flos": 1.0544682063529378e+19, | |
| "train_loss": 3.5929441298934175, | |
| "train_runtime": 3262.3183, | |
| "train_samples_per_second": 41.554, | |
| "train_steps_per_second": 0.325 | |
| } |