cerebras.modelzoo.data_preparation.utils.maskedLmInstance#

class cerebras.modelzoo.data_preparation.utils.maskedLmInstance#

Bases: tuple

maskedLmInstance(index, label)

Create new instance of maskedLmInstance(index, label)

Methods

count

Return number of occurrences of value.

Attributes

index

Alias for field number 0

label

Alias for field number 1

__add__(value, /)#

Return self+value.

__mul__(value, /)#

Return self*value.

static __new__(_cls, index, label)#

Create new instance of maskedLmInstance(index, label)

count(value, /)#

Return number of occurrences of value.

index#

Alias for field number 0

label#

Alias for field number 1