Skip to content

Add Qwen3-ASR-0.6B WASM transcriber as alternative to Moonshine - #8

Open
ozankaraali wants to merge 1 commit into
masterfrom
claude/qwen3-asr-integration-hhH09
Open

Add Qwen3-ASR-0.6B WASM transcriber as alternative to Moonshine#8
ozankaraali wants to merge 1 commit into
masterfrom
claude/qwen3-asr-integration-hhH09

Conversation

@ozankaraali

Copy link
Copy Markdown
Owner

Compile qwen3-asr.cpp (GGML-based C++ implementation) to WebAssembly
via Emscripten, producing a 865KB WASM binary for browser inference.

New files:

  • lib/qwen3-asr-wasm.wasm: GGML inference engine compiled to WASM
  • lib/qwen3-asr-wasm.js: Emscripten JS glue code
  • lib/transcriber-qwen3.js: JS integration with same LimitrTranscriber
    API as the Moonshine transcriber (drop-in replacement)

Features:

  • IndexedDB caching of the GGUF model file after first download
  • Same capture worklet + latest-wins audio pipeline as Moonshine
  • WASM SIMD 128-bit for optimized tensor operations
  • 52-language multilingual ASR support

The GGUF model (~1.3GB Q8_0) must be generated from the official
Qwen/Qwen3-ASR-0.6B weights using qwen3-asr.cpp's convert script
and hosted externally. See comments in transcriber-qwen3.js.

https://claude.ai/code/session_01GxACrvA8d54L4W9ryYrfkf

Compile qwen3-asr.cpp (GGML-based C++ implementation) to WebAssembly
via Emscripten, producing a 865KB WASM binary for browser inference.

New files:
- lib/qwen3-asr-wasm.wasm: GGML inference engine compiled to WASM
- lib/qwen3-asr-wasm.js: Emscripten JS glue code
- lib/transcriber-qwen3.js: JS integration with same LimitrTranscriber
  API as the Moonshine transcriber (drop-in replacement)

Features:
- IndexedDB caching of the GGUF model file after first download
- Same capture worklet + latest-wins audio pipeline as Moonshine
- WASM SIMD 128-bit for optimized tensor operations
- 52-language multilingual ASR support

The GGUF model (~1.3GB Q8_0) must be generated from the official
Qwen/Qwen3-ASR-0.6B weights using qwen3-asr.cpp's convert script
and hosted externally. See comments in transcriber-qwen3.js.

https://claude.ai/code/session_01GxACrvA8d54L4W9ryYrfkf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants