def get_inputs(self):
    'GPT2的输入是token_ids\n        '
    x_in = self.apply(layer=Input, shape=(self.sequence_length,), name='Input-Token')
    return x_in
GPT2的输入是token_ids
def get_inputs(self):
    '\n        '
    x_in = self.apply(layer=Input, shape=(self.sequence_length,), name='Input-Token')
    return x_in