Instructions to use hf-internal-testing/tiny-random-DPTModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-DPTModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="hf-internal-testing/tiny-random-DPTModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-DPTModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-DPTModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-DPTModel: direct link, hf CLI and curl.
- Browser
- Download file 220 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-DPTModel/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-DPTModel@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-DPTModel/resolve/refs%2Fpr%2F1/model.safetensors
220 kB
- Xet hash:
- 725c605f2041982bfe0abb233f8210361ed5d76060e9239838eb3d1e12e55785
- Size of remote file:
- 220 kB
- SHA256:
- 9de37d312c48c472c666287f12cbbbc1360e57d93be9dbe34bd2f98870624d5f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.