Skip to content

Commit fcf8301

Browse files
authored
Fix type of max_seq_length arg in run_swag.py (#12832)
1 parent 27a8c9e commit fcf8301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pytorch/multiple-choice/run_swag.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class DataTrainingArguments:
106106
default=None,
107107
metadata={"help": "The number of processes to use for the preprocessing."},
108108
)
109-
max_seq_length: int = field(
109+
max_seq_length: Optional[int] = field(
110110
default=None,
111111
metadata={
112112
"help": "The maximum total input sequence length after tokenization. If passed, sequences longer "

0 commit comments

Comments
 (0)