-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[ERNIE-M] Add ernie-m #1510
[ERNIE-M] Add ernie-m #1510
Conversation
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.
README是否也注意补上
paddle.distributed.init_parallel_env() | ||
|
||
set_seed(args) | ||
tokenizer = ErnieMTokenizer.from_pretrained(args.model_name_or_path) |
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.
咱们后续是否要统一AutoModel和AutoTokenizer的使用,还请 @ZeyuChen 判断下
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.
统一吧,这样后续新增模型的时候,大家需要有一个往Auto里面注册的机制。@gongel
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.
Both are done. Thx.
paddle.distributed.init_parallel_env() | ||
|
||
set_seed(args) | ||
tokenizer = ErnieMTokenizer.from_pretrained(args.model_name_or_path) |
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.
统一吧,这样后续新增模型的时候,大家需要有一个往Auto里面注册的机制。@gongel
PR types
New features
PR changes
Models
Description