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

[Feature Request] Inquiry About ONNX Runtime Support for Dynamic Decoding Correction in Machine Translation on Android #23216

Open
tigflanker opened this issue Dec 28, 2024 · 0 comments
Labels
feature request request for unsupported feature or enhancement platform:mobile issues related to ONNX Runtime mobile; typically submitted using template

Comments

@tigflanker
Copy link

Describe the feature request

Dear ONNX Runtime Maintainers,

Merry Christmas and Happy New Year to you!

I am planning to develop a machine translation product based on the T5 model, which will be deployed on Android devices. However, there is a specific feature that I am unsure if ONNX Runtime currently supports, and I would greatly appreciate your guidance on this matter.

During machine translation, due to the limitations of the model size, users sometimes find that certain tokens in the target language are not translated correctly. In such cases, users may input the correct target token themselves. At this point, I would like the model to re-decode the subsequent part of the sequence starting from where the user made the correction (assuming that all content before this token position has been translated correctly).

This requirement calls for a rather flexible functionality, and I am uncertain whether the current version of ONNX Runtime can support such an operation. If it does, could you please provide me with an API or, even better, an example? Your assistance would be immensely appreciated.

Thank you very much for your time and help.

Describe scenario use case

Dynamic Decoding Correction in Machine Translation on Android.

@tigflanker tigflanker added the feature request request for unsupported feature or enhancement label Dec 28, 2024
@github-actions github-actions bot added the platform:mobile issues related to ONNX Runtime mobile; typically submitted using template label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request request for unsupported feature or enhancement platform:mobile issues related to ONNX Runtime mobile; typically submitted using template
Projects
None yet
Development

No branches or pull requests

1 participant