Simple and Effective Zero-shot Cross-lingual Phoneme Recognition
Paper • 2109.11680 • Published
An ONNX export of facebook/wav2vec2-lv-60-espeak-cv-ft
(Apache-2.0) — a wav2vec 2.0 CTC model fine-tuned to emit espeak IPA phonemes —
for use as the acoustic model in sadda's
phone-level forced aligner (sadda.align).
This is a format conversion, not a retrained model. The weights are Meta's,
unchanged — only exported to ONNX (torch.onnx, opset 17) and cast to fp16.
Reproducible recipe: tools/align/export_onnx.py.
model.onnx — fp16, single file. Input: mono 16 kHz waveform (1, N), zero-mean/unit-variance normalized; output: (1, T, 392) CTC logits at 50 fps.vocab.json — the 392-token espeak-IPA vocabulary (CTC blank = <pad> = 0).The fp32 ONNX matches the PyTorch model to max|Δlogit| = 8.4e-4; the hosted
fp16 produces identical word/phone boundaries to fp32 on test audio.
import sadda
model = sadda.align.Wav2Vec2EspeakModel.from_pretrained("sadda-speech/wav2vec2-espeak-ctc")
alignment = sadda.align.align(audio, 16000, transcript, model=model)
Apache-2.0, inherited from the source model; Meta's copyright/attribution retained.
Base model
facebook/wav2vec2-lv-60-espeak-cv-ft