from transformers import PretrainedConfig class EmotionClassifierConfig(PretrainedConfig): def __init__( self, hidden_size=128, num_classes=6, **kwargs, ): super().__init__(**kwargs) self.hidden_size = hidden_size self.num_classes = num_classes