Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问run_pretrain.py和train.py有什么区别? #1

Open
unstory opened this issue Oct 15, 2019 · 4 comments
Open

请问run_pretrain.py和train.py有什么区别? #1

unstory opened this issue Oct 15, 2019 · 4 comments

Comments

@unstory
Copy link

unstory commented Oct 15, 2019

基础比较差,没看懂。

@HuiResearch
Copy link
Owner

HuiResearch commented Oct 15, 2019 via email

@unstory
Copy link
Author

unstory commented Oct 16, 2019

执行run_pretrain.py后,需要把train.py里面的bert_path,init_checkpoint这些参数改成预训练后的模型的路径吗?

@HuiResearch
Copy link
Owner

是的,init_checkpoint加载你预训练后的ckpt模型文件,config和vocab使用的文件和预训练一样

@unstory
Copy link
Author

unstory commented Oct 16, 2019

感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants