Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
480a9d6b
Unverified
Commit
480a9d6b
authored
Feb 09, 2021
by
abhishek thakur
Committed by
GitHub
Feb 09, 2021
Browse files
Fix TFConvBertModelIntegrationTest::test_inference_masked_lm Test (#10104)
parent
0c3d23df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/test_modeling_tf_convbert.py
tests/test_modeling_tf_convbert.py
+3
-3
No files found.
tests/test_modeling_tf_convbert.py
View file @
480a9d6b
...
...
@@ -389,9 +389,9 @@ class TFConvBertModelIntegrationTest(unittest.TestCase):
expected_slice
=
tf
.
constant
(
[
[
[
-
0.
0
3475
493
,
-
0.
4686034
,
-
0.30638832
],
[
0.2
2637248
,
-
0.26988646
,
-
0.7423424
],
[
0.
10324868
,
-
0.
4
50
13508
,
-
0.5
8280784
],
[
-
0.
103
3475
1
,
-
0.
37152207
,
-
0.2682219
],
[
0.2
0078957
,
-
0.3918426
,
-
0.78811496
],
[
0.
08000169
,
-
0.50
9474
,
-
0.5
9314483
],
]
]
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment