v0.0.15: Performance and bug fixes!
Highlights
- Fixes #20 where the language was causing memory corruption.
- Supports for
whisper_state
initialization throughno_state
constructor:
m = whispercpp.Whisper.from_pretrained("tiny.en", no_state=True)
One can then initialize the state before inference:
m.context.init_state()
- Refactor Params with builder pattern (recommended):
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
api.Context.token_to_bytes(...)
- ARM wheels for M1 are now available.
- Removing llvm toolchain, and using GCC for compilation.
New Contributors
Full Changelog: v0.0.12...v0.0.15