facebookresearch/ParlAI
[bert_ranker] Should be overriding build_criterion
Aperta
#2019 aperta il 26 set 2019
CS5152Help WantedMinordonotreap
Metriche repository
- Star
- (10.371 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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.