Fix expected loss values in some (m)T5 tests (#18177)

* fix expected loss values

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2022-07-18 15:26:21 +02:00
committed by GitHub
parent 7417f3acb7
commit cb19c2afdc
2 changed files with 4 additions and 4 deletions

View File

@@ -69,5 +69,5 @@ class TFMT5ModelIntegrationTest(unittest.TestCase):
loss = model(input_ids, labels=labels).loss
mtf_score = -tf.math.reduce_mean(loss).numpy()
EXPECTED_SCORE = -21.210594
EXPECTED_SCORE = -21.228168
self.assertTrue(abs(mtf_score - EXPECTED_SCORE) < 2e-4)