Bleuscore

Latest version: v0.1.3

Safety actively analyzes 688705 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.3

Fixed
- `ngram` bench use counter lib's function rather than the truly used function.

Changed
- Use AHash in ngram module

0.1.2

Changed
- Implement ngram counts with a better way (33)
- Rust `compute_score` function signature changed to use references (34)
- Use rayon to run every prediction-references statistics calculation parallely (38)
- Use ahash for better performance (39)

0.1.1

Changed
- Upgrade `cached` version to `0.50.0`
Change crate-type to `["cdylib", "rlib"]`

0.1.0

- BLEU score calculation with `Tokenizer13a` as default tokenizer.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.