accent-id browser files: WavLM-base-plus L6 (fp32 ONNX), Silero VAD, reference set
Browse filesFiles changed (5)
- README.mdAdded+39
- refdb.binAdded+3
- refdb.jsonAdded
- silero_vad.onnxAdded+3
- wavlm_l6_pooled.onnxAdded+3
123456789101112131415161718192021222324252627282930313233343536373839---license: cc-by-nc-sa-4.0library_name: onnxpipeline_tag: audio-classificationtags: - accent - speech - wavlm - onnx - onnxruntime-web---
# accent-id (browser files)
The files that the [accent-id demo](https://alfonsosantiago.me/accentID/) downloads and runs in thevisitor's browser. The demo guesses a speaker's native language from about 30 seconds of English speech.No audio is sent anywhere. Everything runs in the browser with ONNX Runtime Web.
| File | What it is ||---|---|| `wavlm_l6_pooled.onnx` | [microsoft/wavlm-base-plus](https://huggingface.co/microsoft/wavlm-base-plus) cut after transformer layer 6, with mean and standard-deviation pooling over time. fp32, unchanged weights. Input: 16 kHz mono waveform `(1, n)`. Output: a 1,536-value vector. || `silero_vad.onnx` | Silero VAD, the ONNX build shipped with the `silero-vad` Python package (MIT). || `refdb.bin` | The 2,134 reference recordings of the Speech Accent Archive as z-scored, L2-normalised vectors (float32, row-major, 2,134 × 1,536). || `refdb.json` | Scaler, kNN heads, labels, speaker metadata, thresholds and front-end settings. |
**Checks.** In fp32, the ONNX encoder matches the PyTorch model on real speech, with a largest absolutedifference of 1e-6. Fed the same 16 kHz audio, the browser pipeline reproduces the Python pipeline'sspeech segments, vectors and scores, with probabilities within 1e-6.
**Accuracy.** Speaker-disjoint 5-fold cross-validation over the 29 native languages with at least 15speakers puts the correct language first for 61% of speakers (always guessing English: 36%). This is aresearch prototype.
**Licences.** The reference vectors and metadata derive from the Speech Accent Archive (Weinberger, S.2013, George Mason University, [accent.gmu.edu](https://accent.gmu.edu)), licensed CC BY-NC-SA 4.0. Thisrepository inherits that licence: non-commercial use, with attribution, under the same terms. The encoderweights come from microsoft/wavlm-base-plus. Its model card states no licence, and the[microsoft/unilm](https://github.com/microsoft/unilm) repository that released WavLM is MIT-licensed.Silero VAD is MIT-licensed.123version https://git-lfs.github.com/spec/v1oid sha256:88a676150f9be94f36395058220414efdbe6c546629512ed1f4f0d7afd194203size 13111296123version https://git-lfs.github.com/spec/v1oid sha256:f6f4407b41e05e277e7f5cfd9b9ae957b1dfe763c6076a934734c0b448e09b31size 2204103123version https://git-lfs.github.com/spec/v1oid sha256:6a7cf0d80f46e62415c03cddea21974629bff2e897ba579e7f2171f68f5f8ea6size 207640313README.mdAdded+39
refdb.binAdded+3
refdb.jsonAdded
silero_vad.onnxAdded+3
wavlm_l6_pooled.onnxAdded+3