-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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 #21123
Comments
https://github.com/PaddlePaddle/ERNIE/blob/ernie-kit-open-v1.0/erniekit/modules/ernie.py has more implementation details. |
Hi, @shermansiu is there any pytorch/tf implementation of this model? |
None that I'm aware of. Anyways, the author of ERNIE-Pytorch ported over a few other Ernie models to Huggingface. I'm sure it could be adapted for this. And the PaddlePaddle syntax is quite similar to that of PyTorch, so I'm sure it should be relatively easy, though it'll probably take some time. |
@shermansiu Thanks for the resources! |
Hi @KnutJaegersberg, Ernie-M is implemented! |
Model description
Ernie-M looks pretty good in multilingual benchmarks, beating XLM-Roberta.
Paddlepaddle recently added ernie-m to the huggingface repo, we can use it with paddlenlp.transformers.
Would be nice to have the model supported in huggingface transformer as well.
Open source status
Provide useful links for the implementation
https://huggingface.co/PaddlePaddle/ernie-m-base
https://huggingface.co/PaddlePaddle/ernie-m-large
The text was updated successfully, but these errors were encountered: