Spaces:
Running
Running
feat: lower default source length
Browse files
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=
|
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."
|