Skip to content
fn

t5_11b

→T5Model11.3B
t5_11b(pretrained: bool = False, overrides: object = {})

T5-11B trunk — the paper's largest model.

Large's depth and dmodel=1024d_{\text{model}} = 1024, with dff=65536d_{ff} = 65536 and 128 heads of width 128: attention runs at sixteen times the residual width.

Model Size

Parameters

pretrainedbool= False
The 11B weights are not hosted for Lucid; True raises.
**overridesobject= {}
Changes to the 11B configuration.

Returns

T5Model

11.3B-parameter trunk.

Notes

Reference: Raffel et al., JMLR 2020 (arXiv:1910.10683), §3.7 and Table 14, where the fine-tuned 11B model set the state of the art on GLUE, SuperGLUE, SQuAD and CNN/Daily Mail. Building it allocates about 45 GB of float32 weights.

Examples

>>> from lucid.models.text.t5 import t5_11b
>>> t5_11b().config.num_attention_heads
128

Used by 1