Bert-score

Latest version: v0.3.13

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

Scan your dependencies

Page 1 of 3

0.3.13

- Fix bug with transformers version > 4.17.0 ([148](https://github.com/Tiiiger/bert_score/pull/148))

0.3.12

- Having `get_idf_dict` compatible with DDP ([140](https://github.com/Tiiiger/bert_score/pull/140))
- Fix setup bug ([138](https://github.com/Tiiiger/bert_score/pull/138))

0.3.11

- Updated to version 0.3.11
- Support 6 DeBERTa v3 models
- Support 3 ByT5 models

0.3.10

- Updated to version 0.3.10
- Support 8 SimCSE models
- Fix the support of scibert (to be compatible with transformers >= 4.0.0)
- Add scripts for reproducing some results in our paper (See this [folder](./reproduce))
- Support fast tokenizers in huggingface transformers with `--use_fast_tokenizer`. Notably, you will get different scores because of the difference in the tokenizer implementations ([106](https://github.com/Tiiiger/bert_score/issues/106)).
- Fix non-zero recall problem for empty candidate strings ([107](https://github.com/Tiiiger/bert_score/issues/107)).
- Add Turkish BERT Supoort ([108](https://github.com/Tiiiger/bert_score/issues/108)).

0.3.9

- Support 3 BigBird models
- Fix bugs for mBART and T5
- Support 4 mT5 models as requested ([93](https://github.com/Tiiiger/bert_score/issues/93))

0.3.8

- Support 53 new pretrained models including BART, mBART, BORT, DeBERTa, T5, mT5, BERTweet, MPNet, ConvBERT, SqueezeBERT, SpanBERT, PEGASUS, Longformer, LED, Blendbot, etc. Among them, DeBERTa achives higher correlation with human scores than RoBERTa (our default) on WMT16 dataset. The correlations are presented in this [Google sheet](https://docs.google.com/spreadsheets/d/1RKOVpselB98Nnh_EOC4A2BYn8_201tmPODpNWu4w7xI/edit?usp=sharing).
- Please consider using `--model_type microsoft/deberta-xlarge-mnli` or `--model_type microsoft/deberta-large-mnli` (faster) if you want the scores to correlate better with human scores.
- Add baseline files for DeBERTa models.
- Add example code to generate baseline files (please see the [details](get_rescale_baseline)).

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.