Instructions to use hf-internal-testing/tiny-random-PerceiverForImageClassificationLearned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-PerceiverForImageClassificationLearned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hf-internal-testing/tiny-random-PerceiverForImageClassificationLearned") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForImageClassification tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-PerceiverForImageClassificationLearned") model = AutoModelForImageClassification.from_pretrained("hf-internal-testing/tiny-random-PerceiverForImageClassificationLearned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from hf-internal-testing/tiny-random-PerceiverForImageClassificationLearned: direct link, hf CLI and curl.
- Browser
- Download file 1.5 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-PerceiverForImageClassificationLearned/resolve/36044573c1199b0ae3d4f3f86f5cf6e3a22b1076/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-PerceiverForImageClassificationLearned@36044573c1199b0ae3d4f3f86f5cf6e3a22b1076/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-PerceiverForImageClassificationLearned/resolve/36044573c1199b0ae3d4f3f86f5cf6e3a22b1076/pytorch_model.bin
1.5 MB
- Xet hash:
- 30e7055ff30317c8aff19165fcf5a2a88caf5389a16dd53f509b4d38645ac20b
- Size of remote file:
- 1.5 MB
- SHA256:
- c053380fea7ceaa2326f27c88ca9729955507021c1e63fee1e09abaee5faacaf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.