class_docstr: An `Attacker` will modify an input (e.g., add or delete tokens) to try to change an AllenNLP
  Predictor's output in a desired manner (e.g., make it incorrect).
code: def __init__(self, predictor: Predictor) -> None:
      self.predictor = predictor
  
file_path: allennlp/allennlp/interpret/attackers/attacker.py
imports: from typing import List
  from allennlp.common import Registrable
  from allennlp.common.util import JsonDict
  from allennlp.predictors import Predictor
label_desc: Use image node_id 1 to create a new Attacker object from inherited base classes: Registrable with example: obj = Attacker(predictor)