Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Update saliency_interpreter.py (#4286)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicola-decao authored May 26, 2020
1 parent e52fea2 commit 69fc5b4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ def __init__(self, predictor: Predictor) -> None:

def saliency_interpret_from_json(self, inputs: JsonDict) -> JsonDict:
"""
This function finds a modification to the input text that would change the model's
prediction in some desired manner (e.g., an adversarial attack).
This function finds saliency values for each input token.
# Parameters
Expand Down

0 comments on commit 69fc5b4

Please sign in to comment.