Skip to content

语音中有重复的语句会导致识别的内容缺失 #25

@badousoft

Description

@badousoft

System Info / 系統信息

python -V
Python 3.10.19

pip show torchaudio
Name: torchaudio
Version: 2.9.1
Summary: An audio package for PyTorch
Home-page: https://github.com/pytorch/audio
Author: Soumith Chintala, David Pollack, Sean Naren, Peter Goldsborough, Moto Hira, Caroline Chen, Jeff Hwang, Zhaoheng Ni, Xiaohui Zhang
Author-email: [email protected]
License:
Location: /home/servers/.conda/envs/glmasr/lib/python3.10/site-packages
Requires: torch
Required-by:

pip show transformers
Name: transformers
Version: 4.51.3
Summary: State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
Home-page: https://github.com/huggingface/transformers
Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors)
Author-email: [email protected]
License: Apache 2.0 License
Location: /home/servers/.conda/envs/glmasr/lib/python3.10/site-packages
Requires: filelock, huggingface-hub, numpy, packaging, pyyaml, regex, requests, safetensors, tokenizers, tqdm
Required-by:

nvidia-smi
Wed Dec 24 10:16:21 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 575.57.08 Driver Version: 575.57.08 CUDA Version: 12.9 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 2080 Ti Off | 00000000:01:00.0 Off | N/A |
| 18% 27C P8 18W / 250W | 0MiB / 22528MiB | 0% Default |
| | | N/A |

Who can help? / 谁可以帮助到您?

No response

Information / 问题信息

  • The official example scripts / 官方的示例脚本
  • My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程

1.mp3
python inference.py --checkpoint_dir ./GLM-ASR-Nano-2512 --audio 1.mp3 --max_new_tokens 1024
You are using a model of type glmasr to instantiate a model of type Glmasr. This is not supported for all configurations of models and can yield errors.

个人养老金政策解读及好处,随着人口老龄化的加剧,养老问题成为了社会关注的焦点。为此,国家推出了个人养老金政策,旨在为人们提供更加充足的养老保障。那么这个政策对我们个人有哪些好处呢?让我们一起来了解一下吧。一、多一份养老保障,个人养老金是国在基本养老保险的基础上,为我们建立的一种补充养老的制度。通过参加个人养老金,我们可以享受到多方面的好处。如果你还没有了解过个人养老金政策,不妨去了解一下,为自己的未来做好规划。

Expected behavior / 期待表现

完全识别

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions