Downloads · 30 days
0
Kirandwip/Genre_prediction
Genre_prediction is a audio classification model from Kirandwip. Use it for the audio classification task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Music genre classifier trained on the Messy Mashup competition dataset.
Downloads · 30 days
0
Access
Public
Updated Apr 12, 2026
Repo size
43.4 MB
Likes
0
Public
Click a slice to open those files.
.pth43.4 MB · 100%
From the Hugging Face model README
Music genre classifier trained on the Messy Mashup competition dataset.
blues, classical, country, disco, hiphop, jazz, metal, pop, reggae, rock
EfficientNet-B3 fine-tuned on mel spectrograms (128 mel bins, 5s clips, 22050 Hz).
import torch
from torchvision import models
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(repo_id="Kirandwip/Genre_prediction", filename="perfection_model_99.pth")
model = models.efficientnet_b3(weights=None)
model.classifier[1] = torch.nn.Linear(model.classifier[1].in_features, 10)
model.load_state_dict(torch.load(model_path, map_location="cpu"))
model.eval()