Skip to content

Commit

Permalink
comment out the Stanza based test
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyanjun committed Sep 11, 2023
1 parent bde7a36 commit eaecc0e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/test_command_line/test_attack.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,16 @@
"tests/sample_outputs/kuleshov_cnn_sst_2.txt",
),
#
# test: run_attack on LSTM MR using word embedding transformation and greedy search with Stanza part-of-speech tagger as a constraint
#
(
"run_attack_stanza_pos_tagger",
(
"textattack attack --model lstm-mr --num-examples 4 --search-method greedy --transformation word-swap-embedding "
"--constraints repeat stopword part-of-speech^tagger_type=\\'stanza\\' "
),
"tests/sample_outputs/run_attack_stanza_pos_tagger.txt",
),
# # test: run_attack on LSTM MR using word embedding transformation and greedy search with Stanza part-of-speech tagger as a constraint
# #
# (
# "run_attack_stanza_pos_tagger",
# (
# "textattack attack --model lstm-mr --num-examples 4 --search-method greedy --transformation word-swap-embedding "
# "--constraints repeat stopword part-of-speech^tagger_type=\\'stanza\\' "
# ),
# "tests/sample_outputs/run_attack_stanza_pos_tagger.txt",
# ),
#
# test: run_attack on CNN Yelp using the WordNet transformation and greedy search WIR
# with a CoLA constraint and BERT score
Expand Down

0 comments on commit eaecc0e

Please sign in to comment.