ONNX

PyTorch Files

#30
by Ubikare - opened

Hello,

Is there any way to get language models in pytorch format, i have tried several conversion tools but i get error conversion model not supported?

I am using piper-sample-generator for openwakeword traing and the script only supports .pt files

Regards

Rhasspy org

Yes, the .pt files need to come from the original model checkpoints: https://huggingface.co/datasets/rhasspy/piper-checkpoints/tree/main
The export_generator.py script is what you need to convert a checkpoint into the .pt file: https://github.com/rhasspy/piper/blob/master/src/python/piper_train/export_generator.py
I've already converted checkpoints for English, German, French, and Dutch here: https://github.com/rhasspy/piper-sample-generator/releases/tag/v2.0.0
If you need help converting a different model, let me know and I might be able to help :)

Yes, the .pt files need to come from the original model checkpoints: https://huggingface.co/datasets/rhasspy/piper-checkpoints/tree/main
The export_generator.py script is what you need to convert a checkpoint into the .pt file: https://github.com/rhasspy/piper/blob/master/src/python/piper_train/export_generator.py
I've already converted checkpoints for English, German, French, and Dutch here: https://github.com/rhasspy/piper-sample-generator/releases/tag/v2.0.0
If you need help converting a different model, let me know and I might be able to help :)

Hi, tried to export ru_RU model to train new model for openwakeword.
There are two fileds in you notebook in the "|Voice package generation section": model_id, config_id
What ids does it expected? I tried direct URL to huggingface and other things, but it does not work...

Sign up or log in to comment