Skip to content

Glossary: NLP with Transformers

ClassLabel

Also written: int2str, str2int

A `datasets` column type that stores labels as integers and remembers their names. Stratified splitting needs it.

Where the book teaches it

Related terms

Dataset, DatasetDictStratified split