Files
sherpa-onnx/scripts
Hassan Kazi c65f321699 Fix decoder positions of generated tokens in Canary greedy search (#4097)
The prompt is fed at positions 0..n-1, but generated tokens were fed at
1, 2, ... instead of n, n+1, ..., overlapping the prompt. Feed them at
decoder_input.size() + i - 1, as NeMo's GreedySequenceGenerator does.

Fixes #4096
2026-10-24 16:50:59 +08:00
..
2026-02-05 13:10:37 +08:00
2024-07-10 17:05:26 +08:00
2026-10-23 20:32:33 +08:00
2025-06-20 11:10:07 +08:00
2026-01-26 10:34:49 +08:00
2026-03-12 11:10:55 +08:00
2024-06-14 16:51:53 +08:00
2026-10-21 09:57:49 +08:00
2025-03-17 09:19:50 +08:00
2024-05-21 20:37:29 +08:00
2026-03-12 11:10:55 +08:00
2022-10-12 21:35:07 +08:00