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

Can this model suitable for multilingual-t5 accelerate? #12

Open
williamwong91 opened this issue Jan 11, 2021 · 2 comments
Open

Can this model suitable for multilingual-t5 accelerate? #12

williamwong91 opened this issue Jan 11, 2021 · 2 comments

Comments

@williamwong91
Copy link

Recently, I use the chinese function of multilingual-t5 model to accomplish the Chinese NLG tasks. However, the inference speed might be slow, could this model be used for multilingual-t5? How can I do?

@abelriboulot
Copy link
Owner

So it looks like huggingface has it now: https://huggingface.co/google/mt5-base which means you can use the code in there: https://github.com/abelriboulot/onnxt5/blob/master/examples/export_pretrained_model.py

@polly-morphism
Copy link

I am getting "You are using a model of type mt5 to instantiate a model of type t5. This is not supported for all configurations of models and can yield errors." - is it ok to use this code for mT5 models?

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

3 participants