2 ms·
This is a barebones demo showing Transformers.js working with Whisper in the browser for realtime audio to text transcription. It uses [whisper-base](https://h
by codybontecou 2y ago
This is a barebones demo showing Transformers.js working with Whisper in the browser for realtime audio to text transcription.
It uses [whisper-base](https://huggingface.co/onnx-community/whisper-base https://huggingface.co/onnx-community/whisper-base), a 290mb model, and is able to transcribe audio in all of the languages listed [here](https://github.com/openai/whisper/blob/248b6cb124225dd263bb9bd32d060b6517e067f8/whisper/tokenizer.py#L79 https://github.com/openai/whisper/blob/248b6cb124225dd263bb9...).
It can be ran entirely offline once the model is loaded in.

This code is deployed here - https://nuxt-transformersjs-realtime-transcription.vercel.app/ https://nuxt-transformersjs-realtime-transcription.vercel.ap...