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