Automatic Speech Recognition
Transformers
PyTorch
TensorBoard
Indonesian
whisper
whisper-event
Generated from Trainer
Eval Results (legacy)
Instructions to use cahya/whisper-medium-id with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cahya/whisper-medium-id with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="cahya/whisper-medium-id")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("cahya/whisper-medium-id") model = AutoModelForSpeechSeq2Seq.from_pretrained("cahya/whisper-medium-id") - Notebooks
- Google Colab
- Kaggle
Error trying to run the model.
#5
by fhardison - opened
I get the following error when I try to run the model.
raise ValueError(
ValueError: You are trying to return timestamps, but the generation config is not properly set. Make sure to initialize the generation config with the correct attributes that are needed such as `no_timestamps_token_id`. For more details on how to generate the approtiate config, refer to https://github.com/huggingface/transformers/issues/21878#issuecomment-1451902363
The strange thing is it worked the first time In ran it, but then a few hours later this started showing up.
This comment has been hidden (marked as Resolved)