v3.10.0
版本发布时间: 2023-03-24 17:45:33
OpenNMT/CTranslate2最新发布版本:v4.4.0(2024-09-09 17:21:54)
New features
- Add
Generator
optioninclude_prompt_in_result
(True
by default) - Add method
Whisper.encode
to only run the Whisper encoder - Add model properties
Whisper.device
andWhisper.device_index
Fixes and improvements
- Update the methods
Whisper.detect_language
,Whisper.generate
, andWhisper.align
to accept the encoder output - Fix a crash when running
Generator.forward
on GPU and the generator object is destroyed before the forward output - Fix parsing of Marian YAML vocabulary files containing "complex key mappings" and escaped sequences such as "\x84"