textfool icon indicating copy to clipboard operation
textfool copied to clipboard

in data_utils, the token.rank is 0

Open Eleanor456 opened this issue 5 years ago • 0 comments

In the data_utils.py, all the token.rank in function extract_features is 0. Hence, X_train and X_test are the same which are the vector as [1, 1, 1, 1....., 0, 0]. What is the problem?

Eleanor456 avatar Mar 30 '19 07:03 Eleanor456