flozi00/asr-german-mixed
Viewer • Updated • 980k • 715 • 9
How to use mlx-community/whisper-large-v3-turbo-german-f16-q4 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir whisper-large-v3-turbo-german-f16-q4 mlx-community/whisper-large-v3-turbo-german-f16-q4
This model was converted to MLX format from primeline/whisper-large-v3-turbo-german and is quantized to 4bit, float16.
made with a custom script for converting safetensor whisper models.
there is also an unquantized float16 version
git clone https://github.com/ml-explore/mlx-examples.git
cd mlx-examples/whisper/
pip install -r requirements.txt
import mlx_whisper
result = mlx_whisper.transcribe("test.mp3", path_or_hf_repo="mlx-community/whisper-large-v3-turbo-german-f16")
print(result)
This model was converted to MLX format.
git clone https://github.com/ml-explore/mlx-examples.git
cd mlx-examples/whisper/
pip install -r requirements.txt
# Example usage
import mlx_whisper
result = mlx_whisper.transcribe("test.mp3", path_or_hf_repo="whisper-large-v3-turbo-german-f16-q4")
print(result)
Base model
primeline/whisper-large-v3-german