Downloads · 30 days
12
20% of all-time downloads
Hydramus/whisper-small-setswana-onnx
whisper-small-setswana-onnx is a automatic speech recognition model from Hydramus. Use it when you need speech turned into text. It is set up for transformers.js. The card lists the license as cc-by-nc-sa-4.0.
ONNX export (q8 / int8 quantized) of misterkissi/whisper-small-setswana, packaged for in-browser speech recognition with 🤗 Transformers.js.
Downloads · 30 days
12
20% of all-time downloads
All-time downloads
60
Public
Repo size
385 MB
Likes
0
Public
Click a slice to open those files.
.onnx293 MB · 98%
From the Hugging Face model README
ONNX export (q8 / int8 quantized) of misterkissi/whisper-small-setswana, packaged for in-browser speech recognition with 🤗 Transformers.js.
This lets a Setswana (Tswana) Whisper model run entirely client-side in the browser (WebGPU with WASM fallback) — no server, no audio leaving the device.
onnx/encoder_model_quantized.onnx (~88 MB)onnx/decoder_model_merged_quantized.onnx (~186 MB)import { pipeline } from '@huggingface/transformers';
const asr = await pipeline(
'automatic-speech-recognition',
'Hydramus/whisper-small-setswana-onnx',
{ device: 'webgpu', dtype: 'q8' }
);
const { text } = await asr(float32AudioAt16kHz);
The base fine-tune reports WER ≈ 0.48 with signs of overfitting, so transcripts are a useful rough draft for Setswana but not production-clean. Quantization to int8 preserves the original behaviour (verified: outputs match the PyTorch model up to minor rounding).