facebookresearch/ParlAI
View on GitHub[bert_ranker] Should be overriding build_criterion
Open
#2,019 opened on Sep 26, 2019
CS5152Help WantedMinordonotreap
Description
Bug description Created from #2003.
The self.rank_loss in bi_encode_ranker (and possibly the others) should be created by overriding the build_criterion rather than directionly setting self.rank_loss.