Skip to content

Commit

Permalink
Adjust loss difference (#10669)
Browse files Browse the repository at this point in the history
  • Loading branch information
LysandreJik committed Mar 12, 2021
1 parent c526bde commit ea46e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_modeling_tf_mt5.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ def test_small_integration_test(self):
mtf_score = -tf.math.reduce_sum(loss).numpy()

EXPECTED_SCORE = -84.9127
self.assertTrue(abs(mtf_score - EXPECTED_SCORE) < 1e-4)
self.assertTrue(abs(mtf_score - EXPECTED_SCORE) < 2e-4)

0 comments on commit ea46e3f

Please sign in to comment.