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