NTMC-Community / MatchZoo

Facilitating the design, comparison and sharing of deep text matching models.
Apache License 2.0
3.82k stars 898 forks source link

Update rank_cross_entropy_loss to avoid NANs #779

Closed jibrilfrej closed 4 years ago

jibrilfrej commented 4 years ago

Added an epsilon in the log of the rank cross entropy loss

uduse commented 4 years ago

:tada::tada::tada: