From ea8f5d0f78fe5767642645d5d6398132bb497319 Mon Sep 17 00:00:00 2001 From: Arthur Zucker Date: Mon, 17 Oct 2022 11:08:52 +0000 Subject: [PATCH] Update `return_mask` param --- preprocessor_config.json | 2 +- tokenizer_config.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 9f88536..384d88d 100644 --- a/tokenizer_config.json +++ b/tokenizer_config.json @@ -22,6 +22,7 @@ "name_or_path": "openai/whisper-tiny.en", "pad_token": null, "processor_class": "WhisperProcessor", + "return_attention_mask": false, "special_tokens_map_file": null, "tokenizer_class": "WhisperTokenizer", "unk_token": {