Simpletransformers

Latest version: v0.70.1

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

Scan your dependencies

Page 30 of 62

0.32.1

0.32.00.32.0

Added

- Added Lazy Loading support for classification tasks (except multi-label). ([Docs](https://simpletransformers.ai/docs/classification-specifics/#lazy-loading-data))

0.32.0

0.31.00.31.0

Added

- Added Longformer model support for Language Modeling.

0.31.0

0.30.00.30.0

Added

- Added XLM-RoBERTa support for question answering tasks.
- Added `save_optimizer_and_scheduler` (default 1) to `global_args` which controls whether optimizer and scheduler is saved along with the model. Disabling significantly reduces the disk space used by saved models.

Fixed

- Bug in XLM tokenizer when preprocessing QA datasets.
- `QuestionAnsweringModel.predict(n_best_size=n)` now correctly returns `n` answers per question (along with `n` probabilities).

BREAKING CHANGE

- `QuestionAnsweringModel.predict()` now returns two lists (a list of dicts with question ids mapped to answers and a list of dicts with question ids mapped to the answer probabilities).

Page 30 of 62

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.