Skip to content

Add PrefixSpeechLmOnnxLabelScorer#218

Open
SimBe195 wants to merge 16 commits into
masterfrom
prefix_speech_lm_scorer
Open

Add PrefixSpeechLmOnnxLabelScorer#218
SimBe195 wants to merge 16 commits into
masterfrom
prefix_speech_lm_scorer

Conversation

@SimBe195
Copy link
Copy Markdown
Collaborator

@SimBe195 SimBe195 commented May 8, 2026

This PR adds a new LabelScorer which can be used for Speech LLMs. Structurally it is roughly similar to the StateManagedOnnxLabelScorer from #206. The main difference is how the initial states are constructed. While the StateMangedOnnxLabelScorer only gets one or more start labels as initial history while the PrefixSpeechLmOnnxLabelScorer has a separate initializer ONNX model which gets an initial-prompt, encoder-states and suffix-prompt to produce the initial scores and states. Also, the StateManagedOnnxLabelScorer feeds in the encoder-states at every scoring step while the PrefixSpeechLmOnnxLabelScorer only feeds the encoder-states for the initialization.

@SimBe195 SimBe195 changed the base branch from master to state_manager_label_scorer May 8, 2026 12:04
Base automatically changed from state_manager_label_scorer to master May 22, 2026 11:52
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