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