Yehor Smoliakov
commited on
Commit
•
4b7b6f5
1
Parent(s):
2875b49
Init
Browse files- README.md +4 -3
- added_tokens.json +4 -0
- config.json +76 -0
- model.safetensors +3 -0
- preprocessor_config.json +10 -0
- special_tokens_map.json +6 -0
- tokenizer_config.json +48 -0
- vocab.json +39 -0
README.md
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
-
---
|
2 |
-
license: cc-by-nc-4.0
|
3 |
-
---
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-4.0
|
3 |
+
---
|
4 |
+
|
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 38,
|
3 |
+
"<s>": 37
|
4 |
+
}
|
config.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "utter-project/mHuBERT-147",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"apply_spec_augment": true,
|
5 |
+
"architectures": [
|
6 |
+
"HubertForCTC"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"classifier_proj_size": 256,
|
11 |
+
"conv_bias": false,
|
12 |
+
"conv_dim": [
|
13 |
+
512,
|
14 |
+
512,
|
15 |
+
512,
|
16 |
+
512,
|
17 |
+
512,
|
18 |
+
512,
|
19 |
+
512
|
20 |
+
],
|
21 |
+
"conv_kernel": [
|
22 |
+
10,
|
23 |
+
3,
|
24 |
+
3,
|
25 |
+
3,
|
26 |
+
3,
|
27 |
+
2,
|
28 |
+
2
|
29 |
+
],
|
30 |
+
"conv_stride": [
|
31 |
+
5,
|
32 |
+
2,
|
33 |
+
2,
|
34 |
+
2,
|
35 |
+
2,
|
36 |
+
2,
|
37 |
+
2
|
38 |
+
],
|
39 |
+
"ctc_loss_reduction": "mean",
|
40 |
+
"ctc_zero_infinity": true,
|
41 |
+
"do_stable_layer_norm": false,
|
42 |
+
"eos_token_id": 2,
|
43 |
+
"feat_extract_activation": "gelu",
|
44 |
+
"feat_extract_dropout": 0.0,
|
45 |
+
"feat_extract_norm": "group",
|
46 |
+
"feat_proj_dropout": 0.1,
|
47 |
+
"feat_proj_layer_norm": true,
|
48 |
+
"final_dropout": 0.1,
|
49 |
+
"gradient_checkpointing": false,
|
50 |
+
"hidden_act": "gelu",
|
51 |
+
"hidden_dropout": 0.1,
|
52 |
+
"hidden_dropout_prob": 0.1,
|
53 |
+
"hidden_size": 768,
|
54 |
+
"initializer_range": 0.02,
|
55 |
+
"intermediate_size": 3072,
|
56 |
+
"layer_norm_eps": 1e-05,
|
57 |
+
"layerdrop": 0.0,
|
58 |
+
"mask_feature_length": 10,
|
59 |
+
"mask_feature_min_masks": 0,
|
60 |
+
"mask_feature_prob": 0.0,
|
61 |
+
"mask_time_length": 10,
|
62 |
+
"mask_time_min_masks": 2,
|
63 |
+
"mask_time_prob": 0.05,
|
64 |
+
"model_type": "hubert",
|
65 |
+
"num_attention_heads": 12,
|
66 |
+
"num_conv_pos_embedding_groups": 16,
|
67 |
+
"num_conv_pos_embeddings": 128,
|
68 |
+
"num_feat_extract_layers": 7,
|
69 |
+
"num_hidden_layers": 12,
|
70 |
+
"pad_token_id": 1,
|
71 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
72 |
+
"torch_dtype": "float32",
|
73 |
+
"transformers_version": "4.44.0",
|
74 |
+
"use_weighted_layer_sum": false,
|
75 |
+
"vocab_size": 39
|
76 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:997ed9ae3c12e667dab4ba9a67d7edf00faf06d62a0415f1077c99e875cf1835
|
3 |
+
size 377632244
|
preprocessor_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0,
|
7 |
+
"processor_class": "Wav2Vec2Processor",
|
8 |
+
"return_attention_mask": false,
|
9 |
+
"sampling_rate": 16000
|
10 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"pad_token": "<pad>",
|
5 |
+
"unk_token": "<unk>"
|
6 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"1": {
|
4 |
+
"content": "<pad>",
|
5 |
+
"lstrip": true,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": true,
|
8 |
+
"single_word": false,
|
9 |
+
"special": false
|
10 |
+
},
|
11 |
+
"2": {
|
12 |
+
"content": "<unk>",
|
13 |
+
"lstrip": true,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": true,
|
16 |
+
"single_word": false,
|
17 |
+
"special": false
|
18 |
+
},
|
19 |
+
"37": {
|
20 |
+
"content": "<s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"38": {
|
28 |
+
"content": "</s>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"bos_token": "<s>",
|
37 |
+
"clean_up_tokenization_spaces": true,
|
38 |
+
"do_lower_case": false,
|
39 |
+
"eos_token": "</s>",
|
40 |
+
"model_max_length": 1000000000000000019884624838656,
|
41 |
+
"pad_token": "<pad>",
|
42 |
+
"processor_class": "Wav2Vec2Processor",
|
43 |
+
"replace_word_delimiter_char": " ",
|
44 |
+
"target_lang": null,
|
45 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
46 |
+
"unk_token": "<unk>",
|
47 |
+
"word_delimiter_token": "|"
|
48 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"'": 0,
|
3 |
+
"<pad>": 1,
|
4 |
+
"<unk>": 2,
|
5 |
+
"|": 3,
|
6 |
+
"а": 4,
|
7 |
+
"б": 5,
|
8 |
+
"в": 6,
|
9 |
+
"г": 7,
|
10 |
+
"д": 8,
|
11 |
+
"е": 9,
|
12 |
+
"ж": 10,
|
13 |
+
"з": 11,
|
14 |
+
"и": 12,
|
15 |
+
"й": 13,
|
16 |
+
"к": 14,
|
17 |
+
"л": 15,
|
18 |
+
"м": 16,
|
19 |
+
"н": 17,
|
20 |
+
"о": 18,
|
21 |
+
"п": 19,
|
22 |
+
"р": 20,
|
23 |
+
"с": 21,
|
24 |
+
"т": 22,
|
25 |
+
"у": 23,
|
26 |
+
"ф": 24,
|
27 |
+
"х": 25,
|
28 |
+
"ц": 26,
|
29 |
+
"ч": 27,
|
30 |
+
"ш": 28,
|
31 |
+
"щ": 29,
|
32 |
+
"ь": 30,
|
33 |
+
"ю": 31,
|
34 |
+
"я": 32,
|
35 |
+
"є": 33,
|
36 |
+
"і": 34,
|
37 |
+
"ї": 35,
|
38 |
+
"ґ": 36
|
39 |
+
}
|