"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "39114c03838f9cb0c8805b64366d534007021d85"
Unverified Commit b7e6d120 authored by Joao Gante's avatar Joao Gante Committed by GitHub
Browse files

Generate: Update VisionEncoderDecoder test value (#27850)

update test result, due to bug fix in decoder-only beam search
parent fdb85be4
......@@ -800,7 +800,7 @@ class ViT2GPT2ModelIntegrationTest(unittest.TestCase):
preds, scores = generate_step(pixel_values)
EXPECTED_SCORES = np.array([-0.59562886])
EXPECTED_SCORES = np.array([-0.64145195])
max_diff = np.amax(np.abs(scores - EXPECTED_SCORES))
self.assertLessEqual(max_diff, 1e-4)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment