pjlab-songcomposer / songcomposer

103 stars 3 forks source link

MIDI file to melody #8

Open kily-wmz opened 1 month ago

kily-wmz commented 1 month ago

Hi! I would like to ask if you have written a function that can convert MIDI files into the tuple notation format used in your paper. I want to process a large number of MIDI files using your model to obtain the notation. If such a function exists, could you please share it? Thank you very much.

uu95 commented 1 month ago

@kily-wmz Hi, were you able to do it? If so, could you share the details? If not, can someone guide me on how to convert a MIDI file to the required notation?

kily-wmz commented 1 month ago

@uu95 Yep! I've already resolved this issue. If you need the detailed code, please leave your email address.

uu95 commented 1 month ago

@kily-wmz please share the code at: ubaid95@yu.ac.kr. Thank you

uu95 commented 3 weeks ago

@kily-wmz I wanted to confirm if you have already shared the code because I may have missed it.

Additionally, I tried to implement this on my own but can't seem to figure out why it always outputs in Chinese. Is there something I am missing here?

kily-wmz commented 3 weeks ago

@uu95 hi, I have sent the code to your email again, please check if you have received it.

uu95 commented 3 weeks ago

@kily-wmz Sorry for the delay. Yes, thank you, I received it and tried running it, but I can't figure out how to control the output language of the model as I need English only. I searched the Hugging Face multilingual documentation but still couldn't solve it. Is it related to the InternLM2 model, the tokenizer, or the format you used?

Mark12Ding commented 2 weeks ago

Thank you for your interest in our work. The language-specific prompt functionality is included in the newest version of our model. We will be releasing it soon, so please stay tuned.

Best, Shuangrui