Is it possible to set initial_prompt and condition_on_previous_text with a whisper_pipeline?
Is it possible to set initial_prompt and condition_on_previous_text with a whisper_pipeline?i know this can work:whisper_pipeline = pipeline(“automatic-speech-recognition”, model=model_name, torch_dtype=torch_type, device_map=“auto”, model_kwargs=model_args)whisper_pipeline(speech_file, generate_kwargs = {“task”:“transcribe”, “language”:“<|fr|>”} )but is it possible to set initial_prompt and condition_on_previous_text parameters?
2023-10-22T10:20:58Z
Hi, is there any development on this?
2024-01-17T20:19:34Z
Same here, any update?
2024-01-17T21:58:34Z
yup check out the github topic on this
2024-02-08T00:16:58Z
Could you send a link please?