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