[Bug] Model generates meaningless gibberish/hallucinations at the end of audio (EOS/Stopping Criterion Failure in Vietnamese)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 37.8k
- Forks
- 4.3k
- Avg merge
- 7m
- Merged PRs (30d)
- 1
Description
Description
When generating Vietnamese speech using openbmb/VoxCPM2 (running with nano-vllm engine), the model occasionally fails to terminate audio generation after fully speaking the input text. Instead, it continues to generate random, meaningless syllables (hallucinations/gibberish) for several seconds before stopping.
This appears to be an End-of-Sequence (EOS) token prediction failure or a stopping criterion threshold issue during the autoregressive decoding phase.
Environment & Model Info
- Model:
openbmb/VoxCPM2 - Engine:
nano-vllm(CTranslate2 optimized runner) - Language: Vietnamese (
vi)
Steps to Reproduce
1. Input Text (Vietnamese Script)
Khi chúng ta uống trà xanh hay nước nụ vối, các hoạt chất này sẽ tác động làm ngắt bớt tín hiệu hoạt động của trạm kiểm soát đó, từ đó làm giảm tốc độ hình thành các đốm sậm màu trên da từ tận gốc rễ.
2. Actual Audio Output Details
- Expected Duration: ~11.0 seconds
- Actual Output Duration: 14.59 seconds
- Whisper QA Transcription of the output audio:
"Khi chúng ta uống trà xanh hay nước nụ vối, các hoạt chất này sẽ tác động làm ngắt bớt tín hiệu hoạt động của trạm kiểm soát đó, từ đó làm giảm tốc độ hình thành các đốm sậm màu trên da từ tận gốc rễ. Mạch tánh hạm mừa trên bệnh triệu đáng lạng ngang dùng cộm mén lạng mà tiến."
(Notice the highlighted gibberish generated at the end: "Mạch tánh hạm mừa trên bệnh triệu đáng lạng ngang dùng cộm mén lạng mà tiến." which is completely meaningless and not in the original script.)
Expected Behavior
The model should emit the EOS token and terminate the decoding loop immediately after speaking the last word of the script ("gốc rễ") around the 11.0s mark.
Actual Behavior
The model correctly speaks the entire sentence but continues generating phonetic noise/gibberish for an extra 3.5 seconds before ending the file.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Vietnamese example with openbmb/VoxCPM2 using the nano-vllm engine and compare the expected and actual durations. Then trace the autoregressive decoding and EOS/stopping-criterion handling in the nano-vllm or CTranslate2 runner. Done means generation stops near 11 seconds after “gốc rễ” without the reported gibberish.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- audio-video-rtc, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100