Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
fcf83011
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "d3bd9ac72802c0a3d04c3c63739bcd8f0731b593"
Unverified
Commit
fcf83011
authored
Jul 21, 2021
by
Maxwell Forbes
Committed by
GitHub
Jul 22, 2021
Browse files
Fix type of max_seq_length arg in run_swag.py (#12832)
parent
27a8c9e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/pytorch/multiple-choice/run_swag.py
examples/pytorch/multiple-choice/run_swag.py
+1
-1
No files found.
examples/pytorch/multiple-choice/run_swag.py
View file @
fcf83011
...
...
@@ -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 "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment