Highlights
- Fixes 20 where the language was causing memory corruption.
- Supports for `whisper_state` initialization through `no_state` constructor:
python
m = whispercpp.Whisper.from_pretrained("tiny.en", no_state=True)
One can then initialize the state before inference:
python
m.context.init_state()
- Refactor Params with builder pattern (recommended):
python
p = whispercpp.Params.from_enum(whispercpp.api.SAMPLING_GREEDY).with_print_progress(False).with_language("de").build()
The previous behaviour of setting property are still allowed for backward compatibility, but now deprecated and will be removed in 0.1.0
- Added new functionalities by pajowu for converting token as bytes
python
api.Context.token_to_bytes(...)
- ARM wheels for M1 are now available.
- Removing llvm toolchain, and using GCC for compilation.
New Contributors
* pajowu made their first contribution in https://github.com/aarnphm/whispercpp/pull/52
**Full Changelog**: https://github.com/aarnphm/whispercpp/compare/v0.0.12...v0.0.15