Ktrain

Latest version: v0.41.3

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

Scan your dependencies

Page 8 of 29

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

0.27.3

New:
- N/A

Changed
-N/A

Fixed:
- `SimpleQA` now can load PyTorch question-answering checkpoints
- change API call to support newest `causalnlp`

Page 8 of 29

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.