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
cd30f98f
Unverified
Commit
cd30f98f
authored
Jul 14, 2020
by
Gunnlaugur Thor Briem
Committed by
GitHub
Jul 14, 2020
Browse files
doc: fix apparent copy-paste error in docstring (#5626)
parent
f867000f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/commands/train.py
src/transformers/commands/train.py
+2
-2
No files found.
src/transformers/commands/train.py
View file @
cd30f98f
...
@@ -17,8 +17,8 @@ USE_AMP = False
...
@@ -17,8 +17,8 @@ USE_AMP = False
def
train_command_factory
(
args
:
Namespace
):
def
train_command_factory
(
args
:
Namespace
):
"""
"""
Factory function used to instantiate
serving server
from provided command line arguments.
Factory function used to instantiate
training command
from provided command line arguments.
:return:
Serve
Command
:return:
Train
Command
"""
"""
return
TrainCommand
(
args
)
return
TrainCommand
(
args
)
...
...
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