src/transformers/models/xmod/modeling_xmod.py/XmodForSequenceClassification/__init__
class XmodForSequenceClassification:    def __init__(self, config):
        super().__init__(config)
        self.num_labels = config.num_labels
        self.config = config

        self.roberta = XmodModel(config, add_pooling_layer=False)
        self.classifier = XmodClassificationHead(config)

        # Initialize weights and apply final processing
        self.post_init()