1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00
This commit is contained in:
Md. Ishtiaq Ashiq
2021-04-14 19:16:34 -04:00
committed by GitHub
parent ef72936a83
commit 5453e1e05f

View File

@@ -34,7 +34,7 @@ class PeekDatasetCommand(TextAttackCommand):
def run(self, args):
UPPERCASE_LETTERS_REGEX = re.compile("[A-Z]")
args.model = None # set model to None for parse_dataset_from_args to work
args.model, args.model_from_file = None, None # set model and model_from_file to None for parse_dataset_from_args to work
dataset = parse_dataset_from_args(args)
num_words = []