cportoca commited on
Commit
2b5b3bd
·
verified ·
1 Parent(s): 3f65e6a

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
@@ -40,6 +40,7 @@
40
  "errors": "replace",
41
  "model_max_length": 1000000000000000019884624838656,
42
  "pad_token": "[PAD]",
 
43
  "tokenizer_class": "WhisperTokenizer",
44
  "unk_token": "[UNK]"
45
  }
 
40
  "errors": "replace",
41
  "model_max_length": 1000000000000000019884624838656,
42
  "pad_token": "[PAD]",
43
+ "processor_class": "WhisperProcessor",
44
  "tokenizer_class": "WhisperTokenizer",
45
  "unk_token": "[UNK]"
46
  }