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 :)

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment