omniASR CTC 300M v2, ONNX int8
Meta's omnilingual ASR CTC model (300M parameters, v2), converted to ONNX and quantized to int8. Orbit uses it for forced alignment: it places each word of a known transcript on the sound that carries it.
- Original model and license: Meta Platforms, Inc., Apache-2.0 (https://github.com/facebookresearch/omnilingual-asr). See LICENSE.
- Conversion: the fp32 ONNX export of the v2 checkpoint, then ONNX Runtime
dynamic quantization of the MatMul weights only:
quantize_dynamic(fp32, int8, weight_type=QuantType.QUInt8, op_types_to_quantize=["MatMul"]). - Input
x: float32[1, samples], 16 kHz mono, normalized to zero mean and unit variance. Outputlogits:[1, frames, 10288], one frame per 20 ms. tokens.txt: one<token> <id>per line;<s>(id 0) is the CTC blank.
SHA-256
- model.int8.onnx: e3042b2f3b3ef0af2211bf99d2b4bf94a21f5ac0e9898827e7dd6d003a860e91
- tokens.txt: 7d99997ef207ff14c2cfe825f2aa037528ea250113cc3c6392bfe49326884ba6