Simpletransformers

Latest version: v0.70.1

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

Scan your dependencies

Page 16 of 62

0.48.80.48.8

Added

- Added support for `BERTweet` with `ClassificationModel`. [manueltonneau](https://github.com/manueltonneau)

0.48.70.48.7

Added

- Added support for multilabel classification with the CamemBERT model. [adrienrenaud](https://github.com/adrienrenaud)

Changed

- Output arrays in classification evaluate/predict now avoids `np.append()`. This should be more time and memory efficient.

0.48.60.48.6

Added

- Added `layoutlm` model for NER

Fixed

- Potential fix for inconsistent `eval_loss` calculation

0.48.50.48.5

Added

- Added `convert_to_onnx` function to the following models:
- ClassificationModel
- NERModel
- Converted ONNX models can be loaded (requires specifying `onnx: True` in model_args) and used for prediction.
- Added `fp16` support for evaluation and prediction (requires Pytorch >= 1.6) for the following models:
- ClassificationModel
- ConvAI
- MultiModalClassificationModel
- NERModel
- QuestionAnsweringModel
- Seq2Seq
- T5Model
- Added multigpu prediction/eval in
- ClassificationModel
- ConvAI
- MultiModalClassificationModel
- NERModel
- QuestionAnsweringModel
- Seq2Seq
- T5Model

Fixed

- Thread count can now be specified for MultiLabelClassificationModel.

0.48.40.48.4

Fixed

- Fixed compatibility issue with transformers 3.2. (BertPreTrainedModel was being imported from an incompatible path)

0.48.15

Page 16 of 62

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.