Skip to content

Commit 49ad570

Browse files
authored
Merge pull request #12667 from luotao1/wmt14
fix wmt14 download error
2 parents 649f5d7 + d542670 commit 49ad570

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

python/paddle/dataset/wmt14.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
MD5_DEV_TEST = '7d7897317ddd8ba0ae5c5fa7248d3ff5'
3737
# this is a small set of data for test. The original data is too large and
3838
# will be add later.
39-
URL_TRAIN = ('http://paddlepaddle.cdn.bcebos.com/demo/'
40-
'wmt_shrinked_data/wmt14.tgz')
39+
URL_TRAIN = ('http://paddlemodels.bj.bcebos.com/wmt/wmt14.tgz')
4140
MD5_TRAIN = '0791583d57d5beb693b9414c5b36798c'
4241
# BLEU of this trained model is 26.92
4342
URL_MODEL = 'http://paddlemodels.bj.bcebos.com/wmt%2Fwmt14.tgz'

python/paddle/v2/dataset/wmt14.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
WMT14 dataset.
1616
The original WMT14 dataset is too large and a small set of data for set is
1717
provided. This module will download dataset from
18-
http://paddlepaddle.cdn.bcebos.com/demo/wmt_shrinked_data/wmt14.tgz and
18+
http://paddlemodels.bj.bcebos.com/wmt/wmt14.tgz and
1919
parse training set and test set into paddle reader creators.
2020
2121
"""
@@ -37,8 +37,7 @@
3737
MD5_DEV_TEST = '7d7897317ddd8ba0ae5c5fa7248d3ff5'
3838
# this is a small set of data for test. The original data is too large and
3939
# will be add later.
40-
URL_TRAIN = ('http://paddlepaddle.cdn.bcebos.com/demo/'
41-
'wmt_shrinked_data/wmt14.tgz')
40+
URL_TRAIN = ('http://paddlemodels.bj.bcebos.com/wmt/wmt14.tgz')
4241
MD5_TRAIN = '0791583d57d5beb693b9414c5b36798c'
4342
# BLEU of this trained model is 26.92
4443
URL_MODEL = 'http://paddlemodels.bj.bcebos.com/wmt%2Fwmt14.tgz'

0 commit comments

Comments
 (0)