T5

Also known as: Text-to-Text Transfer Transformer

Category: NLP / Language Processing

A text-to-text transformer model that frames all NLP tasks as converting input text to output text, enabling a unified approach to diverse language tasks.

Full Explanation

T5 (Text-to-Text Transfer Transformer), developed by Google, introduces a unified framework where every NLP task is cast as a text-to-text problem. Classification, translation, summarization, and question answering are all treated as generating output text from input text with appropriate task prefixes. T5 uses an encoder-decoder transformer architecture and was pre-trained on the C4 (Colossal Clean Crawled Corpus) dataset using a span corruption objective. The accompanying paper conducted an extensive empirical study of transfer learning approaches, training objectives, and scaling strategies. T5 comes in sizes from Small (60M parameters) to 11B parameters, with later variants like Flan-T5 adding instruction tuning. The text-to-text framework simplified multi-task learning and influenced subsequent models. T5 remains widely used for tasks requiring both understanding and generation.

Related Terms

More in NLP / Language Processing

Explore More