Repository navigation
feat(nlp): add translation task (Opus-MT, EuroLLM, Hy-MT2) - #1572
Merged
Merged
Conversation
msluszniak
force-pushed
the
@ms/translation
branch
from
October 28, 2026 16:44
16dcaa3 to
d8551dd
Compare
msluszniak
marked this pull request as draft
October 29, 2026 13:44
msluszniak
marked this pull request as ready for review
October 29, 2026 16:58
# Conflicts: # .cspell-wordlist.txt
barhanc
reviewed
Nov 2, 2026
Prompt templates and language tables now live in models.ts / constants.ts as plain config data; add LLMTranslator; drop the top-level Translator re-export; keep one Hy-MT2 variant per backend (XNNPACK 8da4w, MLX int8).
barhanc
approved these changes
Nov 3, 2026
barhanc
left a comment
Member
There was a problem hiding this comment.
Tested example app and it works correctly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
translationtask behind oneTranslatorAPI (useTranslator,translate(text, { sourceLanguage, targetLanguage }, onToken?)).nativeLibsVersionto 0.10.7 (v0.10.7-libs).Introduces a breaking change?
Type of change
Tested on
Testing instructions
apps/nlp, open Translation, pick Opus-MT or EuroLLM and a pair, tap Translate.Screenshots
Related issues
#1113
Checklist
Additional notes
Export scripts: export-scripts MR !43.