-
Notifications
You must be signed in to change notification settings - Fork 3.2k
GPU-accelerated Phrase-Boosting (GPU-PB) for AED decoding #14108
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
Merged
andrusenkoau
merged 51 commits into
NVIDIA-NeMo:main
from
andrusenkoau:gpu_boosting_aed_pr
Jul 12, 2025
Merged
GPU-accelerated Phrase-Boosting (GPU-PB) for AED decoding #14108
andrusenkoau
merged 51 commits into
NVIDIA-NeMo:main
from
andrusenkoau:gpu_boosting_aed_pr
Jul 12, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
artbataev
reviewed
Jul 11, 2025
artbataev
reviewed
Jul 11, 2025
artbataev
reviewed
Jul 11, 2025
Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]>
Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
artbataev
approved these changes
Jul 11, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot! Great work!
AmirHussein96
pushed a commit
to AmirHussein96/NeMo
that referenced
this pull request
Jul 23, 2025
…o#14108) * add initial scripts Signed-off-by: andrusenkoau <[email protected]> * add boosting tree construction Signed-off-by: andrusenkoau <[email protected]> * add pb support to rnnt greedy decoding for python impl only Signed-off-by: andrusenkoau <[email protected]> * first step for the integration of PB for rnnt cuda decoding Signed-off-by: andrusenkoau <[email protected]> * some fixes Signed-off-by: andrusenkoau <[email protected]> * revert changes for rnnt decoding Signed-off-by: andrusenkoau <[email protected]> * add initial step for pb for aed model Signed-off-by: andrusenkoau <[email protected]> * fix a bug with fusion models integration for aed beam decoding Signed-off-by: andrusenkoau <[email protected]> * partial fix for eos score increasing after detection of context phrase Signed-off-by: andrusenkoau <[email protected]> * fix node score in the context graph Signed-off-by: andrusenkoau <[email protected]> * fix backoff weight for end node Signed-off-by: andrusenkoau <[email protected]> * add dummy boosting tree Signed-off-by: andrusenkoau <[email protected]> * add tests for the boosting tree Signed-off-by: andrusenkoau <[email protected]> * add more tests Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * fix not closed file Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * Update tests/collections/asr/test_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update tests/collections/asr/decoding/test_multi_task_decoding.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/compute_key_words_fscore.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * add asr model path + name Signed-off-by: andrusenkoau <[email protected]> * add bt config Signed-off-by: andrusenkoau <[email protected]> * add loading boosting tree from config Signed-off-by: andrusenkoau <[email protected]> * add a new test for test_boosting_tree_model_from_config Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * pr fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> --------- Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> Co-authored-by: andrusenkoau <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Charlie Truong <[email protected]> Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Amir Hussein <[email protected]>
monica-sekoyan
pushed a commit
that referenced
this pull request
Aug 4, 2025
* add initial scripts Signed-off-by: andrusenkoau <[email protected]> * add boosting tree construction Signed-off-by: andrusenkoau <[email protected]> * add pb support to rnnt greedy decoding for python impl only Signed-off-by: andrusenkoau <[email protected]> * first step for the integration of PB for rnnt cuda decoding Signed-off-by: andrusenkoau <[email protected]> * some fixes Signed-off-by: andrusenkoau <[email protected]> * revert changes for rnnt decoding Signed-off-by: andrusenkoau <[email protected]> * add initial step for pb for aed model Signed-off-by: andrusenkoau <[email protected]> * fix a bug with fusion models integration for aed beam decoding Signed-off-by: andrusenkoau <[email protected]> * partial fix for eos score increasing after detection of context phrase Signed-off-by: andrusenkoau <[email protected]> * fix node score in the context graph Signed-off-by: andrusenkoau <[email protected]> * fix backoff weight for end node Signed-off-by: andrusenkoau <[email protected]> * add dummy boosting tree Signed-off-by: andrusenkoau <[email protected]> * add tests for the boosting tree Signed-off-by: andrusenkoau <[email protected]> * add more tests Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * fix not closed file Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * Update tests/collections/asr/test_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update tests/collections/asr/decoding/test_multi_task_decoding.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/compute_key_words_fscore.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * add asr model path + name Signed-off-by: andrusenkoau <[email protected]> * add bt config Signed-off-by: andrusenkoau <[email protected]> * add loading boosting tree from config Signed-off-by: andrusenkoau <[email protected]> * add a new test for test_boosting_tree_model_from_config Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * pr fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> --------- Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> Co-authored-by: andrusenkoau <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Charlie Truong <[email protected]> Co-authored-by: Vladimir Bataev <[email protected]>
AmirHussein96
pushed a commit
to AmirHussein96/NeMo
that referenced
this pull request
Aug 5, 2025
…o#14108) * add initial scripts Signed-off-by: andrusenkoau <[email protected]> * add boosting tree construction Signed-off-by: andrusenkoau <[email protected]> * add pb support to rnnt greedy decoding for python impl only Signed-off-by: andrusenkoau <[email protected]> * first step for the integration of PB for rnnt cuda decoding Signed-off-by: andrusenkoau <[email protected]> * some fixes Signed-off-by: andrusenkoau <[email protected]> * revert changes for rnnt decoding Signed-off-by: andrusenkoau <[email protected]> * add initial step for pb for aed model Signed-off-by: andrusenkoau <[email protected]> * fix a bug with fusion models integration for aed beam decoding Signed-off-by: andrusenkoau <[email protected]> * partial fix for eos score increasing after detection of context phrase Signed-off-by: andrusenkoau <[email protected]> * fix node score in the context graph Signed-off-by: andrusenkoau <[email protected]> * fix backoff weight for end node Signed-off-by: andrusenkoau <[email protected]> * add dummy boosting tree Signed-off-by: andrusenkoau <[email protected]> * add tests for the boosting tree Signed-off-by: andrusenkoau <[email protected]> * add more tests Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * fix not closed file Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * Update tests/collections/asr/test_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update tests/collections/asr/decoding/test_multi_task_decoding.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/compute_key_words_fscore.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * add asr model path + name Signed-off-by: andrusenkoau <[email protected]> * add bt config Signed-off-by: andrusenkoau <[email protected]> * add loading boosting tree from config Signed-off-by: andrusenkoau <[email protected]> * add a new test for test_boosting_tree_model_from_config Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * pr fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> --------- Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> Co-authored-by: andrusenkoau <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Charlie Truong <[email protected]> Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Amir Hussein <[email protected]>
AmirHussein96
pushed a commit
to AmirHussein96/NeMo
that referenced
this pull request
Aug 5, 2025
…o#14108) * add initial scripts Signed-off-by: andrusenkoau <[email protected]> * add boosting tree construction Signed-off-by: andrusenkoau <[email protected]> * add pb support to rnnt greedy decoding for python impl only Signed-off-by: andrusenkoau <[email protected]> * first step for the integration of PB for rnnt cuda decoding Signed-off-by: andrusenkoau <[email protected]> * some fixes Signed-off-by: andrusenkoau <[email protected]> * revert changes for rnnt decoding Signed-off-by: andrusenkoau <[email protected]> * add initial step for pb for aed model Signed-off-by: andrusenkoau <[email protected]> * fix a bug with fusion models integration for aed beam decoding Signed-off-by: andrusenkoau <[email protected]> * partial fix for eos score increasing after detection of context phrase Signed-off-by: andrusenkoau <[email protected]> * fix node score in the context graph Signed-off-by: andrusenkoau <[email protected]> * fix backoff weight for end node Signed-off-by: andrusenkoau <[email protected]> * add dummy boosting tree Signed-off-by: andrusenkoau <[email protected]> * add tests for the boosting tree Signed-off-by: andrusenkoau <[email protected]> * add more tests Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * fix not closed file Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * Update tests/collections/asr/test_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update tests/collections/asr/decoding/test_multi_task_decoding.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/compute_key_words_fscore.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * add asr model path + name Signed-off-by: andrusenkoau <[email protected]> * add bt config Signed-off-by: andrusenkoau <[email protected]> * add loading boosting tree from config Signed-off-by: andrusenkoau <[email protected]> * add a new test for test_boosting_tree_model_from_config Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * pr fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> --------- Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> Co-authored-by: andrusenkoau <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Charlie Truong <[email protected]> Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Amir Hussein <[email protected]>
nasretdinovr
pushed a commit
to nasretdinovr/NeMo
that referenced
this pull request
Aug 8, 2025
…o#14108) * add initial scripts Signed-off-by: andrusenkoau <[email protected]> * add boosting tree construction Signed-off-by: andrusenkoau <[email protected]> * add pb support to rnnt greedy decoding for python impl only Signed-off-by: andrusenkoau <[email protected]> * first step for the integration of PB for rnnt cuda decoding Signed-off-by: andrusenkoau <[email protected]> * some fixes Signed-off-by: andrusenkoau <[email protected]> * revert changes for rnnt decoding Signed-off-by: andrusenkoau <[email protected]> * add initial step for pb for aed model Signed-off-by: andrusenkoau <[email protected]> * fix a bug with fusion models integration for aed beam decoding Signed-off-by: andrusenkoau <[email protected]> * partial fix for eos score increasing after detection of context phrase Signed-off-by: andrusenkoau <[email protected]> * fix node score in the context graph Signed-off-by: andrusenkoau <[email protected]> * fix backoff weight for end node Signed-off-by: andrusenkoau <[email protected]> * add dummy boosting tree Signed-off-by: andrusenkoau <[email protected]> * add tests for the boosting tree Signed-off-by: andrusenkoau <[email protected]> * add more tests Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * fix not closed file Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * Update tests/collections/asr/test_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update tests/collections/asr/decoding/test_multi_task_decoding.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/compute_key_words_fscore.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * add asr model path + name Signed-off-by: andrusenkoau <[email protected]> * add bt config Signed-off-by: andrusenkoau <[email protected]> * add loading boosting tree from config Signed-off-by: andrusenkoau <[email protected]> * add a new test for test_boosting_tree_model_from_config Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * pr fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> --------- Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> Co-authored-by: andrusenkoau <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Charlie Truong <[email protected]> Co-authored-by: Vladimir Bataev <[email protected]>
guyueh1
pushed a commit
to guyueh1/NeMo
that referenced
this pull request
Aug 25, 2025
…o#14108) * add initial scripts Signed-off-by: andrusenkoau <[email protected]> * add boosting tree construction Signed-off-by: andrusenkoau <[email protected]> * add pb support to rnnt greedy decoding for python impl only Signed-off-by: andrusenkoau <[email protected]> * first step for the integration of PB for rnnt cuda decoding Signed-off-by: andrusenkoau <[email protected]> * some fixes Signed-off-by: andrusenkoau <[email protected]> * revert changes for rnnt decoding Signed-off-by: andrusenkoau <[email protected]> * add initial step for pb for aed model Signed-off-by: andrusenkoau <[email protected]> * fix a bug with fusion models integration for aed beam decoding Signed-off-by: andrusenkoau <[email protected]> * partial fix for eos score increasing after detection of context phrase Signed-off-by: andrusenkoau <[email protected]> * fix node score in the context graph Signed-off-by: andrusenkoau <[email protected]> * fix backoff weight for end node Signed-off-by: andrusenkoau <[email protected]> * add dummy boosting tree Signed-off-by: andrusenkoau <[email protected]> * add tests for the boosting tree Signed-off-by: andrusenkoau <[email protected]> * add more tests Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * fix not closed file Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * Update tests/collections/asr/test_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update tests/collections/asr/decoding/test_multi_task_decoding.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/compute_key_words_fscore.py Co-authored-by: Copilot <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * add asr model path + name Signed-off-by: andrusenkoau <[email protected]> * add bt config Signed-off-by: andrusenkoau <[email protected]> * add loading boosting tree from config Signed-off-by: andrusenkoau <[email protected]> * add a new test for test_boosting_tree_model_from_config Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * pr fixes Signed-off-by: andrusenkoau <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> * minor fixes Signed-off-by: andrusenkoau <[email protected]> * minor fix Signed-off-by: andrusenkoau <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Update scripts/asr_context_biasing/build_gpu_boosting_tree.py Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> * Apply isort and black reformatting Signed-off-by: andrusenkoau <[email protected]> --------- Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: andrusenkoau <[email protected]> Signed-off-by: Andrei Andrusenko <[email protected]> Co-authored-by: andrusenkoau <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Charlie Truong <[email protected]> Co-authored-by: Vladimir Bataev <[email protected]> Signed-off-by: Guyue Huang <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Important
The
Update branchbutton must only be pressed in very rare occassions.An outdated branch is never blocking the merge of a PR.
Please reach out to the automation team before pressing that button.
What does this PR do?
Implementation of GPU-accelerated Phrase-Boosting method (GPU-PB) in shallow fusion mode for AED decoding (e.g. Canary) based on NGPU-LM infrastructure. The method supports greedy (beam=1) and beam search decoding. GPU-PB is compatible with NGPU-LM at the same decoding run.
Collection: [ASR]
Changelog
Usage
Step 1 (Optional): Build boosting tree for the specific ASR model
You can skip this step and provide a context file or a list with key phrases directly to speech_to_text_eval.py (step 2)
Step 2: Run AED decoding with boosting tree
Step 3: Evaluate F-score for context phrases
GitHub Actions CI
The Jenkins CI system has been replaced by GitHub Actions self-hosted runners.
The GitHub Actions CI will run automatically when the "Run CICD" label is added to the PR.
To re-run CI remove and add the label again.
To run CI on an untrusted fork, a NeMo user with write access must first click "Approve and run".
Before your PR is "Ready for review"
Pre checks:
PR Type:
If you haven't finished some of the above items you can still open "Draft" PR.
Who can review?
Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.
Additional Information