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