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

[NER] Support ernie and peoples_daily_ner. #1361

Merged
merged 4 commits into from
Dec 1, 2021

Conversation

ZHUI
Copy link
Collaborator

@ZHUI ZHUI commented Nov 26, 2021

PR types

example optimization

PR changes

Others

Description

[NER] Support ernie and peoples_daily_ner.

paddle.save(model.state_dict(),
os.path.join(args.output_dir,
"model_%d.pdparams" % global_step))


if __name__ == "__main__":
args = parser.parse_args()
logger.info('{:20}:{}'.format("paddle commit id", paddle.version.commit))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以在args添加log level,默认不展示给用户看

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已删除 commit id 打印

@ZHUI ZHUI requested a review from joey12300 November 29, 2021 02:32
Copy link
Contributor

@joey12300 joey12300 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ZHUI ZHUI merged commit e79822d into PaddlePaddle:develop Dec 1, 2021
@ZHUI ZHUI deleted the ernie_performance_test branch December 10, 2021 08:48
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

Successfully merging this pull request may close these issues.

2 participants