[Bugfix] Build the forced-aligner prompt without a chat template (word timestamps one bin late) (#7240)

Signed-off-by: Tianyao Wu <rayroy31@gmail.com>
This commit is contained in:
Tianyao Wu authored and GitHub committed 2026-09-08 19:27:38 +00:00
1 parent 5e4baea64d
commit b3dd45874a
3 files changed
+28 -13

No files matched your search

@@ -5,8 +5,9 @@
# --forced-aligner sets just the model path.
#
# The stage runs the model with runner="pooling" + pooling_task="token_classify".
# Prompt tokens, chat template and word segmentation are Qwen-specific and live
# in qwen3_force_align_processor (not configurable here).
# Prompt tokens and word segmentation are Qwen-specific and live in
# qwen3_force_align_processor (not configurable here); the prompt is the same
# string qwen_asr's encode_timestamp builds, with no chat template.
forced_aligner:
model: Qwen/Qwen3-ForcedAligner-0.6B