Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
Use the 'out_dir' flag instead of the nonexistent 'model_dir' flag in…
Browse files Browse the repository at this point in the history
… the nmt tutorial.

PiperOrigin-RevId: 162872214
  • Loading branch information
Anonymous authored and oahziur committed Jul 24, 2017
1 parent f40d6ab commit 75aa22d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ cat > /tmp/my_infer_file.vi
# (copy and paste some sentences from /tmp/nmt_data/tst2013.vi)

python -m nmt.nmt \
--model_dir=/tmp/nmt_model \
--out_dir=/tmp/nmt_model \
--inference_input_file=/tmp/my_infer_file.vi \
--inference_output_file=/tmp/nmt_model/output_infer

Expand Down Expand Up @@ -661,7 +661,7 @@ python -m nmt.nmt \
--metrics=bleu
```

After training, we can use the same inference command with the new model_dir for
After training, we can use the same inference command with the new out_dir for
inference:

``` shell
Expand Down

0 comments on commit 75aa22d

Please sign in to comment.