Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
b94cf7fa
Commit
b94cf7fa
authored
Jan 18, 2020
by
Julien Chaumond
Browse files
change order
parent
2eaa8b6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
examples/run_lm_finetuning.py
examples/run_lm_finetuning.py
+4
-3
No files found.
examples/run_lm_finetuning.py
View file @
b94cf7fa
...
...
@@ -448,9 +448,6 @@ def main():
parser
.
add_argument
(
"--model_type"
,
type
=
str
,
required
=
True
,
help
=
"The model architecture to be trained or fine-tuned."
,
)
parser
.
add_argument
(
"--should_continue"
,
action
=
"store_true"
,
help
=
"Whether to continue from latest checkpoint in output_dir"
)
# Other parameters
parser
.
add_argument
(
...
...
@@ -460,6 +457,10 @@ def main():
help
=
"An optional input evaluation data file to evaluate the perplexity on (a text file)."
,
)
parser
.
add_argument
(
"--should_continue"
,
action
=
"store_true"
,
help
=
"Whether to continue from latest checkpoint in output_dir"
)
parser
.
add_argument
(
"--model_name_or_path"
,
default
=
None
,
...
...
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