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
a4f97e6c
"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "1d3a1cc44b6af824f708fab114b174a27f9db2c5"
Unverified
Commit
a4f97e6c
authored
Jul 18, 2022
by
John Giorgi
Committed by
GitHub
Jul 18, 2022
Browse files
Fix incorrect type hint for lang (#18161)
parent
c46d39f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/pytorch/summarization/run_summarization.py
examples/pytorch/summarization/run_summarization.py
+1
-1
No files found.
examples/pytorch/summarization/run_summarization.py
View file @
a4f97e6c
...
...
@@ -124,7 +124,7 @@ class DataTrainingArguments:
Arguments pertaining to what data we are going to input our model for training and eval.
"""
lang
:
str
=
field
(
default
=
None
,
metadata
=
{
"help"
:
"Language id for summarization."
})
lang
:
Optional
[
str
]
=
field
(
default
=
None
,
metadata
=
{
"help"
:
"Language id for summarization."
})
dataset_name
:
Optional
[
str
]
=
field
(
default
=
None
,
metadata
=
{
"help"
:
"The name of the dataset to use (via the datasets library)."
}
...
...
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