src/transformers/models/ernie_m/modeling_ernie_m.py/ErnieMForInformationExtraction/__init__
class ErnieMForInformationExtraction:    def __init__(self, config):
        super(ErnieMForInformationExtraction, self).__init__(config)
        self.ernie_m = ErnieMModel(config)
        self.linear_start = nn.Linear(config.hidden_size, 1)
        self.linear_end = nn.Linear(config.hidden_size, 1)
        self.sigmoid = nn.Sigmoid()
        self.post_init()