Instructions to use hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, OneFormerForUniversalSegmentation processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation") model = OneFormerForUniversalSegmentation.from_pretrained("hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation: direct link, hf CLI and curl.
- Browser
- Download file 47.8 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation/resolve/refs%2Fpr%2F1/model.safetensors
47.8 MB
- Xet hash:
- 27229f56d02925b1665cf2e7d20b911d88f8951512ecc5ad98cb367683cf786a
- Size of remote file:
- 47.8 MB
- SHA256:
- d59c5c8b90be1ea6eeb929d56fa5b06eaa6277670ce6b88a79fd0bb1c11f810a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.