Skip to content

paraformer-en模型转译结果完全不对 #1886

Closed as not planned
Closed as not planned

Description

@LuffyGT

🐛 Bug

paraformer-en模型转译结果完全不对,中文模型没问题
image

Code sample

from funasr import AutoModel
model_en = AutoModel(model="paraformer-en", disable_log=True, disable_pbar=True)
model_en.generate(input="file.mp3", batch_size_s=300, is_final=True)

Expected behavior

fix 英文模型转译错误

Environment

  • Linux:
  • FunASR Version (1.30.0):
  • ModelScope Version (1.12.0):
  • PyTorch Version (e.g., 2.0.1):
  • How you installed funasr (pip, source):
  • Python version: 3.10.13
  • GPU (A6000)
  • CUDA/cuDNN version (cuda12.0):

Activity

  1. 283258771 commented on Jul 24, 2024

    @283258771

    你试试把batch size设为1...我发现batch size不同对结果影响极大

  2. farmer21cn commented on Aug 2, 2024

    @farmer21cn

    你好,你的这个问题解决了吗?我也碰到了这个问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions