Skip to content
fn

t5_3b_seq2seq

→T5ForSeq2SeqLM2.9B
t5_3b_seq2seq(pretrained: bool = False, overrides: object = {})

t5_3b with the tied text-to-text head.

Model Size

Parameters

pretrainedbool= False
True raises until the 3B weights are converted for Lucid.
**overridesobject= {}
T5Config fields to change from the 3B defaults.

Returns

T5ForSeq2SeqLM

3B trunk and head, 2.85B parameters.

Notes

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

Examples

>>> from lucid.models.text.t5 import t5_3b_seq2seq
>>> t5_3b_seq2seq().config.intermediate_size
16384

Used by 1