"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "d3bd9ac72802c0a3d04c3c63739bcd8f0731b593"
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:
default=None,
metadata={"help": "The number of processes to use for the preprocessing."},
)
max_seq_length: int = field(
max_seq_length: Optional[int] = field(
default=None,
metadata={
"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