"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "d75d49a51de28df48b39280b2f06df78d3fa04bf"
Commit 49759c0c authored by Sylvain Gugger's avatar Sylvain Gugger
Browse files

Document new training argument

parent 1cd9be2a
...@@ -186,6 +186,9 @@ class TrainingArguments: ...@@ -186,6 +186,9 @@ class TrainingArguments:
- :obj:`True` if :obj:`metric_for_best_model` is set to a value that isn't :obj:`"loss"` or - :obj:`True` if :obj:`metric_for_best_model` is set to a value that isn't :obj:`"loss"` or
:obj:`"eval_loss"`. :obj:`"eval_loss"`.
- :obj:`False` if :obj:`metric_for_best_model` is not set, or set to :obj:`"loss"` or :obj:`"eval_loss"`. - :obj:`False` if :obj:`metric_for_best_model` is not set, or set to :obj:`"loss"` or :obj:`"eval_loss"`.
model_parallel (:obj:`bool`, `optional`, defaults to :obj:`False`):
If there are more than one devices, whether to use model parallelism to distribute the model's modules
across devices or not.
""" """
output_dir: str = field( output_dir: str = 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