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
babd0b9a
Unverified
Commit
babd0b9a
authored
Nov 09, 2021
by
Yih-Dar
Committed by
GitHub
Nov 09, 2021
Browse files
remove test_model_various_embeddings (#14341)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
4f24058c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
tests/test_modeling_tf_layoutlm.py
tests/test_modeling_tf_layoutlm.py
+0
-6
No files found.
tests/test_modeling_tf_layoutlm.py
View file @
babd0b9a
...
...
@@ -218,12 +218,6 @@ class LayoutLMModelTest(TFModelTesterMixin, unittest.TestCase):
config_and_inputs
=
self
.
model_tester
.
prepare_config_and_inputs
()
self
.
model_tester
.
create_and_check_model
(
*
config_and_inputs
)
def
test_model_various_embeddings
(
self
):
config_and_inputs
=
self
.
model_tester
.
prepare_config_and_inputs
()
for
type
in
[
"absolute"
,
"relative_key"
,
"relative_key_query"
]:
config_and_inputs
[
0
].
position_embedding_type
=
type
self
.
model_tester
.
create_and_check_model
(
*
config_and_inputs
)
def
test_for_masked_lm
(
self
):
config_and_inputs
=
self
.
model_tester
.
prepare_config_and_inputs
()
self
.
model_tester
.
create_and_check_for_masked_lm
(
*
config_and_inputs
)
...
...
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