examples/research_projects/movement-pruning/emmental/modeling_bert_masked.py/MaskedBertForTokenClassification/__init__
class MaskedBertForTokenClassification:    def __init__(self, config):
        super().__init__(config)
        self.num_labels = config.num_labels

        self.bert = MaskedBertModel(config)
        self.dropout = nn.Dropout(config.hidden_dropout_prob)
        self.classifier = nn.Linear(config.hidden_size, config.num_labels)

        self.init_weights()