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
Return number of occurrences of value.
Attributes
Alias for field number 0
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