cerebras.modelzoo.data_preparation.utils.maskedLmInstance#

class cerebras.modelzoo.data_preparation.utils.maskedLmInstance(index, label)#

Bases: tuple

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.

count(value, /)#

Return number of occurrences of value.

index#

Alias for field number 0

label#

Alias for field number 1