mirror of
https://github.com/k2-fsa/sherpa-onnx.git
synced 2026-11-10 21:11:03 +08:00
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
Introduction
This directory contains scripts for exporting models
from NeMo to onnx
so that you can use them in sherpa-onnx.
- ./speaker-verification contains models for speaker verification.