A collection of PyTorch-based models converted to the ONNX format, with ready-to-use ONNX Runtime inference scripts. All generated .onnx models stored in Hugging Face ONNX Community
This project aims to make it easier to:
-
Convert PyTorch models to ONNX format
-
Run efficient inference using ONNX Runtime
-
Learn by example, with minimal boilerplate
π Project Structure
βββ README.md
βββ model_name_1/
β βββ model_name_1_to_onnx_conversion_script.py # Script to export PyTorch model to ONNX
β βββ model_name_1_inference_script.py # Script to run inference with ONNX Runtime
βββ model_name_2/
β βββ model_name_2_to_onnx_conversion_script.py
β βββ model_name_2_inference_script.py
βββ ...
π Getting Started
git clone https://github.com/<your-username>/onnx_conversion_scripts.git
cd <your-repo>
You'll need Python 3.9+ and pip:
See dependencies and versions info in scripts respectively
π Supported Models
| Model Name | Source | Notes | Original repo | ONNX repo |
|---|---|---|---|---|
| Chatterbox | resemble-ai/chatterbox-tts | Text to Speech, Speech to Speech | GitHub Link | HF Link |
| Chatterbox Multilingual | resemble-ai/chatterbox-tts | Text to Speech, Speech to Speech | GitHub Link | HF Link |
| Perth Watermarker | resemble-ai/Perth | Audio Watermarking | GitHub Link | HF Link |
| ... | ... | ... | ... | ... |
(More models coming soon!)
π License
This project is licensed under the MIT License