def METHOD_NAME(cls, args, **kwargs):
    """Setup the task."""
    paths = utils.split_paths(args.data)
    assert len(paths) > 0
    dictionary = BertDictionary.load(os.path.join(paths[0], "dict.txt"))
    logger.info("dictionary: {} types".format(len(dictionary)))
    return cls(args, dictionary)