T5-3B trunk — Large's depth and width, a wider inside.
The feed-forward grows to and attention to 32 heads of width 128, so each block attends at 4096 channels while the residual stream stays at 1024.
Model Size
Parameters
pretrainedbool= FalseNo converted 3B checkpoint exists for Lucid yet;
True raises.**overridesobject= {}Changes to the 3B configuration.
Returns
T5Model2.85B-parameter trunk.
Notes
Reference: Raffel et al., JMLR 2020 (arXiv:1910.10683), §3.7. Building it allocates about 11 GB of float32 weights.
Examples
>>> from lucid.models.text.t5 import t5_3b
>>> t5_3b().config.inner_dim
4096