mirror of
https://github.com/QData/TextAttack.git
synced 2021-10-13 00:05:06 +03:00
fix format
This commit is contained in:
@@ -275,7 +275,9 @@ class DatasetArgs:
|
||||
dataset_args = (dataset_args,)
|
||||
if args.dataset_split:
|
||||
if len(dataset_args) > 1:
|
||||
dataset_args = dataset_args[:1] + (args.dataset_split,) + dataset_args[2:]
|
||||
dataset_args = (
|
||||
dataset_args[:1] + (args.dataset_split,) + dataset_args[2:]
|
||||
)
|
||||
dataset = textattack.datasets.HuggingFaceDataset(
|
||||
*dataset_args, shuffle=False
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user