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 model.safetensors from projecthope/samplemodel: direct link, hf CLI and curl.
- Browser
- Download file 347 MB
-
https://huggingface.co/projecthope/samplemodel/resolve/main/model.safetensors
- Command line
-
hf download hf://projecthope/samplemodel/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/projecthope/samplemodel/resolve/main/model.safetensors
347 MB
- Xet hash:
- 04cc2ddfd8baff0da494def9fd625c0e56e831e330e8000c48d4cee231a0c3d6
- Size of remote file:
- 347 MB
- SHA256:
- 9309cd435fb7dd0cb51b81266231bc7b56f994fafaa8992af43e7511192a933b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.