Whisper pipeline raises error when using return_timestamps
(ValueError: The following model_kwargs
are not used by the model: ['return_timestamps'])
#905
Labels
bug
Something isn't working
System Info
Who can help?
@philschmid
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
This is a working example using the transformers pipeline function:
After converting to onnx using this command:
and running the equivalent code:
I get the error:
Expected behavior
The code which uses the ONNX model should work the same as the transformers version (and not throw an error).
The text was updated successfully, but these errors were encountered: