Ir para o conteúdo
ModelListadosExterno
Baixar

Messymashupclassifier

This model was developed to identify musical genres in complex, noisy audio environments. It was built as part of a deep learning project focused on the Messy Mashup challenge, where the goal was to classify genres...

TipoOtherModelo baseMIT/ast-finetuned-audioset-10-10-0.4593VersãoRevision 24755f4Cnota

Fonte do modelo

Tipo
Other
Tamanho do arquivo
329 MB
Modelo base
MIT/ast-finetuned-audioset-10-10-0.4593
Versão
vRevision 24755f4
Atualizado
12 de set. de 2026
Downloads
4
Fonte
Hugging Face

Descrição da fonte

Audio Spectrogram Transformer (AST) for Music Genre Classification

This model was developed to identify musical genres in complex, noisy audio environments. It was built as part of a deep learning project focused on the Messy Mashup challenge, where the goal was to classify genres even when multiple instrument tracks and environmental noises overlap.


Model Overview

This model is based on the Audio Spectrogram Transformer (AST). Unlike traditional models that look at audio as a simple sequence of sounds, the AST treats an audio spectrogram like a high-resolution image. It uses an Attention Mechanism to look at the entire 10-second clip at once, allowing it to pick up on both subtle instrument textures and overall rhythmic patterns.

Technical Details

  • Architecture: Audio Spectrogram Transformer (AST)
  • Sampling Rate: 16,000 Hz
  • Input Length: 10 Seconds
  • Feature Type: Log-Mel Spectrogram (128 Mel bands)
  • Performance: Achieved a 0.85 Macro F1-score on the evaluation set.

The Training Strategy: Cross-Song Recombination

The main reason this model performs well is a training technique called Cross-Song Recombination.

In most training setups, a model listens to a single song at a time. To make this model more resilient to noise and "messy" audio, we created synthetic mashups during training. We took individual "stems" (the separate recordings for bass, drums, vocals, and other instruments) from different songs within the same genre and mixed them together.

We also added environmental noise from the ESC-50 dataset. This forced the model to ignore the chaos and focus only on the core spectral patterns that define a genre—such as the specific frequency of a blues guitar or the tempo of a techno beat.


Supported Genres

The model is trained to classify audio into one of the following 10 categories:

  1. Blues
  2. Classical
  3. Country
  4. Disco
  5. Hiphop
  6. Jazz
  7. Metal
  8. Pop
  9. Reggae
  10. Rock

How to Use

Visit my huggingfaces spaces where you can check what genre your .wav file is!

click here!

Fontes

1 fonte
Hugging FacePrimárioVersão 24755f42882f487cde3e6a3232c4f036e4cf81ee
huggingface.co/afloven/messymashupclassifier/tree/24755f42882f487cde3e6a3232c4f036e4cf81ee

Verificado 29 de ago.

Artefatos de modelo

1 artefato

model.safetensors

safetensors · 329 MB · SHA-256 201551607fc4…b20a · Hugging Face

Download file

Trechos de fonte

2 trechos

--- license: mit language: - en metrics: - f1 - accuracy base_model: - MIT/ast-finetuned-audioset-10-10-0.4593 pipeline_tag: audio-classification tags: - music - audio-transformers --- # Audio Spectrogram Transformer (AST) for Music Genre Classification This model was developed to identify musical genres in complex, noisy audio environments. It was built as part of a deep learning project focused on the **Messy Mashup** challenge, where the goal was to classify genres even when multiple instrument tracks and environmental noises overlap. --- ## Model Overview This model is based on the **Audio Spectrogram Transformer (AST)**. Unlike traditional models that look at audio as a simple sequence of sounds, the AST treats an audio spectrogram like a high-resolution image. It uses an **Attention Mechanism** to look at the entire 10-second clip at once, allowing it to pick up on both subtle instrument textures and overall rhythmic patterns. ### Technical Details * **Architecture:** Audio Spectrogram Transformer (AST) * **Sampling Rate:** 16,000 Hz * **Input Length:** 10 Seconds * **Feature Type:** Log-Mel Spectrogram (128 Mel bands) * **Performance:** Achieved a **0.85 Macro F1-score** on the evaluation set. --- ## The Training Strategy: Cross-Song Recombination The main reason this model performs well is a training technique called **Cross-Song Recombination**. In most training setups, a model listens to a single song at a time. To make this model more resilient to noise and "messy" audio, we created synthetic mashups during training. We took individual "stems" (the separate recordings for bass, drums, vocals, and other instruments) from different songs within the same genre and mixed them together. We also added environmental noise from the ESC-50 dataset. This forced the model to ignore the chaos and focus only on the core spectral patterns that define a genre—such as the specific frequency of a blues guitar or the tempo of a techno beat. --- ## Supported Genres The model is trained to classify audio into one of the following 10 categories: 1. **Blues** 2. **Classical** 3. **Country** 4. **Disco** 5. **Hiphop** 6. **Jazz** 7. **Metal** 8. **Pop** 9. **Reggae** 10. **Rock** --- ## How to Use Visit my huggingfaces spaces where you can check what genre your .wav file is! [click here!](https://huggingface.co/spaces/afloven/messymashupclassificati...

Source context: 4 downloads · 1 likes · Pipeline audio-classification · Repo afloven/messymashupclassifier