Gemma 4 audio with MLX
Original excerpt
Sponsored by: Honeycomb — AI agents behave unpredictably. Get the context you need to debug what actually happened. Read the blog
Thanks to a tip from Rahim Nathwani, here's a uv run recipe for transcribing an audio file on macOS using the 10.28 GB Gemma 4 E2B model with MLX and 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 ``
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.
(That was supposed to be "This right here..." and…
Frequently asked questions
What is "Gemma 4 audio with MLX" about?
This article by Simon Willison is part of the Simon Willison reading list on Burn 451, covering llm blog.
Who wrote "Gemma 4 audio with MLX"?
This piece is part of the Simon Willison vault on Burn 451, covering llm blog. The original author is attributed at the source link.
How can I read more content from Simon Willison?
The complete Simon Willison reading list is available at burn451.cloud/vault/simon-willison. Each article includes an AI-generated summary so you can decide what to read in seconds. Connect the Burn 451 MCP server to Claude or Cursor to query all Simon Willison articles as live AI context.
Can I use "Gemma 4 audio with MLX" with Claude or Cursor?
Yes. Install the burn-mcp-server npm package and connect it to Claude Desktop, Claude Code, or Cursor. Once connected, your AI can search and reference this article and the full Simon Willison vault in real time — no manual copy-paste required.
16 more articles in this vault.
Import the full Simon Willison vault to Burn 451 and build your own knowledge base.
Content attributed to the original author. Burn 451 curates publicly available writing as a reading index. For removal requests, contact @hawking520.