Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update sherpa-onnx /scripts/whisper/test.py #560

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

20246688
Copy link
Contributor

Because the model needs a certain length of input data to work correctly, just like we need a certain amount of time to do something. If the input data is too short, the model may feel unsatisfied, just like we only have a few minutes to complete a task, but actually need more time. So, we added some "virtual" data to make the model feel like it has enough time to handle the task.因为模型需要一定长度的输入数据才能正确工作,就好像我们需要一定长度的时间来做某些事情一样。如果输入数据太短,模型可能会感到不满足,就像是我们只有几分钟的时间来完成一项任务,但实际上需要更多的时间一样,所以我们添加了一些“虚拟”的数据,让模型觉得它有足够的时间来处理任务。

@csukuangfj
Copy link
Collaborator

Thank you for your first-time contribution!

@csukuangfj csukuangfj merged commit 0aa47e5 into k2-fsa:master Jan 29, 2024
8 of 11 checks passed
@20246688 20246688 changed the title Update test.py Update sherpa-onnx /scripts/whisper/test.py Jan 29, 2024
XiaYucca pushed a commit to XiaYucca/sherpa-onnx that referenced this pull request Jan 9, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants