software-mansion / software-mansion/react-native-executorch

Support translation models

Open
#1,113 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

idea model
Dominant language
TypeScript
Stars
1.7k
Forks
96
Avg merge
20h 51m
Merged PRs (30d)
59

Description

Problem Description

As it stands for now, we do not support any text translation models in our package. Having them could be useful in many contexts.

What should be done

Explore available translation models and try to export them to ExecuTorch format. A good candidate to begin with is Tencent Hunyuan Translation Model.

Benefits to React Native ExecuTorch

Translation models could be very useful on it's own, as well as in integration with other language models. Natural candidates for such synergy are LLMs or the upcoming multilingual text-to-speech (#712).

One idea to utilizes such models would be a fully-offline voice translation app, allowing a complete verbal communication in different languages using S2T, T2S and translation model running between these layers.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by evaluating the Tencent Hunyuan Translation Model candidate and the requirements for exporting it to ExecuTorch format. Done means at least one translation model is exported and supported by the React Native ExecuTorch package; the issue names no files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
pytorch, react-native, typescript
Domain
machine-learning, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.