FermionResearch/Phonon-2
- License
- cc-by-4.0
- Size
- 156 MB
- Revision
- main
Mirrored from FermionResearch/Phonon-2
All models by FermionResearch →Mirrored from FermionResearch/Phonon-2
All models by FermionResearch →Phonon-2 is the most accurate open speech recognition model for English under 900 MB. Across the Open ASR Leaderboard's seven English sets it averages 5.21 % word error, beating models multiple times its size in raw bytes. Set for set it holds the accuracy of its 2.5 GB full-precision teacher, reaching 100.8 % of the teacher's word accuracy on parliamentary speech and beating it on meetings, from a download 15 times smaller. Its encoder holds each weight at one of five learned levels in about 2.1 bits.
It transcribes an hour of audio in about 20 seconds on an M5 MacBook Air (174x realtime), at 143x on eight Zen 5 cores (16 vCPU) and at 6,680x on one H100 in batches of 128.
† Open ASR Leaderboard's published row; the other rows use its code on the full test sets. * Size from the parameter count at 16 bits.
Phonon-2 is the model inside Detta, the dictation app for the Mac.
On Apple silicon, from the command line:
--json adds a start and end time for every word. The command line and the server are documented at fermionresearch.com/docs/speech.
The same package runs on Linux (x86-64 and Arm) and Windows CPUs; the engines are at github.com/fermionresearch/phonon. With Docker, on a CPU or a GPU:
Based on parakeet-tdt-0.6b-v3 by NVIDIA; the tokenizer and output conventions (punctuation, casing, numerals) are the
original's. Licence CC-BY-4.0, same as the original; NOTICE lists the changes. The command line and this
repository's code are Apache 2.0.
pip install fermion-researchpip install mlx mlx-audio mlx-lm soundfile scipy zstandardphonon transcribe recording.wavfermion transcribe phonon-2 recording.wavdocker run --rm -v "$PWD":/audio -v phonon-cache:/home/phonon/.cache ghcr.io/fermionresearch/phonon-cpu:2.0.6 transcribe phonon-2 /audio/recording.wavdocker run --rm --gpus all -v "$PWD":/audio -v phonon-cache:/home/phonon/.cache ghcr.io/fermionresearch/phonon-cuda:1.0.5 transcribe phonon-2 /audio/recording.wav