This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
v2.4.0
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
toCNNDailyMailDatasetReader
. This is useful with T5, for example, by settingsource_prefix
to "summarization: ". - Tests for
VqaMeasure
. - Distributed tests for
ConllCorefScores
andSrlEvalScorer
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
tonull
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)