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
d8222be5
Unverified
Commit
d8222be5
authored
May 24, 2023
by
Sanchit Gandhi
Committed by
GitHub
May 24, 2023
Browse files
[Whisper] Reduce batch size in tests (#23736)
parent
814de8fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/models/whisper/test_modeling_whisper.py
tests/models/whisper/test_modeling_whisper.py
+2
-2
No files found.
tests/models/whisper/test_modeling_whisper.py
View file @
d8222be5
...
@@ -94,7 +94,7 @@ class WhisperModelTester:
...
@@ -94,7 +94,7 @@ class WhisperModelTester:
def
__init__
(
def
__init__
(
self
,
self
,
parent
,
parent
,
batch_size
=
13
,
batch_size
=
2
,
seq_length
=
1500
,
seq_length
=
1500
,
is_training
=
True
,
is_training
=
True
,
use_labels
=
False
,
use_labels
=
False
,
...
@@ -1537,7 +1537,7 @@ class WhisperEncoderModelTester:
...
@@ -1537,7 +1537,7 @@ class WhisperEncoderModelTester:
def
__init__
(
def
__init__
(
self
,
self
,
parent
,
parent
,
batch_size
=
13
,
batch_size
=
2
,
seq_length
=
3000
,
seq_length
=
3000
,
is_training
=
True
,
is_training
=
True
,
use_labels
=
True
,
use_labels
=
True
,
...
...
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