mirror of
https://github.com/QData/TextAttack.git
synced 2021-10-13 00:05:06 +03:00
Added loggers and attack and goal function results
This commit is contained in:
@@ -9,6 +9,7 @@ from textattack.shared import utils, validators
|
||||
class GoalFunction:
|
||||
"""
|
||||
Evaluates how well a perturbed tokenized_text object is achieving a specified goal.
|
||||
|
||||
Args:
|
||||
model: The PyTorch or TensorFlow model used for evaluation.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user