Ktrain

Latest version: v0.41.4

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

Scan your dependencies

Page 8 of 29

0.29.1

new:
- N/A

changed
- pin to `sklearn==0.24.2` due to breaking changes. `eli5` fork for tf.keras updated for 0.24.2.
To use `scikit-learn==0.24.2`, users must uninstall and re-install the `eli5` fork with: `pip install https://github.com/amaiya/eli5/archive/refs/heads/tfkeras_0_10_1.zip`

fixed:
- N/A

0.29.0

new:
- New vision models: added MobileNetV3-Small and EfficientNet. Thanks to ilos-vigil.

changed
- `core.Learner.plot` now supports plotting of any value that exists in the training `History` object (e.g., `mae` if previously specified as metric). Thanks to ilos-vigil.
- added `raw_confidence` parameter to `QA.ask` method to return raw confidence scores. Thanks to ilos-vigil.

fixed:
- pin to `transformers==4.10.3` due to Issue 398
- pin to `syntok==1.3.3` due to bug with `syntok==1.4.1` causing paragraph tokenization in `qa` module to break
- properly suppress TF/CUDA warnings by default
- ensure document fed to `keras_bert` tokenizer to avoid [this issue](https://stackoverflow.com/questions/67360987/bert-model-bug-encountered-during-training/67375675#67375675)

0.28.3

new:
- speech transcription support

changed
- N/A

fixed:
- N/A

0.28.2

new:
- N/A

changed
- minor fix to installation due to pypi

fixed:
- N/A

0.28.1

New:
- N/A

Changed
- added `extra_requirements` to `setup.py`
- changed imports for summarization, translation, qa, and zsl in notebooks and tests

Fixed:
- N/A

0.28.0

New:
- `text.AnswerExtractor` is a universal information extractor powered by a Question-Answering module and capable of extracting user-specfied information from texts.
- `text.TextExtractor` is a text extraction pipeline (e.g., convert PDFs to plain text)

Changed
- changed transformers pin to `transformers>=4.0.0,<=4.10.3`

Fixed:
- N/A

Page 8 of 29

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.