Translation
Transformers
PyTorch
TensorFlow
JAX
Rust
ONNX
Safetensors
t5
text2text-generation
summarization
text-generation-inference
Instructions to use google-t5/t5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google-t5/t5-small with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="google-t5/t5-small")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google-t5/t5-small") model = AutoModelForSeq2SeqLM.from_pretrained("google-t5/t5-small") - Inference
- Notebooks
- Google Colab
- Kaggle
Multilingual powerhouse — testing for mobile deployment
#35
by 3morixd - opened
This model covers Hebrew, Turkish, Polish, French, German — exactly the kind of multilingual capability we need for global mobile AI.
At Dispatch AI (FZE, UAE), we're building mobile AI that works for everyone. Models like this are the foundation.
We benchmark multilingual models on our 40-phone farm (Snapdragon 865) to see which maintain quality across languages when quantized to 4-bit. Results vary wildly — some lose 30% quality in non-English after quantization.
Would love to see multilingual eval at different quantization levels.
- Dispatch AI (FZE), Sharjah UAE