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
74e84f1f
Unverified
Commit
74e84f1f
authored
Apr 23, 2021
by
Patrick von Platen
Committed by
GitHub
Apr 23, 2021
Browse files
make blenderbot test slow (#11395)
parent
c3d6f339
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tests/test_modeling_blenderbot_small.py
tests/test_modeling_blenderbot_small.py
+1
-0
No files found.
tests/test_modeling_blenderbot_small.py
View file @
74e84f1f
...
@@ -305,6 +305,7 @@ class Blenderbot90MIntegrationTests(unittest.TestCase):
...
@@ -305,6 +305,7 @@ class Blenderbot90MIntegrationTests(unittest.TestCase):
"i'm not sure. i just feel like i've been feeling like i have to be in a certain place"
,
"i'm not sure. i just feel like i've been feeling like i have to be in a certain place"
,
)
)
@
slow
def
test_90_generation_from_short_input
(
self
):
def
test_90_generation_from_short_input
(
self
):
model_inputs
=
self
.
tokenizer
([
"sam"
],
return_tensors
=
"pt"
).
to
(
torch_device
)
model_inputs
=
self
.
tokenizer
([
"sam"
],
return_tensors
=
"pt"
).
to
(
torch_device
)
...
...
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