Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

v2.4.0

Compare
Choose a tag to compare
@dirkgr dirkgr released this 23 Apr 00:33
· 91 commits to main since this release

What's new

Added πŸŽ‰

  • Added T5 model for generation.
  • Added a classmethod constructor on Seq2SeqPredictor: .pretrained_t5_for_generation().
  • Added a parameter called source_prefix to CNNDailyMailDatasetReader. This is useful with T5, for example, by setting source_prefix to "summarization: ".
  • Tests for VqaMeasure.
  • Distributed tests for ConllCorefScores and SrlEvalScorer metrics.

Fixed βœ…

  • VqaMeasure now calculates correctly in the distributed case.
  • ConllCorefScores now calculates correctly in the distributed case.
  • SrlEvalScorer raises an appropriate error if run in the distributed setting.

Changed ⚠️

  • Updated registered_predictor_name to null in model cards for the models where it was the same as the default predictor.

Commits

7a6ee0c Add T5 for generation/summarization (#241)
5012f23 Fix name of variable in docstring (#252)
d18c837 Remove registered_predictor_name from all modelcards where the predictor is the same as the default (#253)
e5789cf Distributed metrics (#251)
c733f83 Roberta data reader (#247)
419bc90 Distributed VQA metric (#250)