mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Add str to TrainingArguments report_to type hint (#30078)
* Add str to TrainingArguments report_to type hint * Swap order in Union * Merge Optional into Union https://github.com/huggingface/transformers/pull/30078#issuecomment-2042227546
This commit is contained in:
parent
185463784e
commit
b7d002bdff
@ -1181,7 +1181,7 @@ class TrainingArguments:
|
||||
default="length",
|
||||
metadata={"help": "Column name with precomputed lengths to use when grouping by length."},
|
||||
)
|
||||
report_to: Optional[List[str]] = field(
|
||||
report_to: Union[None, str, List[str]] = field(
|
||||
default=None, metadata={"help": "The list of integrations to report the results and logs to."}
|
||||
)
|
||||
ddp_find_unused_parameters: Optional[bool] = field(
|
||||
|
Loading…
Reference in New Issue
Block a user