-
Notifications
You must be signed in to change notification settings - Fork 43
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
Bert_XJY_ZJUT #67
Bert_XJY_ZJUT #67
Conversation
@zjuter0126 Did u use GPU backend to train Bert network? |
Yes,on TeslaV100-SXM2 32GB.According to mindspore,the zhwiki is used to pretrain the bert. |
@zjuter0126 Got it, I will take a test locally later, thanks for pulling this request. And if it's possible, could u try to insert the code into the tinyms framework? Thanks! |
I will try my best.However,I'am not sure I can insert them in tinyms beautifully.I may need to trouble you to fine-tune it later |
Don't have to worry about it, there is no trouble at all : ) |
I delete some unnecessary *.py and carefully put other into tinyms frames.It may be not beautiful.You can see them in new branch.Hope this satisfies you.The usage of code is same to the former.Just please bert_for_pre_pretraining.py/config.py/utils.py in the same files. And SentimentNet's warning comes from mindspore=1.1.1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge branch 'main' into main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some review comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@zjuter0126 Congras! |
将Mindspore中的Bert迁移到tinyms,详情请见bert.md