YAMNet
MobileNet-based 521-class audio event classifier from AudioSet, with 1024-dim embeddings.
About
YAMNet is Google's lightweight answer to general audio classification: a MobileNetV1 backbone trained on AudioSet that outputs 521 per-class scores plus a 1024-dimensional embedding every ~0.48 seconds from 16 kHz mono audio. The ontology covers the instrument classes that matter for music work (electric/acoustic guitar, piano, violin, trumpet, saxophone, drums, synthesizer, and more), which is why it keeps showing up as a timbre classifier inside music tools.
It is distributed via TF Hub under Apache 2.0 and at 16 MB runs fine on modest hardware, including microcontrollers in quantized form. Google trimmed six classes from the original 527-class AudioSet ontology on fairness grounds (the gendered speech/singing labels, battle cry, and funny music). It is general audio rather than music-first, so dedicated music taggers beat it on music-specific benchmarks, but as a free, tiny, well-documented classifier it remains one of the most deployed audio models in existence.
Specs
Context window
Pricing
Free quota
API access
Weights
Released
Benchmarks
No music-specific published benchmark; evaluated by Google on AudioSet event classification; widely re-used but provider numbers only.
Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.
Use cases
Trust score — 7/10
Scored 7/10 (verified, metrics-v1). Evidence: official TF Hub release (tfhub.dev/google/yamnet) under Apache 2.0; documented 521-class ontology and feature pipeline in the TF models repo; broad independent reuse including embedded/edge ports. Strengths: tiny (16 MB), permissive license, stable and well-documented, runs anywhere. Docked for: (1) general-audio model, not music-specialized; (2) performance claims are Google's own with no independent music benchmark. License: Apache 2.0.
How the trust score is built
Full methodology →- Adoption · stars/downloads, log-scaled vs peers
- 8.0/10
- Maintenance · recency, releases, issue load
- 5.0/10
- Openness · license + docs
- 9.0/10
- Manual review · sanity read + red-flag check
- 7.0/10
- · Google: MobileNetV1, 521 AudioSet classes (6 dropped from 527 on fairness review), 1024-dim embeddings every ~0.48s, 16kHz mono
- · Distributed via TF Hub; ~16MB; quantized/ONNX community ports for edge use
- · General-audio, not music-specialized; performance numbers are Google's own with no independent music benchmark