SAVRN
Search Contact SAVRN

Open-weight model · Translation

t5-base

by T5 community google-t5/t5-base

The developers of the Text-To-Text Transfer Transformer (T5) write: T5-Base is the checkpoint with 220 million parameters. The developers write in a blog post that the model: See the blog post and research paper for further details.

Parameters223M
Context
Weights4.5 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads2.6M

Runs On

What it takes to serve t5-base (223M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.4 GB 0.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.2 GB 0.3 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

SAVRN's Notes on t5-base

Half a gigabyte of accelerator memory covers t5-base at 16-bit, with the weights at 0.4 GB, so the hardware question is not which card but how many jobs you stack on one. The cheapest setup in our data, a single MI300X with 192 GB at $1.85 per hour on-demand, sits nearly idle if this 223M-parameter translation model runs alone, so put it on a GPU already carrying other work.

Check two things first. Our record lists no context length, so test your longest translation inputs against the checkpoint directly. The 11 files total 4.5 GB across five formats; pull only the one your stack loads. Apache 2.0 permits commercial use, modification and redistribution as long as the license notices and any NOTICE file stay intact and you state significant changes, plus a patent grant from contributors. Pretraining was on C4; last update February 14, 2024.

Model Card

By T5 community, published under apache-2.0, revision a9723ea7f1b3.

Model Card for T5 Base

Table of Contents

  1. Model Details
  2. Uses
  3. Bias, Risks, and Limitations
  4. Training Details
  5. Evaluation
  6. Environmental Impact
  7. Citation
  8. Model Card Authors
  9. How To Get Started With the Model

Model Details

Model Description

The developers of the Text-To-Text Transfer Transformer (T5) write:

With T5, we propose reframing all NLP tasks into a unified text-to-text-format where the input and output are always text strings, in contrast to BERT-style models that can only output either a class label or a span of the input. Our text-to-text framework allows us to use the same model, loss function, and hyperparameters on any NLP task.

T5-Base is the checkpoint with 220 million parameters.

Read the full model card (802 words)

Configuration

Architecture
T5ForConditionalGeneration
Vocabulary size
32,128
Model type
t5

Identity and Version

Repository
google-t5/t5-base
Publisher
T5 community
Task
Translation
Modality
Text
Library
transformers
Parameters
223M parameters
Languages
en, fr, ro, de
Revision
a9723ea7f1b39c1eae772870f3b547bf6ef7e6c1
First published
2022-03-02
Last updated
2024-02-14

Files and Weights

11 files, 4.5 GB in total. The weights are 5 files totalling 4.5 GB in bin, h5, msgpack, ot, safetensors.

Weights5 files · 4.5 GB
Configuration2 files · 1.4 KB
Tokenizer2 files · 2.2 MB
Documentation1 file · 8.5 KB
Repository1 file · 537 B
Every file
FileTypeSizeSHA-256
flax_model.msgpackWeights891.6 MB d96ab4b2e2ac
model.safetensorsWeights891.6 MB a90903540cc0
pytorch_model.binWeights891.7 MB ab97165968ed
rust_model.otWeights891.7 MB d53fb0a3dbc2
tf_model.h5Weights892.1 MB 700a1c9ebae4
config.jsonConfiguration1.2 KB
generation_config.jsonConfiguration147 B
README.mdDocumentation8.5 KB
.gitattributesRepository537 B
spiece.modelTokenizer791.7 KB
tokenizer.jsonTokenizer1.4 MB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
4.5 GB
Download from T5 community

Released by T5 community through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published4.5 GB
16-bit0.4 GB
8-bit0.2 GB
4-bit0.1 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Compare t5-base

Questions About t5-base

How much GPU memory does t5-base need?

About 0.5 GB at 16-bit and 0.1 GB at 4-bit: the weights (223M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run t5-base on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use t5-base commercially?

Yes. t5-base is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Neural machine translation model for translating from Turkish (tr) to English (en). This model is part of the OPUS-MT project, an effort to make neural machine translation models widely available and accessible for many languages in the world. All models are originally trained using the amazing framework of Marian NMT, an efficient NMT implementation written in pure C++. The models have been converted to pyTorch using the transformers library by huggingface. Training data is taken from OPUS and training pipelines use the procedures of OPUS-MT-train. You can also use OPUS-MT models with the transformers pipelines, for example: The work is supported by the European Language Grid as pilot…

Open weights cc-by-4.0 235M parameters 1,024 tokens transformers

Neural machine translation model for translating from Korean (ko) to English (en). This model is part of the OPUS-MT project, an effort to make neural machine translation models widely available and accessible for many languages in the world. All models are originally trained using the amazing framework of Marian NMT, an efficient NMT implementation written in pure C++. The models have been converted to pyTorch using the transformers library by huggingface. Training data is taken from OPUS and training pipelines use the procedures of OPUS-MT-train. - More information about released models for this language pair: OPUS-MT kor-eng README - Tatoeba Translation…

Open weights cc-by-4.0 209M parameters 1,024 tokens transformers

Neural machine translation model for translating from English (en) to Bulgarian (bg). This model is part of the OPUS-MT project, an effort to make neural machine translation models widely available and accessible for many languages in the world. All models are originally trained using the amazing framework of Marian NMT, an efficient NMT implementation written in pure C++. The models have been converted to pyTorch using the transformers library by huggingface. Training data is taken from OPUS and training pipelines use the procedures of OPUS-MT-train. You can also use OPUS-MT models with the transformers pipelines, for example: The work is supported by the European Language Grid as pilot…

Open weights cc-by-4.0 238M parameters 1,024 tokens transformers

This is the model card of IndicTrans2 En-Indic Distilled 200M variant. Please refer to section 7.6: Distilled Models in the TMLR submission for further details on model training, data and metrics. Please refer to the github repository for a detail description on how to use HF compatible IndicTrans2 models for inference. - New RoPE based IndicTrans2 models which are capable of handling sequence lengths upto 2048 tokens are available here - These models can be used by just changing the modelname parameter. Please read the model card of the RoPE-IT2 models for more information about the generation. - It is recommended to run these models with flashattention2 for efficient generation. If you…

Access requested at publisher mit 275M parameters transformers

source languages: fr; target languages: en; OPUS readme: fr-en; dataset: opus; model: transformer-align; pre-processing: normalization + SentencePiece.

Open weights apache-2.0 75M parameters 512 tokens transformers

Model · Translation

t5-small

T5 community

The developers of the Text-To-Text Transfer Transformer (T5) write: T5-Small is the checkpoint with 60 million parameters. The developers write in a blog post that the model: See the blog post and research paper for further details. The model is pre-trained on the Colossal Clean Crawled Corpus (C4), which was developed and released in the context of the same research paper as T5. The model was pre-trained on a on a multi-task mixture of unsupervised (1.) and supervised tasks (2.). Thereby, the following datasets were being used for (1.) and (2.): 1. Datasets used for Unsupervised denoising objective: 2. Datasets used for Supervised text-to-text language modeling objective - CoLA Warstadt et…

Open weights apache-2.0 61M parameters transformers