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