Sponsored by
Crazyrouter
-The enterprise-grade, cost-effective AI API gateway that provides one API key to access 300+ AI models through OpenAI-compatible endpoints, with
Detects if audio contains music.
EER: 2.5–3%
| Based on
microsoft/wavlm-base-plus
the best threshold value
0.2442
Quick Start
git clone https://huggingface.co/MTUCI/MusicDetection
cd MusicDetection
pip install -r requirements.txt
Usage
from model import WavLMForMusicDetection
from safetensors import safe_open
model = WavLMForMusicDetection(batch_size=32, device='cuda')
with safe_open('music_detection.safetensors', framework="pt") as f:
model.load_state_dict({k: f.get_tensor(k) for k in f.keys()})
probs = model.predict_proba(['audio1.mp3', 'audio2.wav']) # → tensor([0.88, 0.11])
Runs of MTUCI MusicDetection on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About MusicDetection huggingface.co Model
MusicDetection huggingface.co is an AI model on huggingface.co that provides MusicDetection's model effect (), which can be used instantly with this MTUCI MusicDetection model. huggingface.co supports a free trial of the MusicDetection model, and also provides paid use of the MusicDetection. Support call MusicDetection model through api, including Node.js, Python, http.
MusicDetection huggingface.co is an online trial and call api platform, which integrates MusicDetection's modeling effects, including api services, and provides a free online trial of MusicDetection, you can try MusicDetection online for free by clicking the link below.
MTUCI MusicDetection online free url in huggingface.co:
MusicDetection is an open source model from GitHub that offers a free installation service, and any user can find MusicDetection on GitHub to install. At the same time, huggingface.co provides the effect of MusicDetection install, users can directly use MusicDetection installed effect in huggingface.co for debugging and trial. It also supports api for free installation.