Instructions to use tiya1012/vit-accident-image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tiya1012/vit-accident-image with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="tiya1012/vit-accident-image") 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("tiya1012/vit-accident-image") model = AutoModelForImageClassification.from_pretrained("tiya1012/vit-accident-image", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from tiya1012/vit-accident-image: direct link, hf CLI and curl.
- Browser
- Download file 4.41 kB
-
https://huggingface.co/tiya1012/vit-accident-image/resolve/main/training_args.bin
- Command line
-
hf download hf://tiya1012/vit-accident-image/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/tiya1012/vit-accident-image/resolve/main/training_args.bin
4.41 kB
- Xet hash:
- 8e6450bd079b4f2f7e2e3462f1c10f1e407284378c1856e24171af8f1b8b7f93
- Size of remote file:
- 4.41 kB
- SHA256:
- daed8b6ce15cc6b3f87734aa2e8979670d0cfb855c83d202deb6e40526c5fca7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.