Downloads · 30 days
0
beshkenadze/mms-lid-256-mlx
mms-lid-256-mlx is a audio classification model from beshkenadze. Use it for the audio classification task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as cc-by-nc-4.0.
Meta's MMS-LID-256 language identification model running on MLX (Apple Silicon Metal GPU).
Downloads · 30 days
0
Access
Public
Updated Feb 28, 2026
Repo size
—
Likes
1
Public
Click a slice to open those files.
.md2 KB · 57%
From the Hugging Face model README
Meta's MMS-LID-256 language identification model running on MLX (Apple Silicon Metal GPU).
Identifies 256 languages from raw audio. Uses weights directly from facebook/mms-lid-256 — no conversion needed.
| Framework | Latency | Russian | English |
|---|---|---|---|
Python MLX (with mx.compile()) | 267ms | 98.8% | 99.8% |
Swift MLX (with compile()) | 268ms | 97.3% | 99.7% |
| CoreML GPU | 250ms | 89.1% | 99.8% |
# Clone the benchmark repo
git clone https://github.com/beshkenadze/lid-bench
cd lid-bench/mlx
# Setup
uv venv && uv pip install mlx numpy soundfile safetensors huggingface_hub
# Download weights (from original facebook repo)
huggingface-cli download facebook/mms-lid-256 --include "model.safetensors" "config.json"
# Run
python mms_lid_256.py path/to/audio.wav --benchmark
Full implementation: github.com/beshkenadze/lid-bench
facebook/mms-lid-256 HF cache — no separate conversion step.cpuAndGPU) only