Decode whisper logits to transcript using forward instead of generate method

Sankeerth
Fri, 09 Dec 2022 06:55:47 +0000

We can get hidden_states_embeddings from model.generate by enabling the two flags , output_hidden_states=True, return_dict_in_generate=True.