Skip to content

Commit

Permalink
Bump version to 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Nov 3, 2021
1 parent 473a7c1 commit 0095ce0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@

### Fixes and improvements

## [v2.7.0](https://github.com/OpenNMT/CTranslate2/releases/tag/v2.7.0) (2021-11-03)

### Changes

* Inputs are now truncated after 1024 tokens by default (see translation option `max_input_length`)

### New features

* Add translation option `max_input_length` to limit the model input length
* Add translation option `repetition_penalty` to apply an exponential penalty on repeated sequences
* Add scoring option `with_tokens_score` to also output token-level scores when scoring a file

### Fixes and improvements

* Adapt the length penalty formula when using `normalize_scores` to match other implementations: the scores are divided by `pow(length, length_penalty)`
* Implement `LayerNorm` with a single CUDA kernel instead of 2
* Simplify the beam search implementation

## [v2.6.0](https://github.com/OpenNMT/CTranslate2/releases/tag/v2.6.0) (2021-10-15)

### New features
Expand Down
2 changes: 1 addition & 1 deletion python/ctranslate2/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Version information."""

__version__ = "2.6.0"
__version__ = "2.7.0"

0 comments on commit 0095ce0

Please sign in to comment.