Update README.md
Browse files
README.md
CHANGED
|
@@ -32,7 +32,7 @@ pipeline_tag: automatic-speech-recognition
|
|
| 32 |
input_features,
|
| 33 |
max_new_tokens=450, # change as needed
|
| 34 |
return_dict_in_generate=True,
|
| 35 |
-
forced_decoder_ids=[[2, 50358], [3, 50363]], #
|
| 36 |
)
|
| 37 |
return {"sequences": outputs["sequences"]}
|
| 38 |
|
|
|
|
| 32 |
input_features,
|
| 33 |
max_new_tokens=450, # change as needed
|
| 34 |
return_dict_in_generate=True,
|
| 35 |
+
forced_decoder_ids=[[2, 50358], [3, 50363]], # forced to translate any language with no timestamps
|
| 36 |
)
|
| 37 |
return {"sequences": outputs["sequences"]}
|
| 38 |
|