boris commited on
Commit
48c07ca
1 Parent(s): 5960e87

feat: lower default source length

Browse files
Files changed (1) hide show
  1. seq2seq/run_seq2seq_flax.py +1 -1
seq2seq/run_seq2seq_flax.py CHANGED
@@ -152,7 +152,7 @@ class DataTrainingArguments:
152
  metadata={"help": "An optional input predict data file to do prediction on (a text file)."},
153
  )
154
  max_source_length: Optional[int] = field(
155
- default=1024,
156
  metadata={
157
  "help": "The maximum total input sequence length after tokenization. Sequences longer "
158
  "than this will be truncated, sequences shorter will be padded."
 
152
  metadata={"help": "An optional input predict data file to do prediction on (a text file)."},
153
  )
154
  max_source_length: Optional[int] = field(
155
+ default=128,
156
  metadata={
157
  "help": "The maximum total input sequence length after tokenization. Sequences longer "
158
  "than this will be truncated, sequences shorter will be padded."