Bert-extractive-summarizer

Latest version: v0.10.1

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

Scan your dependencies

Page 2 of 3

0.7.0

This release supports 3.0 for the sentence handler.

0.6.1

0.6.0

In this release, there are two new arguments for summarizer processing. One is the `hidden` parameter which now accepts an integer or a list. If supplied a list, it will combine the layers for the aggregation. Also, another parameter called `hidden_concat` allows the user to concat hidden layers before clustering.

Also a couple of new options for TransformerSummarizer.

0.5.2

In this release, two new reduce options are included: `concat_last_4` and `reduce_last_4`. The `concat_last_4` concats the last 4 BERT hidden layers and takes the mean for aggregation. The reduce last 4 option sums the last four layers and takes the mean across tokens.

0.5.1

Bug fixes.

0.4.2

Bert Extractive Summarizer now offers GPU support, if CUDA is available.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.