AITagger
AITagger is an application that sets music/mp3 i3 tags on files based on thair file names. This a application will take a folder of music files like
- Domination by APOCALYPTICA feat Dead Soul Tirbe.opus
- Apocalyptica - 04 Nothing Else Matters.mp3
and so on and trys to extract what is the album (if possible), the titel and the artist.
The core of this application is a Transformer model based on GPT2 architecture.
Building
Requirements
- wget in $PATH
- llamacpp
- tagparser
- a c++20 compiler
- a ROCM or CUDA install and a compatable gpu with at least 4GB vram is recommended
Procedure
- clone this repo and change the working directory to where you cloned it
mkdir build; cd build
cmake .. ; make
bash get-models.sh
- this will download the models and place them in the ./net directory
Usage
- Perpare a directory with the music files you would like to tag
- run aimusictagger with your desired paramters on the directory
- see --help for a full set of flags
- you must select network weights to use two options are available
- tags-gpt2-medium.gguf is more agressive at guessing tags not apperant in the file names
- this will likely only work well if the model has seen the title in question before during training
- tags-gpt2-medium-v2.gguf is less agressive and gennerally what should probubly be used
- tags-gpt2-medium.gguf is more agressive at guessing tags not apperant in the file names
- the tagged files will be placed where you specify with
--out
Description
Languages
C++
92.3%
C
7.3%
CMake
0.3%