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