Instructions to use KBLab/kb-whisper-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KBLab/kb-whisper-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="KBLab/kb-whisper-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("KBLab/kb-whisper-base") model = AutoModelForSpeechSeq2Seq.from_pretrained("KBLab/kb-whisper-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload fixed & optimized fp16/q4f16 ONNX weights (#1)
Browse files- Upload fixed & optimized fp16/q4f16 ONNX weights (f40232a27cdca208300810c04099282951858603)
Co-authored-by: Joshua <Xenova@users.noreply.huggingface.co>
Files changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:5360de02551bb03724833c1bfd2d4ccecb95714be13a20badf3fc0899592d898size 202176745123version https://git-lfs.github.com/spec/v1oid sha256:eef70e3c54b667a65bba47e0926ac64a4215226a3050e05e482f9768c220c232size 104471866
123version https://git-lfs.github.com/spec/v1oid sha256:f9a0c6f1d4323f5bc4ccdc3aad9014c38749d3cc3052637cf4218057a49aec00size 134365196123version https://git-lfs.github.com/spec/v1oid sha256:b3d50e22e897372b59530c060331f60c02f1c7fd5044304f2255d42225d4ccd1size 68294656
onnx/decoder_model_merged_fp16.onnx+2-2
onnx/decoder_model_merged_q4f16.onnx+2-2