ArthurZ HF staff commited on
Commit
b24b76a
1 Parent(s): d652565

Update `return_mask` param

Browse files
preprocessor_config.json CHANGED
@@ -16251,6 +16251,6 @@
16251
  "padding_side": "right",
16252
  "padding_value": 0.0,
16253
  "processor_class": "WhisperProcessor",
16254
- "return_attention_mask": true,
16255
  "sampling_rate": 16000
16256
  }
 
16251
  "padding_side": "right",
16252
  "padding_value": 0.0,
16253
  "processor_class": "WhisperProcessor",
16254
+ "return_attention_mask": false,
16255
  "sampling_rate": 16000
16256
  }
tokenizer_config.json CHANGED
@@ -19,9 +19,10 @@
19
  },
20
  "errors": "replace",
21
  "model_max_length": 1024,
22
- "name_or_path": "openai/whisper-large",
23
  "pad_token": null,
24
  "processor_class": "WhisperProcessor",
 
25
  "special_tokens_map_file": null,
26
  "tokenizer_class": "WhisperTokenizer",
27
  "unk_token": {
 
19
  },
20
  "errors": "replace",
21
  "model_max_length": 1024,
22
+ "name_or_path": "openai/whisper-small",
23
  "pad_token": null,
24
  "processor_class": "WhisperProcessor",
25
+ "return_attention_mask": false,
26
  "special_tokens_map_file": null,
27
  "tokenizer_class": "WhisperTokenizer",
28
  "unk_token": {