How to use from the
Use from the
Transformers library
# pip install -U transformers accelerate
# 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", device_map="auto")
Quick Links

This is a fp16 safetensors version of Google's mT5-xl model 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

This model is meant to be used with HunYuanDiT.

Downloads last month
10
Safetensors
Model size
2B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including city96/mt5-xl-encoder-fp16