Ktrain

Latest version: v0.41.4

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

Scan your dependencies

Page 4 of 29

0.35.0

new:
- Support for generative AI with few-shot and zero-shot prompting using a model that can run on your own machine.

changed
- N/A

fixed:
- N/A

0.34.0

new:
- Support for LexRank summarization

changed
- N/A

fixed:
- Bug fix in `dataset` module (486)

0.33.4

new:
- N/A

changed
- Added `verbose` parameter to `predict*` methods in all `Predictor` classes

fixed:
- N/A

0.33.3

new:
- N/A

changed
- Added `exclude_unigrams` argument to `text.kw` module and support unigram extraction when `noun_phrases` is selected

fixed:
- explicitly set `num_beams` and `early_stopping` for `generate` in `ktrain.text.translation.core` to prevent errors in `transformers>=4.26.0`

0.33.2

new:
- N/A

changed
- N/A

fixed:
- fixed typo in `translation` module (479)
- removed superfluous warning when inspecting `transformer` model signature

0.33.1

new:
- N/A

changed
- N/A

fixed:
- Resolved bug that causes problems when loading PyTorch models (478)

Page 4 of 29

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.