Instructions to use city96/mt5-xl-encoder-fp16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use city96/mt5-xl-encoder-fp16 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("city96/mt5-xl-encoder-fp16") model = AutoModel.from_pretrained("city96/mt5-xl-encoder-fp16") - Notebooks
- Google Colab
- Kaggle
File size: 449 Bytes
bfed01a | 1 2 3 4 5 6 7 8 | ---
license: apache-2.0
---
This is a fp16 safetensors version of [Google's mT5-xl model](https://huggingface.co/google/mt5-xl) to be used in downstream inference tasks.
This repository only contains the encoder part of the model. For the full model, use the following repository: [`city96/mt5-xl-fp16`](https://huggingface.co/city96/mt5-xl-fp16)
This model is meant to be used with [HunYuanDiT](https://huggingface.co/Tencent-Hunyuan/HunyuanDiT). |