Skip to content

The forro-ft1 model

forro-ft1 is Beat This! (the final0 checkpoint) fine-tuned on forró, so that it counts forró, baião and xote at the tempo DJs dance to instead of following the triangle to double tempo.

Download Zenodo, DOI 10.5281/zenodo.24629152 (direct file)
File forro-ft1.ckpt, 81 MB (20.3 M parameters, PyTorch Lightning checkpoint: weights and hyperparameters, no optimizer state)
SHA-256 455c7f4e204d8bf89609136c0187a8a82968347bb4d0462bbd2dc708384ecbcb
Base model Beat This! final0 (Foscarin, Schlüter, Widmer, ISMIR 2024)
Training labels 75 forró, baião and xote recordings, beats labelled by ear: 47 train, 9 validation, 19 test. Labels are taps, listened-and-verified tracker beats, and verified halved xote grids
Licence MIT, like the Beat This! code and weights

Results on the 19 held-out test tracks

Model Beat F-measure Tempo level right
Beat This! final0 0.912 15 of 19
forro-ft1 0.945 19 of 19

Slowed down to 70 % speed, final0 gets the tempo level right on 3 of 19 tracks and forro-ft1 on 15: the fine-tuned model counts tracks from about 60 to 135 BPM at the slow, danced level.

Known limits

  • On a library of 963 Spotify forró tracks, the model still switches counting level for 4 s or more in 297 tracks (usually doubling for a few bars). The grid builder in forro-beats repairs most of these when it writes grids.
  • In xote the first beat of the bar is ambiguous even for the person who labelled it, so downbeats in xote are not reliable.
  • The test set is small (19 tracks) and from one person's library; seed variance was not measured.

Use

curl -L -o forro-ft1.ckpt "https://zenodo.org/records/24629152/files/forro-ft1.ckpt?download=1"
sha256sum forro-ft1.ckpt   # compare with the SHA-256 above
forro analyze --with beats --model forro-ft1.ckpt FILES...
forro-beats mixxx --model forro-ft1.ckpt        # write grids into a Mixxx library

or directly with Beat This!: Audio2Beats(checkpoint_path="forro-ft1.ckpt", device="cpu", dbn=False).

Training data

The recordings are commercial releases and are not distributed. Like Beat This! itself, the model was trained on copyrighted audio; assess whether that matters for your use.