--- language: - en tags: - audio - automatic-speech-recognition - hf-asr-leaderboard - mlx - speech-to-text - speech-to-speech - speech - speech generation - stt widget: - example_title: Librispeech sample 1 src: https://cdn-media.huggingface.co/speech_samples/sample1.flac - example_title: Librispeech sample 2 src: https://cdn-media.huggingface.co/speech_samples/sample2.flac pipeline_tag: automatic-speech-recognition license: apache-2.0 library_name: mlx-audio model-index: - name: whisper-tiny.en results: - task: type: automatic-speech-recognition name: Automatic Speech Recognition dataset: name: LibriSpeech (clean) type: librispeech_asr config: clean split: test args: language: en metrics: - type: wer value: 8.4372112320138 name: Test WER - task: type: automatic-speech-recognition name: Automatic Speech Recognition dataset: name: LibriSpeech (other) type: librispeech_asr config: other split: test args: language: en metrics: - type: wer value: 14.857607503498356 name: Test WER --- # mlx-community/whisper-tiny.en-asr-4bit This model was converted to MLX format from [`openai/whisper-tiny.en`](https://huggingface.co/openai/whisper-tiny.en) using mlx-audio version **0.2.10**. Refer to the [original model card](https://huggingface.co/openai/whisper-tiny.en) for more details on the model. ## Use with mlx-audio ```bash pip install -U mlx-audio ``` ### CLI Example: ```bash python -m mlx_audio.stt.generate --model mlx-community/whisper-tiny.en-asr-4bit --audio "audio.wav" ``` ### Python Example: ```python from mlx_audio.stt.utils import load_model from mlx_audio.stt.generate import generate_transcription model = load_model("mlx-community/whisper-tiny.en-asr-4bit") transcription = generate_transcription( model=model, audio_path="path_to_audio.wav", output_path="path_to_output.txt", format="txt", verbose=True, ) print(transcription.text) ```