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