owensong/Inflect-Micro-v2's ONNX export (owensong/Inflect-Micro-v2-ONNX) with its weights quantized for running in a web browser with ONNX Runtime Web's WebGPU backend, as used by Quick Inference.
onnx/duration.onnx and onnx/decode.onnx quantized without calibration (round to nearest, symmetric, blocks of
32): matrix multiplications to 4-bit MatMulNBits, embedding tables to GatherBlockQuantized, convolution weights
to blocked int4 DequantizeLinear (opset 21). Activations stay float32. 38 MB → 6.5 MB.
These are modified files: their outputs are close to, but not identical to, the original model's. On eight test sentences, Whisper small.en heard the quantized model with a 10.2% word error rate (the original: 13.6%).
As the original's onnx/inference_onnx.py: the duration graph, then the decoder with Gaussian latent noise; inputs,
outputs and the text front end are unchanged.
Apache 2.0, as the original (LICENSE; THIRD_PARTY_NOTICES.md as the original ships it).
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo danyalmalik/Inflect-Micro-v2-ONNX-WebGPU ./model-folderonnx/decode.onnx 5 MiBonnx/duration.onnx 1 MiBowensong/Inflect-Micro-v2