File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1395,7 +1395,7 @@ def inputs(layers, *args):
13951395 if len (args ) != 0 :
13961396 layers .extend (args )
13971397
1398- Inputs (* [l .name for l in layers ])
1398+ Inputs (* [l .name for l in layers ])
13991399
14001400
14011401def outputs (layers , * args ):
@@ -1438,7 +1438,7 @@ def __dfs_travel__(layer,
14381438 assert len (layers ) > 0
14391439
14401440 if HasInputsSet (): # input already set
1441- Outputs (* [l .name for l in layers ])
1441+ Outputs (* [l .name for l in layers ])
14421442 return # just return outputs.
14431443
14441444 if len (layers ) != 1 :
Original file line number Diff line number Diff line change 3232# this is a small set of data for test. The original data is too large and will be add later.
3333URL_TRAIN = 'http://paddlepaddle.cdn.bcebos.com/demo/wmt_shrinked_data/wmt14.tgz'
3434MD5_TRAIN = '0791583d57d5beb693b9414c5b36798c'
35- # this is the pretrained model, whose bleu = 26.92
35+ # BLEU of this trained model is 26.92
3636URL_MODEL = 'http://paddlepaddle.bj.bcebos.com/demo/wmt_14/wmt14_model.tar.gz'
37- MD5_MODEL = '4ce14a26607fb8a1cc23bcdedb1895e4 '
37+ MD5_MODEL = '0cb4a5366189b6acba876491c8724fa3 '
3838
3939START = "<s>"
4040END = "<e>"
You can’t perform that action at this time.
0 commit comments