mirror of
https://github.com/QData/TextAttack.git
synced 2021-10-13 00:05:06 +03:00
7 lines
228 B
Python
7 lines
228 B
Python
import os
|
|
from attack_args_helper import HUGGINGFACE_DATASET_BY_MODEL
|
|
|
|
|
|
for model in HUGGINGFACE_DATASET_BY_MODEL:
|
|
if model.startswith('x'):
|
|
os.system(f'python benchmark_models.py --model {model} --num-examples 200') |