nico-martin/litertjs-whisper

4

stars

2

commits

TypeScript

primary language

Jul 19, 2026

updated

README

LiteRT.js Whisper

Browser-based Whisper benchmark using LiteRT.js 2.5.3 and Transformers.js with onnx-community/whisper-base. Both engines run float32 English transcription on WebGPU. The primary action transcribes once with LiteRT.js. The comparison runs 20 sequential samples per engine and compares their median inference times. Model download and initialization are not timed.

pnpm install
pnpm dev

Open https://localhost:5176. The LiteRT model is downloaded from Hugging Face and stored in the browser Cache Storage. Transformers.js downloads and caches the ONNX model independently.

Contributors

nico-martin

2 commits

nico-martin/litertjs-whisper

4

stars

2

commits

TypeScript

primary language

Jul 19, 2026

updated

README

LiteRT.js Whisper

Browser-based Whisper benchmark using LiteRT.js 2.5.3 and Transformers.js with onnx-community/whisper-base. Both engines run float32 English transcription on WebGPU. The primary action transcribes once with LiteRT.js. The comparison runs 20 sequential samples per engine and compares their median inference times. Model download and initialization are not timed.

pnpm install
pnpm dev

Open https://localhost:5176. The LiteRT model is downloaded from Hugging Face and stored in the browser Cache Storage. Transformers.js downloads and caches the ONNX model independently.

Contributors

nico-martin

2 commits

Languages

TypeScript

92.8%

CSS

3.8%

JavaScript

2.2%

HTML

1.3%