1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

Reformatting-try3

This commit is contained in:
Hanyu Liu
2020-07-10 22:44:14 -04:00
parent 4f8b227ef9
commit c2c7c00f5e
5 changed files with 16 additions and 18 deletions

View File

@@ -2,8 +2,8 @@ from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser
import textattack
from textattack.commands import TextAttackCommand
from textattack.commands.attack.attack_args import *
from textattack.commands.attack.attack_args_helpers import *
from textattack.commands.attack.attack_args import BLACK_BOX_TRANSFORMATION_CLASS_NAMES, WHITE_BOX_TRANSFORMATION_CLASS_NAMES, CONSTRAINT_CLASS_NAMES, GOAL_FUNCTION_CLASS_NAMES, SEARCH_METHOD_CLASS_NAMES, ATTACK_RECIPE_NAMES
from textattack.commands.attack.attack_args_helpers import add_model_args, add_dataset_args, default_checkpoint_dir
class AttackCommand(TextAttackCommand):