File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 11<div align =" center " >
2+
23[ ![ License] ( https://img.shields.io/badge/License-MIT-green.svg )] ( LICENSE )
34[ ![ PyPI] ( https://badge.fury.io/py/ntloss.svg )] ( https://badge.fury.io/py/ntloss )
45[ ![ Downloads] ( https://static.pepy.tech/badge/ntloss )] ( https://pepy.tech/project/ntloss )
Original file line number Diff line number Diff line change 99
1010class AbsDiffNumberTokenLoss :
1111 """
12- Loss function for numberical tokens based on the weighted absolute difference between true and predicted number
12+ Loss function for numerical tokens based on the weighted absolute difference between true and predicted number
1313 NOTE: This loss is equivalent to the Wasserstein distance as long as the ground truth distribution is one-hot
1414 """
1515
You can’t perform that action at this time.
0 commit comments