Is there a possibility of using this model in Python?

#11
by Muhammadreza - opened

I'm just looking forward for using this model in a python code. Is it possible?

You can find usage instructions here: https://huggingface.co/facebook/musicgen-small

@Xenova Thanks, but I just wanted to use ONNX version outside of browser. Like an API or so.

Then yes, it should be possible, but you'd need to re-implement a lot of the generation functions. Feel free to take my JavaScript version as inspiration.

@fxmarty might also be working on a python version with Optimum.

@Muhammadreza wouldn't you just use the facebook version of the model via python? ( https://huggingface.co/facebook/musicgen-small )

Sign up or log in to comment