Gemma 4 audio with MLX
Gemma 4 audio avec MLX
https://ift.tt/HlhJCXM
Merci à une astuce de Rahim Nathwani, voici une recette uv run pour transcrire un fichier audio sur macOS en utilisant le modèle Gemma 4 E2B de 10,28 Go avec MLX et mlx-vlm:
uv run –python 3.13 –with mlx_vlm –with torchvision –with gradio \
mlx_vlm.generate \
–model google/gemma-4-e2b-it \
–audio file.wav \
–prompt “Transcribe this audio” \
–max-tokens 500 \
–temperature 1.0
J’ai essayé sur ce fichier ce fichier .wav de 14 secondes et il a produit ce qui suit:
This front here is a quick voice memo. I want to try it out with MLX VLM. Just going to see if it can be transcribed by Gemma and how that works.
(Cela était censé être “This right here…” et “… how well that works” mais je peux comprendre pourquoi cela a été mal interprété comme “front” et “how that works”.)
Tags: uv, mlx, ai, gemma, llms, speech-to-text, python, generative_ai
HI-FI News
via Simon Willison’s Weblog https://ift.tt/es8cxt3
13 avril 2026 à 02:05 (AM)
April 13, 2026 at 02:05AM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT








