Skip to content

Add stateful-transducer-onnx label scorer - #149

Open
SimBe195 wants to merge 12 commits into
masterfrom
transducer_label_scorer
Open

Add stateful-transducer-onnx label scorer#149
SimBe195 wants to merge 12 commits into
masterfrom
transducer_label_scorer

Conversation

@SimBe195

@SimBe195 SimBe195 commented Oct 2, 2025

Copy link
Copy Markdown
Collaborator

Add a new label scorer class StatefulTransducerOnnxLabelScorer. This is similar to the StatefulOnnxLabelScorer but hidden-state and encoder features are decoupled. Here, the state initializer and state updater only take tokens and no encoder features. Instead, the scorer receives the encoder state at the current time step and the hidden state and is supposed to combine the two.

This can be used for transducer models with unlimited context.

Depends on #144.

@SimBe195
SimBe195 marked this pull request as ready for review October 2, 2025 17:56
Comment thread src/Nn/LabelScorer/StatefulTransducerOnnxLabelScorer.cc Outdated
Base automatically changed from finalize-scoring-context to master November 13, 2025 12:57
Comment thread src/Nn/LabelScorer/StatefulTransducerOnnxLabelScorer.hh Outdated
Comment thread src/Nn/LabelScorer/StatefulTransducerOnnxLabelScorer.hh Outdated
Comment thread src/Nn/LabelScorer/StatefulTransducerOnnxLabelScorer.cc Outdated
Comment thread src/Nn/LabelScorer/StatefulTransducerOnnxLabelScorer.cc Outdated
Comment thread src/Nn/LabelScorer/StatefulTransducerOnnxLabelScorer.hh Outdated
Comment thread src/Nn/LabelScorer/StatefulTransducerOnnxLabelScorer.cc
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.

3 participants