Skip to content

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

@antoine-tran antoine-tran requested a review from cndn January 30, 2024 09:36
@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