modules.opt.modelling_opt_flax
Flax OPT model.
FlaxOPTLearnedPositionalEmbedding
Bases: Embed
Source code in src/python/easydel/modules/opt/modelling_opt_flax.py
326 327 328 329 330 331 332 333 334 335 336 337 |
|
__call__(positions)
input_ids_shape
is expected to be [bsz x seqlen].
Source code in src/python/easydel/modules/opt/modelling_opt_flax.py
334 335 336 337 |
|