Fix type of max_seq_length arg in run_swag.py (#12832)
This commit is contained in:
@@ -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 "
|
||||||
|
|||||||
Reference in New Issue
Block a user