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:
# 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") - Notebooks
- Google Colab
- Kaggle
[Awaiting approval] Upload ONNX weights
#56
by Xenova HF Staff - opened
[Automated] Converted using Optimum. Models will be merged manually by @Xenova once they have been checked with Transformers.js.