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