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

make T2TT in blingual model auto-concatenated #346

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

antoine-tran
Copy link
Contributor

What ?

For bilingual model, running T2TT will give back a Result, in which only the transcription and word_confidence_score is interested. In such case, it is more convenient to provide directly the translated texts for the user.

How ?

Internally concatenate the text, so Result.transcription will be a vector of one item (concanted text) and Result.word_score also has only one score (the aggregated sentence score of the translation)

Test

Re-run unit test

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 30, 2024
@antoine-tran antoine-tran changed the base branch from main to unity_cpp_sync_20240118 January 30, 2024 09:37
@antoine-tran antoine-tran changed the base branch from unity_cpp_sync_20240118 to main January 30, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants