mirror of
https://github.com/QData/TextAttack.git
synced 2021-10-13 00:05:06 +03:00
6 lines
276 B
Python
6 lines
276 B
Python
import os
|
|
from attack_args_helper import HUGGINGFACE_DATASET_BY_MODEL
|
|
|
|
dir_path = os.path.dirname(os.path.realpath(__file__))
|
|
for model in HUGGINGFACE_DATASET_BY_MODEL:
|
|
os.system(f'python {os.path.join(dir_path, "benchmark_models.py")} --model {model} --num-examples 200') |