Skip to content
fn

t5_large_seq2seq

→T5ForSeq2SeqLM738M
t5_large_seq2seq(pretrained: bool = False, overrides: object = {})

t5_large with the tied text-to-text head.

Model Size

Parameters

pretrainedbool= False
No converted T5-Large checkpoint exists for Lucid; True raises.
**overridesobject= {}
Changes to the Large configuration.

Returns

T5ForSeq2SeqLM

Large trunk and head, 737.7M parameters.

Notes

Reference: Raffel et al., JMLR 2020 (arXiv:1910.10683), §3.7.

Examples

>>> from lucid.models.text.t5 import t5_large_seq2seq
>>> t5_large_seq2seq().config.num_decoder_layers
24

Used by 1