T5-Base trunk — the size every ablation of §3.1–§3.6 runs at.
BERT-Base on each side: twelve blocks, , , twelve heads of width 64.
Model Size
Parameters
pretrainedbool= FalseTrue raises: the released T5-Base weights have not been
converted for Lucid.**overridesobject= {}T5Config fields to change from the Base defaults.Returns
T5ModelThe 220M-parameter trunk, about twice BERT-Base for its two stacks.
Notes
Reference: Raffel et al., JMLR 2020 (arXiv:1910.10683), §3.1.1 and §3.7. The baseline of the paper's systematic study pre-trains this model for steps on C4.
Examples
>>> from lucid.models.text.t5 import t5_base
>>> t5_base().config.num_hidden_layers
12