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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
29c089e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a22060f47d432c87701c68e2c549a9682676a2623fd74360e503b1495bad983a
size 32166514
|