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

Added a translation pipeline for ctranslate2 inference #245

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

Conversation

uahmed93
Copy link

@uahmed93 uahmed93 commented Sep 16, 2024

Description

This PR enables ctranslate2 model translation. This will work when CrossFit support for ctranslate2 model is added.(PR)

Usage

python3 NeMo-Curator/examples/ct2_trasnlation_example.py --input-data-dir <inp-dir> --output-data-dir <out-dir> --ct2-model-path <ct2-model-dir>  --files-per-partition 1 --input-text-field indic_proc_text --tgt-lang mar_Deva

Checklist

  • I am familiar with the Contributing Guide.
  • New or Existing tests cover these changes.
  • The documentation is up to date with these changes.

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.

1 participant