Skip to content

Commit

Permalink
shorten test_train
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyanjun committed Sep 11, 2023
1 parent 6c1d2f8 commit 40e4686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_command_line/test_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def test_train_tiny():
command = "textattack train --model distilbert-base-uncased --attack textfooler --dataset rotten_tomatoes --model-max-length 64 --num-epochs 1 --num-clean-epochs 0 --num-train-adv-examples 5"
command = "textattack train --model distilbert-base-uncased --attack textfooler --dataset rotten_tomatoes --model-max-length 64 --num-epochs 1 --num-clean-epochs 0 --num-train-adv-examples 2"

# Run command and validate outputs.
result = run_command_and_get_result(command)
Expand Down

0 comments on commit 40e4686

Please sign in to comment.