Glossary: NLP with Transformers
Class weights
Also written: class_weight, weighted loss
Multipliers on the loss that make rare labels count more. Wholesale messages get a weight of 2.35 because they are only about 10% of Priya's training data.
Glossary: NLP with Transformers
Also written: class_weight, weighted loss
Multipliers on the loss that make rare labels count more. Wholesale messages get a weight of 2.35 because they are only about 10% of Priya's training data.