Commit a3c629b5 authored by Jiatao Gu's avatar Jiatao Gu Committed by Facebook Github Bot
Browse files

Fix typos on Examples for Nonautoregressive translation

Summary: Fix typos in the examples

Reviewed By: kahne

Differential Revision: D18030097

fbshipit-source-id: 84f0cbafd85e50ffd5033738835373935e3b83d4
parent b8d024e9
...@@ -38,7 +38,7 @@ fairseq-train \ ...@@ -38,7 +38,7 @@ fairseq-train \
--ddp-backend=no_c10d \ --ddp-backend=no_c10d \
--task translation_lev \ --task translation_lev \
--criterion nat_loss \ --criterion nat_loss \
--arch nonautoregressive_transformer \ --arch iterative_nonautoregressive_transformer \
--noise full_mask \ --noise full_mask \
--share-all-embeddings \ --share-all-embeddings \
--optimizer adam --adam-betas '(0.9,0.98)' \ --optimizer adam --adam-betas '(0.9,0.98)' \
...@@ -81,8 +81,6 @@ fairseq-train \ ...@@ -81,8 +81,6 @@ fairseq-train \
--dropout 0.3 --weight-decay 0.01 \ --dropout 0.3 --weight-decay 0.01 \
--decoder-learned-pos \ --decoder-learned-pos \
--encoder-learned-pos \ --encoder-learned-pos \
--pred-length-offset \
--length-loss-factor 0.1 \
--apply-bert-init \ --apply-bert-init \
--log-format 'simple' --log-interval 100 \ --log-format 'simple' --log-interval 100 \
--fixed-validation-seed 7 \ --fixed-validation-seed 7 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment