Skip to content

Commit 7f18f12

Browse files
authored
Update README.md
1 parent e302ce8 commit 7f18f12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ python main.py \
7070
--b 128 \
7171
--max-length 100 \
7272
--device-ids 0 \
73-
--label_smoothing 0.1 \
73+
--label-smoothing 0.1 \
7474
--trainer Seq2SeqTrainer \
7575
--optimization-config "[{'step_lambda':
7676
\"lambda t: { \
@@ -93,7 +93,7 @@ python main.py \
9393
'encoder': {'num_layers': 3, 'bidirectional': True, 'num_bidirectional': 1, 'context_transform': 512}, \
9494
'decoder': {'num_layers': 3, 'concat_attention': True,\
9595
'attention': {'mode': 'dot_prod', 'dropout': 0, 'output_transform': True, 'output_nonlinearity': 'relu'}}}" \
96-
--data_config "{'moses_pretok': True, 'tokenization':'bpe', 'num_symbols':32000, 'shared_vocab':True}" \
96+
--data-config "{'moses_pretok': True, 'tokenization':'bpe', 'num_symbols':32000, 'shared_vocab':True}" \
9797
--b 128 \
9898
--max-length 80 \
9999
--device-ids 0 \

0 commit comments

Comments
 (0)