def METHOD_NAME(cls, args, **kwargs):
    assert args.criterion == 'sentence_ranking', \
        'Must set --criterion=sentence_ranking'
    # load data dictionary
    data_dict = cls.load_dictionary(
        args,
        os.path.join(args.data, 'input0', 'dict.txt'),
        source=True,
    )
    print('| [input] dictionary: {} types'.format(len(data_dict)))
    return SentenceRankingTask(args, data_dict)