Ktrain

Latest version: v0.41.3

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

Scan your dependencies

Page 14 of 29

0.20.2

New:
- N/A

Changed
- N/A

Fixed:
- Always use `*Auto*` classes to load `transformers` models to prevent loading errors

0.20.1

New:
- N/A

Changed
- N/A

Fixed:
- Added missing `torch.no_grad()` scope in `text.translation` and `text.summarization` modules

0.20.0

New:
- added `nli_template` parameter to `ZeroShotClassifier.predict` to allow versatility in the kinds of labels that
can be predicted
- efficiency improvements to `ZeroShotClassifier.predict` that allow faster predictions on large sequences
of documents and a large numer of labels to predict
- added 'multilabel` parameter to `ZeroShotClassifier.predict`
- added `labels` parameter to `ZeroShotClassifer.predict`, an alias to `topic_strings` parameter

Changed
- N/A

Fixed:
- Allow variations on `accuracy` metric such as `binary_accuracy` when inpecting model in `is_classifier`

0.19.9

New:
- N/A

Changed
- N/A

Fixed:
- In `texts_from_array`, check `class_names` only after preprocessing before printing classification vs. regression status.

0.19.8

New:
- N/A

Changed
- N/A

Fixed:
- In `TextPreprocessor` instances, correctly reset `class_names` when targets are in string format.

0.19.7

New:
- N/A

Changed
- added `class_weight` parameter to `lr_find` for imbalanced datasets
- removed pins for `cchardet` and `scikitlearn` from `setup.py`
- added version check for `eli5` fork
- removed `scipy` pin from `setup.py`
- Allow TensorFlow 2.3 for Python 3.8
- Request manual installation of `shap` in `TabularPredictor.explain` instead of inclusion in `setup.py`

Fixed:
- N/A

Page 14 of 29

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.