Skip to content

CTranslate2 2.6.0

Compare
Choose a tag to compare
@guillaumekln guillaumekln released this 15 Oct 14:27
· 772 commits to master since this release

New features

  • Build wheels for Python 3.10
  • Accept passing the vocabulary as a opennmt.data.Vocab object or a list of tokens in the OpenNMT-tf converter

Fixes and improvements

  • Fix segmentation fault in greedy search when normalize_scores is enabled but not return_scores
  • Fix segmentation fault when min_decoding_length and max_decoding_length are both set to 0
  • Fix segmentation fault when sampling_topk is larger than the vocabulary size
  • Fix incorrect score normalization in greedy search when max_decoding_length is reached
  • Fix incorrect score normalization in the return_alternatives translation mode
  • Improve error checking when reading the binary model file
  • Apply LogSoftMax in-place during decoding and scoring