def METHOD_NAME(cls, args, **kwargs):
    assert (
        args.criterion == "sentence_ranking"
    ), "Must set --criterion=sentence_ranking"
    # load data and label dictionaries
    vocab = cls.load_dictionary(os.path.join(args.data, "dict.txt"))
    print("| dictionary: {} types".format(len(vocab)))
    return cls(args, vocab)