Skip to main content

Mega-ASR MLX

End-to-end speech recognition on Apple Silicon, powered by MLX.

Mega-ASR is a fine-tuned Qwen3-ASR 1.7B model with merged LoRA weights, optimized for Chinese/English code-switching speech. The model runs entirely on-device via Apple MLX.

Install

pip install mega-asr-mlx

Quick Start

# Download model weights from HuggingFace (~4.4 GB)
huggingface-cli download voiceink/mega-asr-mlx --local-dir ~/.cache/voiceink/mega-asr-mlx

# Transcribe audio
mega-asr --audio speech.wav --language English

Or use as a Python library:

from mega_asr_mlx import MegaASRMLX

model = MegaASRMLX("~/.cache/voiceink/mega-asr-mlx")
text = model.transcribe("speech.wav", language="English")
print(text)

Model

Component Architecture Size
Audio Encoder Conv2D stem + 24-layer Transformer (1024-dim) 606 MB
Decoder Qwen3 28-layer (2048-dim, GQA 16/8) 3.8 GB
Router 4-layer Transformer audio quality classifier 2.2 MB
  • Languages: Chinese, English (auto-detect)
  • Input: 16 kHz mono WAV
  • Output: Plain text transcription

Requirements

  • macOS with Apple Silicon (M1/M2/M3/M4)
  • Python 3.10+
  • Dependencies: mlx, mlx-lm, numpy, scipy, soundfile, safetensors, transformers

License

MIT

Metadata

Release files for mega-asr-mlx 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mega-asr-mlx 0.1.0
File Size Uploaded Provenance Actions
mega_asr_mlx-0.1.0.tar.gz 15.1 kB Without provenance Details for mega_asr_mlx-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mega-asr-mlx 0.1.0
File Interpreter ABI Platform Actions
mega_asr_mlx-0.1.0-py3-none-any.whl Python 3 none any Details for mega_asr_mlx-0.1.0-py3-none-any.whl

Total release size: 32.2 kB

Release files / mega_asr_mlx-0.1.0.tar.gz

Download URL mega_asr_mlx-0.1.0.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
59a14e566d29d2e1450fe948c0e4c05d571ccf73d1cd17642e28736f2b58386d
BLAKE2b-256 checksum
How to use checksums
f3a1e9680684c92ca583767b875a6b5a2f57fac4f6b1d0f6a6baaed18afd9346
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.10

Release files / mega_asr_mlx-0.1.0-py3-none-any.whl

Download URL mega_asr_mlx-0.1.0-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c0a29d7ae6c953dc3b5022104f1b2518c516dee106144222f0339e4d2c3b17e
BLAKE2b-256 checksum
How to use checksums
59005ea05ca58401db99b399a57112972f974108109068d0979d83bd4b205cc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.10

Security for mega-asr-mlx 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page