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