The model is now added to WebAI.js. Test it in your browser with no code required.
#6
by
AxolsWebAI
- opened
Hi there,
We've packaged this model inside our open-source library WebAI.js, so you can now integrate it into your project with just a few lines of code:
import { WebAI } from '@axols/webai-js';
const webai = await WebAI.create({
modelId: "whisper-base",
dev: true
});
await webai.init({
mode: "webai",
precision: "q8",
device: "wasm",
});
const generation = await webai.generate({
userInput: {
audio_blob_url: "blob:https://www.webai-js.com/c2c25b40-2fc5-4bce-a540-099098ee0906"
},
modelConfig: {
language: "en",
return_timestamps: true,
condition_on_prev_tokens: true
},
generateConfig: {
chunk_length_s: 30
}
});
π¬ Try Whisper-Base Instantly (No Code Required)
You can benchmark and test the model directly here:
https://www.webai-js.com/models/whisper-base/playground
π Full API Reference
Detailed parameter explanations can be found here:
https://www.webai-js.com/models/whisper-base/api-reference/v1/class-api/methods/webai-generate
π§‘ Fully Open Source
WebAI.js is completely open source and free to use.
Star or contribute on GitHub:
https://github.com/axolsai/webai-js
Thanks
AxolsWebAI
changed discussion title from
The model is now live on WebAI.js. Test it in your browser with no code required.
to The model is now added to WebAI.js. Test it in your browser with no code required.

