Spaces:
Running
Running
Pedro Cuenca
commited on
Commit
•
6c27b0d
1
Parent(s):
d9f5a35
val_max_target_length set to OUTPUT_LENGTH
Browse files
seq2seq/run_seq2seq_flax.py
CHANGED
@@ -166,7 +166,7 @@ class DataTrainingArguments:
|
|
166 |
},
|
167 |
)
|
168 |
val_max_target_length: Optional[int] = field(
|
169 |
-
default=
|
170 |
metadata={
|
171 |
"help": "The maximum total sequence length for validation target text after tokenization. Sequences longer "
|
172 |
"than this will be truncated, sequences shorter will be padded. Will default to `max_target_length`."
|
|
|
166 |
},
|
167 |
)
|
168 |
val_max_target_length: Optional[int] = field(
|
169 |
+
default=OUTPUT_LENGTH,
|
170 |
metadata={
|
171 |
"help": "The maximum total sequence length for validation target text after tokenization. Sequences longer "
|
172 |
"than this will be truncated, sequences shorter will be padded. Will default to `max_target_length`."
|