"app/tray/git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "fce30f407a39804867c01b599953c221c17025ac"
Unverified Commit b7d002bd authored by Matthew Hoffman's avatar Matthew Hoffman Committed by GitHub
Browse files

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
parent 18546378
...@@ -1181,7 +1181,7 @@ class TrainingArguments: ...@@ -1181,7 +1181,7 @@ class TrainingArguments:
default="length", default="length",
metadata={"help": "Column name with precomputed lengths to use when grouping by 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."} default=None, metadata={"help": "The list of integrations to report the results and logs to."}
) )
ddp_find_unused_parameters: Optional[bool] = field( ddp_find_unused_parameters: Optional[bool] = field(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment