oyvindgrutle commited on
Commit
a057dad
1 Parent(s): b912005

Upload processor

Browse files
Files changed (2) hide show
  1. preprocessor_config.json +14 -0
  2. tokenizer_config.json +1 -0
preprocessor_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length": 30,
3
+ "feature_extractor_type": "WhisperFeatureExtractor",
4
+ "feature_size": 80,
5
+ "hop_length": 160,
6
+ "n_fft": 400,
7
+ "n_samples": 480000,
8
+ "nb_max_frames": 3000,
9
+ "padding_side": "right",
10
+ "padding_value": 0.0,
11
+ "processor_class": "WhisperProcessor",
12
+ "return_attention_mask": false,
13
+ "sampling_rate": 16000
14
+ }
tokenizer_config.json CHANGED
@@ -24,6 +24,7 @@
24
  "return_attention_mask": false,
25
  "special_tokens_map_file": null,
26
  "tokenizer_class": "WhisperTokenizer",
 
27
  "unk_token": {
28
  "__type": "AddedToken",
29
  "content": "<|endoftext|>",
 
24
  "return_attention_mask": false,
25
  "special_tokens_map_file": null,
26
  "tokenizer_class": "WhisperTokenizer",
27
+ "trust_remote_code": false,
28
  "unk_token": {
29
  "__type": "AddedToken",
30
  "content": "<|endoftext|>",