Instructions to use markusingvarsson/whisper-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use markusingvarsson/whisper-test with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'markusingvarsson/whisper-test');
Upload folder using huggingface_hub
Browse filesFiles changed (2)
- README.mdAdded+39
- onnx/decoder_model_merged.onnx+1-1
123456789101112131415161718192021222324252627282930313233343536373839---library_name: transformers.jstags: - transformers.js - onnx - whisperpipeline_tag: automatic-speech-recognition---
# Whisper Base ONNX
This is an ONNX conversion of OpenAI's [whisper-base](https://huggingface.co/openai/whisper-base) model, optimized for use with [Transformers.js](https://huggingface.co/docs/transformers.js).
## Model Details
- **Model Type:** Whisper (Encoder-Decoder)- **Task:** Automatic Speech Recognition- **Format:** ONNX (INT8 Quantized)- **Size:** ~75MB (quantized from ~300MB)
## Usage
```javascriptimport { pipeline } from '@xenova/transformers';
const transcriber = await pipeline('automatic-speech-recognition', 'markusingvarsson/whisper-test');const result = await transcriber('audio.wav');console.log(result.text);```
## Conversion Details
This model was converted using a custom conversion pipeline that:1. Downloads the original HuggingFace model2. Exports to ONNX format with KV caching3. Applies INT8 quantization for smaller size4. Adds Whisper-specific alignment heads for timestamp support
The quantized models are approximately 4x smaller than the original while maintaining accuracy.123version https://git-lfs.github.com/spec/v1oid sha256:fae23737d0ba6f3bd3d27658f3b6de17169014d11149cd033274e23c75a7e224size 79336381123version https://git-lfs.github.com/spec/v1oid sha256:9295b9fb09be07b70ac6c54a7cfc7bf172d88a40f735035b30fc5a0f374fa435size 79336381
README.mdAdded+39
onnx/decoder_model_merged.onnx+1-1