You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reason
the type of AttackedText.words is list, when it is use as as input parameter of np.sum() it returns 1or 0 all the time, because it is always consider the first index of the input list
The text was updated successfully, but these errors were encountered:
Describe the bug
the return of Attacked_text.word_diff_ratio is 1 all the time
To Reproduce
Steps to reproduce the behavior:
textattack ...
reason
the type of AttackedText.words is list, when it is use as as input parameter of np.sum() it returns 1or 0 all the time, because it is always consider the first index of the input list
The text was updated successfully, but these errors were encountered: