Closed malteos closed 1 year ago
Example:
python main.py --model MY_NEW_MODEL --task_list ALL
InitialArguments
in line 16?tests:
the getter functions can be part of the parent class since they are the same for all tasks:
class Classification(object):
DATASET_ID = None
TASK_NAME = None
LABEL_NAME = None
def get_dataset_id(self):
return self.DATASET_ID
# ....
class GermEval2018(Classification): DATASET_ID = "philschmid/germeval18" # HF datasets ID TASK_NAME = "germeval2018" LABEL_NAME = "multi" # column name from HF dataset
Merge the different task scripts into a single entry point script.
Subtask:
main.py
script to run evaluation on different task types--task_list <task_a>,<task_b>,...
argument.