Skip to content

Commit 772ceee

Browse files
authored
Merge pull request #12615 from typhoonzero/move_dataset_download_url
move download urls
2 parents 8499559 + 0954adb commit 772ceee

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

python/paddle/dataset/conll05.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929

3030
DATA_URL = 'http://www.cs.upc.edu/~srlconll/conll05st-tests.tar.gz'
3131
DATA_MD5 = '387719152ae52d60422c016e92a742fc'
32-
WORDDICT_URL = 'http://paddlepaddle.bj.bcebos.com/demo/srl_dict_and_embedding/wordDict.txt'
32+
WORDDICT_URL = 'http://paddlemodels.bj.bcebos.com/conll05st%2FwordDict.txt'
3333
WORDDICT_MD5 = 'ea7fb7d4c75cc6254716f0177a506baa'
34-
VERBDICT_URL = 'http://paddlepaddle.bj.bcebos.com/demo/srl_dict_and_embedding/verbDict.txt'
34+
VERBDICT_URL = 'http://paddlemodels.bj.bcebos.com/conll05st%2FverbDict.txt'
3535
VERBDICT_MD5 = '0d2977293bbb6cbefab5b0f97db1e77c'
36-
TRGDICT_URL = 'http://paddlepaddle.bj.bcebos.com/demo/srl_dict_and_embedding/targetDict.txt'
36+
TRGDICT_URL = 'http://paddlemodels.bj.bcebos.com/conll05st%2FtargetDict.txt'
3737
TRGDICT_MD5 = 'd8c7f03ceb5fc2e5a0fa7503a4353751'
38-
EMB_URL = 'http://paddlepaddle.bj.bcebos.com/demo/srl_dict_and_embedding/emb'
38+
EMB_URL = 'http://paddlemodels.bj.bcebos.com/conll05st%2Femb'
3939
EMB_MD5 = 'bf436eb0faa1f6f9103017f8be57cdb7'
4040

4141
UNK_IDX = 0

python/paddle/dataset/wmt14.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
'wmt_shrinked_data/wmt14.tgz')
4141
MD5_TRAIN = '0791583d57d5beb693b9414c5b36798c'
4242
# BLEU of this trained model is 26.92
43-
URL_MODEL = 'http://paddlepaddle.bj.bcebos.com/demo/wmt_14/wmt14_model.tar.gz'
43+
URL_MODEL = 'http://paddlemodels.bj.bcebos.com/wmt%2Fwmt14.tgz'
4444
MD5_MODEL = '0cb4a5366189b6acba876491c8724fa3'
4545

4646
START = "<s>"

python/paddle/v2/dataset/conll05.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929

3030
DATA_URL = 'http://www.cs.upc.edu/~srlconll/conll05st-tests.tar.gz'
3131
DATA_MD5 = '387719152ae52d60422c016e92a742fc'
32-
WORDDICT_URL = 'http://paddlepaddle.bj.bcebos.com/demo/srl_dict_and_embedding/wordDict.txt'
32+
WORDDICT_URL = 'http://paddlemodels.bj.bcebos.com/conll05st%2FwordDict.txt'
3333
WORDDICT_MD5 = 'ea7fb7d4c75cc6254716f0177a506baa'
34-
VERBDICT_URL = 'http://paddlepaddle.bj.bcebos.com/demo/srl_dict_and_embedding/verbDict.txt'
34+
VERBDICT_URL = 'http://paddlemodels.bj.bcebos.com/conll05st%2FverbDict.txt'
3535
VERBDICT_MD5 = '0d2977293bbb6cbefab5b0f97db1e77c'
36-
TRGDICT_URL = 'http://paddlepaddle.bj.bcebos.com/demo/srl_dict_and_embedding/targetDict.txt'
36+
TRGDICT_URL = 'http://paddlemodels.bj.bcebos.com/conll05st%2FtargetDict.txt'
3737
TRGDICT_MD5 = 'd8c7f03ceb5fc2e5a0fa7503a4353751'
38-
EMB_URL = 'http://paddlepaddle.bj.bcebos.com/demo/srl_dict_and_embedding/emb'
38+
EMB_URL = 'http://paddlemodels.bj.bcebos.com/conll05st%2Femb'
3939
EMB_MD5 = 'bf436eb0faa1f6f9103017f8be57cdb7'
4040

4141
UNK_IDX = 0

python/paddle/v2/dataset/wmt14.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
'wmt_shrinked_data/wmt14.tgz')
4242
MD5_TRAIN = '0791583d57d5beb693b9414c5b36798c'
4343
# BLEU of this trained model is 26.92
44-
URL_MODEL = 'http://paddlepaddle.bj.bcebos.com/demo/wmt_14/wmt14_model.tar.gz'
44+
URL_MODEL = 'http://paddlemodels.bj.bcebos.com/wmt%2Fwmt14.tgz'
4545
MD5_MODEL = '0cb4a5366189b6acba876491c8724fa3'
4646

4747
START = "<s>"

0 commit comments

Comments
 (0)