lIlBrother
commited on
Commit
•
4363fe8
1
Parent(s):
31504a3
Init: 모델 최초 배포
Browse files- config.json +112 -0
- preprocessor_config.json +9 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +6 -0
- tokenizer_config.json +12 -0
- vocab.json +1 -0
config.json
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "wav2vec2-conformer-gelu",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"adapter_kernel_size": 3,
|
5 |
+
"adapter_stride": 2,
|
6 |
+
"add_adapter": false,
|
7 |
+
"apply_spec_augment": true,
|
8 |
+
"architectures": [
|
9 |
+
"Wav2Vec2ConformerForCTC"
|
10 |
+
],
|
11 |
+
"attention_dropout": 0.1,
|
12 |
+
"bos_token_id": 1,
|
13 |
+
"classifier_proj_size": 256,
|
14 |
+
"codevector_dim": 256,
|
15 |
+
"conformer_conv_dropout": 0.1,
|
16 |
+
"contrastive_logits_temperature": 0.1,
|
17 |
+
"conv_bias": false,
|
18 |
+
"conv_depthwise_kernel_size": 31,
|
19 |
+
"conv_dim": [
|
20 |
+
512,
|
21 |
+
512,
|
22 |
+
512,
|
23 |
+
512,
|
24 |
+
512,
|
25 |
+
512,
|
26 |
+
512
|
27 |
+
],
|
28 |
+
"conv_kernel": [
|
29 |
+
10,
|
30 |
+
3,
|
31 |
+
3,
|
32 |
+
3,
|
33 |
+
3,
|
34 |
+
2,
|
35 |
+
2
|
36 |
+
],
|
37 |
+
"conv_stride": [
|
38 |
+
5,
|
39 |
+
2,
|
40 |
+
2,
|
41 |
+
2,
|
42 |
+
2,
|
43 |
+
2,
|
44 |
+
2
|
45 |
+
],
|
46 |
+
"ctc_loss_reduction": "mean",
|
47 |
+
"ctc_zero_infinity": true,
|
48 |
+
"diversity_loss_weight": 0.1,
|
49 |
+
"do_stable_layer_norm": true,
|
50 |
+
"eos_token_id": 2,
|
51 |
+
"feat_extract_activation": "gelu",
|
52 |
+
"feat_extract_norm": "layer",
|
53 |
+
"feat_proj_dropout": 0.0,
|
54 |
+
"feat_quantizer_dropout": 0.0,
|
55 |
+
"final_dropout": 0.1,
|
56 |
+
"hidden_act": "gelu",
|
57 |
+
"hidden_dropout": 0.1,
|
58 |
+
"hidden_dropout_prob": 0.1,
|
59 |
+
"hidden_size": 768,
|
60 |
+
"initializer_range": 0.02,
|
61 |
+
"intermediate_size": 3072,
|
62 |
+
"layer_norm_eps": 1e-05,
|
63 |
+
"layerdrop": 0.0,
|
64 |
+
"mask_feature_length": 64,
|
65 |
+
"mask_feature_min_masks": 0,
|
66 |
+
"mask_feature_prob": 0.05,
|
67 |
+
"mask_time_length": 10,
|
68 |
+
"mask_time_min_masks": 2,
|
69 |
+
"mask_time_prob": 0.05,
|
70 |
+
"max_source_positions": 5000,
|
71 |
+
"model_type": "wav2vec2-conformer",
|
72 |
+
"num_adapter_layers": 3,
|
73 |
+
"num_attention_heads": 12,
|
74 |
+
"num_codevector_groups": 2,
|
75 |
+
"num_codevectors_per_group": 320,
|
76 |
+
"num_conv_pos_embedding_groups": 16,
|
77 |
+
"num_conv_pos_embeddings": 128,
|
78 |
+
"num_feat_extract_layers": 7,
|
79 |
+
"num_hidden_layers": 12,
|
80 |
+
"num_negatives": 100,
|
81 |
+
"output_hidden_size": 768,
|
82 |
+
"pad_token_id": 0,
|
83 |
+
"position_embeddings_type": "relative",
|
84 |
+
"proj_codevector_dim": 256,
|
85 |
+
"rotary_embedding_base": 10000,
|
86 |
+
"tdnn_dilation": [
|
87 |
+
1,
|
88 |
+
2,
|
89 |
+
3,
|
90 |
+
1,
|
91 |
+
1
|
92 |
+
],
|
93 |
+
"tdnn_dim": [
|
94 |
+
512,
|
95 |
+
512,
|
96 |
+
512,
|
97 |
+
512,
|
98 |
+
1500
|
99 |
+
],
|
100 |
+
"tdnn_kernel": [
|
101 |
+
5,
|
102 |
+
3,
|
103 |
+
3,
|
104 |
+
1,
|
105 |
+
1
|
106 |
+
],
|
107 |
+
"torch_dtype": "float32",
|
108 |
+
"transformers_version": "4.20.1",
|
109 |
+
"use_weighted_layer_sum": false,
|
110 |
+
"vocab_size": 111,
|
111 |
+
"xvector_output_dim": 512
|
112 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0.0,
|
7 |
+
"return_attention_mask": true,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0cb65144c5eb50519725c7d71614bf1473be16ee824f36aa0dc2b6c63a014822
|
3 |
+
size 719535742
|
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,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"do_lower_case": false,
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"name_or_path": "wav2vec2-conformer-gelu",
|
6 |
+
"pad_token": "<pad>",
|
7 |
+
"replace_word_delimiter_char": " ",
|
8 |
+
"special_tokens_map_file": null,
|
9 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
10 |
+
"unk_token": "<unk>",
|
11 |
+
"word_delimiter_token": "|"
|
12 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"<pad>": 0, "<unk>": 1, "<s>": 2, "</s>": 3, "|": 4, "ᄋ": 5, "ᅡ": 6, "ᅵ": 7, "ᄀ": 8, "ᅳ": 9, "ᆫ": 10, "ᅥ": 11, "ᅩ": 12, "ᄌ": 13, "ᄃ": 14, "ᄉ": 15, "ᆯ": 16, "ᄂ": 17, "ᄅ": 18, "ᄒ": 19, "ᅦ": 20, "ᅮ": 21, "ᆼ": 22, "ᄆ": 23, "ᅢ": 24, "ᅧ": 25, "ᆨ": 26, "ᄇ": 27, "ᆷ": 28, "ᅭ": 29, "ᆻ": 30, "ᆸ": 31, "ᄎ": 32, "ᅪ": 33, "ᄄ": 34, "ᅬ": 35, "ᄁ": 36, "ᆺ": 37, "ᅴ": 38, "ᄐ": 39, "ᇂ": 40, "ᅯ": 41, "ᅣ": 42, "ᄑ": 43, "ᅨ": 44, "ᆭ": 45, "ᅲ": 46, "ᄏ": 47, "ᇀ": 48, "ᄊ": 49, "ᅱ": 50, "0": 51, "1": 52, "ᄍ": 53, "ᅫ": 54, "ᆹ": 55, "ᆽ": 56, "ᇁ": 57, "2": 58, "ᆮ": 59, "ᅤ": 60, "ᄈ": 61, "3": 62, "5": 63, "E": 64, "4": 65, "T": 66, "6": 67, "A": 68, "I": 69, "O": 70, "S": 71, "N": 72, "ᆾ": 73, "9": 74, "ᆩ": 75, "R": 76, "8": 77, "C": 78, "ᆰ": 79, "M": 80, "7": 81, "P": 82, "D": 83, "L": 84, "ᆱ": 85, "%": 86, "B": 87, "ᆶ": 88, "G": 89, "U": 90, "F": 91, "ᆲ": 92, "V": 93, "H": 94, "K": 95, "ᅰ": 96, "ᆬ": 97, "W": 98, "Y": 99, "X": 100, "Q": 101, "J": 102, "Z": 103, "ᆪ": 104, "ᆿ": 105, "ᆴ": 106, "'": 107, "ᆵ": 108, "ᆳ": 109, "°": 110}
|