modelzoo.transformers.data_processing.utils.maskedLmInstance#

class modelzoo.transformers.data_processing.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