Learn AI Math

T5

What is T5?

In one sentence: T5, or Text-to-Text Transfer Transformer, is a Google model that treats every task as turning input text into output text.

Translation, summarizing and question answering all use the same format, like "summarize: [text]." It uses the encoder-decoder design.

What does T5 look like?

Feeding T5 "translate English to German: Hello" and getting "Hallo."

Why does T5 matter?

T5's text-to-text idea strongly influenced later models.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.