megatron.data.dataset_utils.MaskedLmInstance#

class megatron.data.dataset_utils.MaskedLmInstance(index, label)#

Bases: tuple

__getnewargs__()#

Return self as a plain tuple. Used by copy and pickle.

static __new__(_cls, index, label)#

Create new instance of MaskedLmInstance(index, label)

__repr__()#

Return a nicely formatted representation string

index#

Alias for field number 0

label#

Alias for field number 1