Skip to content

Commit 49759c0

Browse files
committed
Document new training argument
1 parent 1cd9be2 commit 49759c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/transformers/training_args.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ class TrainingArguments:
186186
- :obj:`True` if :obj:`metric_for_best_model` is set to a value that isn't :obj:`"loss"` or
187187
:obj:`"eval_loss"`.
188188
- :obj:`False` if :obj:`metric_for_best_model` is not set, or set to :obj:`"loss"` or :obj:`"eval_loss"`.
189+
model_parallel (:obj:`bool`, `optional`, defaults to :obj:`False`):
190+
If there are more than one devices, whether to use model parallelism to distribute the model's modules
191+
across devices or not.
189192
"""
190193

191194
output_dir: str = field(

0 commit comments

Comments
 (0)