Skip to content

Commit

Permalink
[docs] Remove sortish_sampler (#35539)
Browse files Browse the repository at this point in the history
remove
  • Loading branch information
stevhliu authored Jan 7, 2025
1 parent a7d1441 commit b05df66
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/transformers/training_args_seq2seq.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@
class Seq2SeqTrainingArguments(TrainingArguments):
"""
Args:
sortish_sampler (`bool`, *optional*, defaults to `False`):
Whether to use a *sortish sampler* or not. Only possible if the underlying datasets are *Seq2SeqDataset*
for now but will become generally available in the near future.
It sorts the inputs according to lengths in order to minimize the padding size, with a bit of randomness
for the training set.
predict_with_generate (`bool`, *optional*, defaults to `False`):
Whether to use generate to calculate generative metrics (ROUGE, BLEU).
generation_max_length (`int`, *optional*):
Expand Down

0 comments on commit b05df66

Please sign in to comment.