未验证 提交 b0f13646 编写于 作者: Y Yibing Liu 提交者: GitHub

Rename language_representation_kit to PaddleLARK (#3700)

* Rename language_representations_kit to PaddleLARK

* Update link to ernie

* Revert change in bert/train.sh
上级 98bfe49e
[submodule "PaddleNLP/language_representations_kit/ERNIE"]
path = PaddleNLP/language_representations_kit/ERNIE
url = https://github.com/PaddlePaddle/ERNIE
[submodule "PaddleRL"]
path = PaddleRL
url = https://github.com/PaddlePaddle/PARL
......@@ -10,3 +7,6 @@
[submodule "AutoDL"]
path = AutoDL
url = https://github.com/PaddlePaddle/AutoDL.git
[submodule "PaddleNLP/PaddleLARK/ERNIE"]
path = PaddleNLP/PaddleLARK/ERNIE
url = https://github.com/PaddlePaddle/ERNIE.git
......@@ -31,7 +31,6 @@ TRAIN_DATA_DIR=data/train
VALIDATION_DATA_DIR=data/validation
CONFIG_PATH=data/demo_config/bert_config.json
VOCAB_PATH=data/demo_config/vocab.txt
# Change your train arguments:
python -u ./train.py ${is_distributed}\
--use_cuda true\
......
......@@ -118,7 +118,8 @@ def parse_args():
parser.add_argument('--update_method', type=str, default='nccl2')
parser.add_argument('--random_seed', type=int, default=0)
parser.add_argument('--n_negative_samples_batch', type=int, default=8000)
parser.add_argument('--enable_ce', action='store_true', help='whether print log for ce')
parser.add_argument(
'--enable_ce', action='store_true', help='whether print log for ce')
args = parser.parse_args()
return args
Subproject commit 30b892e3c029bff706337f269e6c158b0a223f60
Subproject commit 31e0c630508aea49432c597809028436ed35e573
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册