Downloads · 30 days
0
HearTheSpecies/InsectNet-BE
InsectNet-BE is a audio classification model from HearTheSpecies. 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 cc-by-nc-sa-4.0.
Model that tags audio files as belonging to one or more of 29 (t.b.d. below) prevalent Orthoptera species within the Biodiversity Exploratories.
Downloads · 30 days
0
Access
Public
Updated Jul 21, 2025
Repo size
59.6 MB
Likes
0
Public
Click a slice to open those files.
.pt59.6 MB · 86%
From the Hugging Face model README
Model that tags audio files as belonging to one or more of 29 (t.b.d. below) prevalent Orthoptera species within the Biodiversity Exploratories.
To use the model, you have to install autrainer, e.g. via pip:
pip install autrainer
This model has been trained and tested with autrainer version 0.6.0.
For more information about autrainer, please refer to: https://autrainer.github.io/autrainer/index.html
The model can be applied on all wav files present in a folder (<data-root>) and stored in another folder (<output-root>):
autrainer inference hf:HearTheSpecies/InsectNet-BE -r <data-root> <output-root> -w 4 -s 4 -sr 96000
, where -w is the window size in seconds, -s is the step size in seconds and -sr is the sampling rate.
For other possible inference settings and all usable parameters, please have a look at the autrainer documentation.
However, the above settings are recommended.
TODO
TODO
The audio recordings were resampled to 96kHz, as we wanted to avoid losing too much frequency information from the species. Log-Mel spectrograms were then extracted using torchlibrosa.
The model has been trained for 30 epochs. At the end of each epoch, the model was evaluated on our validation set.
We release the state that achieved the best performance on this validation set.
All training hyperparameters can be found inside conf/config.yaml inside the model folder.
The performance on the test set reached a (macro) f1-score of 0.70.
TODO
Please acknowledge the work which produced the original model. We would appreciate an acknowledgment to autrainer.