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

Add translation example from chinese, french to english #681

Merged
merged 7 commits into from
Oct 13, 2024

Conversation

haixuanTao
Copy link
Collaborator

@haixuanTao haixuanTao commented Oct 9, 2024

This adds:

  • a VAD node to detect voice within an audio to avoid having too much noise
  • Bump distil-whisper to whisper-turbo
  • Use Argotranslate and OPUS-MT for translation
  • Add example dataflow within the example folder

Get started

cd examples/translation
dora up

dora build dataflow_zh_en_terminal.yml
dora start dataflow_zh_en_terminal.yml --detach

python pretty_print.py

@haixuanTao haixuanTao mentioned this pull request Oct 9, 2024
@haixuanTao haixuanTao marked this pull request as ready for review October 9, 2024 14:10
@haixuanTao
Copy link
Collaborator Author

FYI: I'm going to add a way to easily switch between language while running the dataflow before merging

@haixuanTao haixuanTao merged commit 4e51cd8 into main Oct 13, 2024
40 checks passed
@haixuanTao haixuanTao deleted the add-argotranslate branch October 13, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants