Skip to content

Commit

Permalink
fix typo (OpenNMT#1416)
Browse files Browse the repository at this point in the history
  • Loading branch information
hukuda222 authored and vince62s committed Apr 30, 2019
1 parent 531fb39 commit 03fe8d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/onmt.modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Attention



Architecture: Transfomer
Architecture: Transformer
----------------------------

.. autoclass:: onmt.modules.PositionalEncoding
Expand Down
2 changes: 1 addition & 1 deletion onmt/opts.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def train_opts(parser):
"Use 0 to not use initialization")
group.add('--param_init_glorot', '-param_init_glorot', action='store_true',
help="Init parameters with xavier_uniform. "
"Required for transfomer.")
"Required for transformer.")

group.add('--train_from', '-train_from', default='', type=str,
help="If training from a checkpoint then this is the "
Expand Down

0 comments on commit 03fe8d9

Please sign in to comment.