Unverified Commit fcf83011 authored by Maxwell Forbes's avatar Maxwell Forbes Committed by GitHub
Browse files

Fix type of max_seq_length arg in run_swag.py (#12832)

parent 27a8c9e4
...@@ -106,7 +106,7 @@ class DataTrainingArguments: ...@@ -106,7 +106,7 @@ class DataTrainingArguments:
default=None, default=None,
metadata={"help": "The number of processes to use for the preprocessing."}, metadata={"help": "The number of processes to use for the preprocessing."},
) )
max_seq_length: int = field( max_seq_length: Optional[int] = field(
default=None, default=None,
metadata={ metadata={
"help": "The maximum total input sequence length after tokenization. If passed, sequences longer " "help": "The maximum total input sequence length after tokenization. If passed, sequences longer "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment