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
f20d75a1
Unverified
Commit
f20d75a1
authored
Mar 17, 2021
by
Patrick von Platen
Committed by
GitHub
Mar 17, 2021
Browse files
up (#10771)
parent
c83fbc5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_modeling_prophetnet.py
tests/test_modeling_prophetnet.py
+1
-1
No files found.
tests/test_modeling_prophetnet.py
View file @
f20d75a1
...
...
@@ -482,7 +482,7 @@ class ProphetNetModelTester:
torch
.
allclose
(
outputs_no_mask
.
last_hidden_state_ngram
[
0
,
:
5
,
0
],
outputs_with_mask
.
last_hidden_state_ngram
[
0
,
:
5
,
0
],
atol
=
1e-
3
,
atol
=
1e-
2
,
)
)
...
...
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