Skip to content

Add FullContextOnnxLabelScorer - #241

Open
larissakl wants to merge 9 commits into
masterfrom
full-context-onnx-label-scorer
Open

Add FullContextOnnxLabelScorer#241
larissakl wants to merge 9 commits into
masterfrom
full-context-onnx-label-scorer

Conversation

@larissakl

@larissakl larissakl commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Adds a FullContextOnnxLabelScorer, that forwards either the input feature at the current timestep or the full encoder state sequence, together with the complete label history through a single ONNX model. It's structurally analogous to FixedContextOnnxLabelScorer, but the history is never truncated.

I moved the SeqStepScoringContext to ScoringContexts.[hh|cc] again to reuse it for this label scorer.

@larissakl
larissakl marked this pull request as ready for review July 15, 2026 08:43
Comment thread src/Nn/LabelScorer/FullContextOnnxLabelScorer.hh Outdated
Comment thread src/Nn/LabelScorer/FullContextOnnxLabelScorer.cc Outdated
Comment thread src/Nn/LabelScorer/CMakeLists.txt Outdated
Comment thread src/Nn/LabelScorer/FullContextOnnxLabelScorer.cc Outdated
Comment thread src/Nn/LabelScorer/FullContextOnnxLabelScorer.cc Outdated
Comment thread src/Nn/LabelScorer/FullContextOnnxLabelScorer.cc Outdated
@larissakl
larissakl requested a review from SimBe195 July 16, 2026 17:07
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