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
5a6b3ccd
Unverified
Commit
5a6b3ccd
authored
Mar 17, 2022
by
Lysandre Debut
Committed by
GitHub
Mar 17, 2022
Browse files
Skip equivalence test for TransfoXL (#16224)
* Skip test for TransfoXL * Single list
parent
abd503d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tests/test_modeling_tf_common.py
tests/test_modeling_tf_common.py
+3
-1
No files found.
tests/test_modeling_tf_common.py
View file @
5a6b3ccd
...
...
@@ -476,6 +476,7 @@ class TFModelTesterMixin:
"TFFunnelForPreTraining"
,
"TFElectraForPreTraining"
,
"TFXLMWithLMHeadModel"
,
"TFTransfoXLLMHeadModel"
,
]:
self
.
assertEqual
(
tf_loss
is
None
,
pt_loss
is
None
)
...
...
@@ -490,7 +491,8 @@ class TFModelTesterMixin:
"TFFunnelForPreTraining"
,
"TFElectraForPreTraining"
,
"TFXLMWithLMHeadModel"
,
]
+
[
"TFTransfoXLLMHeadModel"
]:
"TFTransfoXLLMHeadModel"
,
]:
self
.
assertEqual
(
tf_keys
,
pt_keys
)
# Since we deliberately make some tests pass above (regarding the `loss`), let's still try to test
...
...
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