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