ml-explore / ml-explore/mlx-examples
Whisper stutters
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Using
import mlx_whisper
speech_file = "stereo.mp3"
text = mlx_whisper.transcribe(speech_file,path_or_hf_repo=f"mlx-community/whisper-large-v3-mlx",verbose=False)["text"]
f=open("result.txt","w+")
f.write(text)
f.close()
I find that the output contains repeated phrases from time to time, enough to ruin the transcription. Eg:
... you used the address you put it in. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. One day ... he arrived at the station and he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. And he was in the village. or horses or whatever.
Maybe this is a feature of the underlying model?
Contributor guide
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 report using the Python snippet, the stereo.mp3 input, and the mlx-community/whisper-large-v3-mlx model. Start by checking whether mlx_whisper.transcribe consistently produces repeated phrases, then compare the behavior with the underlying model or another input. Done means identifying whether this is an mlx_whisper issue or expected model behavior, with a confirmed fix or documented diagnosis.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100