Update README.md
Browse files
README.md
CHANGED
@@ -7,7 +7,7 @@ pipeline_tag: automatic-speech-recognition
|
|
7 |
|
8 |
"transcribe-translate" models provide signatures for "serving_transcribe" and "serving_translate" to force the model to perform a certain action
|
9 |
|
10 |
-
|
11 |
@tf.function(
|
12 |
input_signature=[
|
13 |
tf.TensorSpec((1, 80, 3000), tf.float32, name="input_features"),
|
@@ -35,4 +35,4 @@ pipeline_tag: automatic-speech-recognition
|
|
35 |
forced_decoder_ids=[[2, 50358], [3, 50363]], # different forced_decoder_ids
|
36 |
)
|
37 |
return {"sequences": outputs["sequences"]}
|
38 |
-
|
|
|
7 |
|
8 |
"transcribe-translate" models provide signatures for "serving_transcribe" and "serving_translate" to force the model to perform a certain action
|
9 |
|
10 |
+
|
11 |
@tf.function(
|
12 |
input_signature=[
|
13 |
tf.TensorSpec((1, 80, 3000), tf.float32, name="input_features"),
|
|
|
35 |
forced_decoder_ids=[[2, 50358], [3, 50363]], # different forced_decoder_ids
|
36 |
)
|
37 |
return {"sequences": outputs["sequences"]}
|
38 |
+
|