From 27a139f678fe94ef50c2911eb742a0646631fb2a Mon Sep 17 00:00:00 2001 From: Arthur Zucker Date: Mon, 17 Oct 2022 11:06:57 +0000 Subject: [PATCH] Update `return_mask` param --- preprocessor_config.json | 2 +- tokenizer_config.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/preprocessor_config.json b/preprocessor_config.json index fd9ef38..c2048df 100644 --- a/preprocessor_config.json +++ b/preprocessor_config.json @@ -16251,6 +16251,6 @@ "padding_side": "right", "padding_value": 0.0, "processor_class": "WhisperProcessor", - "return_attention_mask": true, + "return_attention_mask": false, "sampling_rate": 16000 } diff --git a/tokenizer_config.json b/tokenizer_config.json index c66a76d..fa31e7b 100644 --- a/tokenizer_config.json +++ b/tokenizer_config.json @@ -19,9 +19,10 @@ }, "errors": "replace", "model_max_length": 1024, - "name_or_path": "openai/whisper-large", + "name_or_path": "openai/whisper-tiny", "pad_token": null, "processor_class": "WhisperProcessor", + "return_attention_mask": false, "special_tokens_map_file": null, "tokenizer_class": "WhisperTokenizer", "unk_token": {