Skip to content

Commit

Permalink
Shrink the Wav2Vec2 dummies
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocketknight1 committed Jun 7, 2023
1 parent e593919 commit c7d9962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transformers/models/wav2vec2/modeling_tf_wav2vec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1194,8 +1194,8 @@ def input_signature(self):
@property
def dummy_inputs(self):
return {
"input_values": tf.random.uniform(shape=(1, 16000), dtype=tf.float32),
"attention_mask": tf.ones(shape=(1, 16000), dtype=tf.float32),
"input_values": tf.random.uniform(shape=(1, 500), dtype=tf.float32),
"attention_mask": tf.ones(shape=(1, 500), dtype=tf.float32),
}

def __init__(self, config, *inputs, **kwargs):
Expand Down

0 comments on commit c7d9962

Please sign in to comment.