blackhole33
commited on
Commit
•
bf4ed71
1
Parent(s):
9867471
Upload processor
Browse files- added_tokens.json +4 -0
- preprocessor_config.json +19 -0
- special_tokens_map.json +13 -0
- spm_char.model +3 -0
- tokenizer_config.json +63 -0
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<ctc_blank>": 80,
|
3 |
+
"<mask>": 79
|
4 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": false,
|
3 |
+
"feature_extractor_type": "SpeechT5FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"fmax": 7600,
|
6 |
+
"fmin": 80,
|
7 |
+
"frame_signal_scale": 1.0,
|
8 |
+
"hop_length": 16,
|
9 |
+
"mel_floor": 1e-10,
|
10 |
+
"num_mel_bins": 80,
|
11 |
+
"padding_side": "right",
|
12 |
+
"padding_value": 0.0,
|
13 |
+
"processor_class": "SpeechT5Processor",
|
14 |
+
"reduction_factor": 2,
|
15 |
+
"return_attention_mask": true,
|
16 |
+
"sampling_rate": 16000,
|
17 |
+
"win_function": "hann_window",
|
18 |
+
"win_length": 64
|
19 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"mask_token": {
|
5 |
+
"content": "<mask>",
|
6 |
+
"lstrip": true,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false
|
10 |
+
},
|
11 |
+
"pad_token": "<pad>",
|
12 |
+
"unk_token": "<unk>"
|
13 |
+
}
|
spm_char.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fcc48f3e225f627b1641db410ceb0c8649bd2b0c982e150b03f8be3728ab560
|
3 |
+
size 238473
|
tokenizer_config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"79": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": true,
|
38 |
+
"normalized": true,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"80": {
|
44 |
+
"content": "<ctc_blank>",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": false
|
50 |
+
}
|
51 |
+
},
|
52 |
+
"bos_token": "<s>",
|
53 |
+
"clean_up_tokenization_spaces": true,
|
54 |
+
"eos_token": "</s>",
|
55 |
+
"mask_token": "<mask>",
|
56 |
+
"model_max_length": 600,
|
57 |
+
"normalize": false,
|
58 |
+
"pad_token": "<pad>",
|
59 |
+
"processor_class": "SpeechT5Processor",
|
60 |
+
"sp_model_kwargs": {},
|
61 |
+
"tokenizer_class": "SpeechT5Tokenizer",
|
62 |
+
"unk_token": "<unk>"
|
63 |
+
}
|