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
3eceaa36
"examples/vscode:/vscode.git/clone" did not exist on "7164171212e0ba68845447a5bef4631600b303ff"
Unverified
Commit
3eceaa36
authored
Oct 10, 2023
by
jheitmann
Committed by
GitHub
Oct 10, 2023
Browse files
Fix source_prefix default value (#26654)
parent
975003ea
Changes
1
Show 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 @
3eceaa36
...
@@ -264,7 +264,7 @@ class DataTrainingArguments:
...
@@ -264,7 +264,7 @@ class DataTrainingArguments:
},
},
)
)
source_prefix
:
Optional
[
str
]
=
field
(
source_prefix
:
Optional
[
str
]
=
field
(
default
=
""
,
metadata
=
{
"help"
:
"A prefix to add before every source text (useful for T5 models)."
}
default
=
None
,
metadata
=
{
"help"
:
"A prefix to add before every source text (useful for T5 models)."
}
)
)
forced_bos_token
:
Optional
[
str
]
=
field
(
forced_bos_token
:
Optional
[
str
]
=
field
(
...
...
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