Skip to content

Commit aa363aa

Browse files
authored
- typo (#71)
- fixed badge rendering
1 parent e61c752 commit aa363aa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ntloss/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
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)

src/ntl/loss_functions/abs_diff_number_token_loss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class 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

0 commit comments

Comments
 (0)