Closed lebrice closed 1 year ago
The dataclasses used by the HfArgumentParser have a metatada={"help": "help string"}, for example, here:
metatada={"help": "help string"}
https://github.com/huggingface/transformers/blob/main/examples/pytorch/text-classification/run_glue.py#L80-L83
It would be good to support this, so that one could use parser.add_arguments(TrainingArguments, "trainer") in SimpleParsing directly!
parser.add_arguments(TrainingArguments, "trainer")
The dataclasses used by the HfArgumentParser have a
metatada={"help": "help string"}
, for example, here:https://github.com/huggingface/transformers/blob/main/examples/pytorch/text-classification/run_glue.py#L80-L83
It would be good to support this, so that one could use
parser.add_arguments(TrainingArguments, "trainer")
in SimpleParsing directly!