blackhole33
commited on
Commit
•
ed66e1d
1
Parent(s):
cd48914
Upload AutomaticSpeechRecognitionPipeline
Browse files- added_tokens.json +4 -0
- config.json +82 -0
- model.safetensors +3 -0
- preprocessor_config.json +10 -0
- special_tokens_map.json +6 -0
- tokenizer_config.json +47 -0
- vocab.json +77 -0
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 76,
|
3 |
+
"<s>": 75
|
4 |
+
}
|
config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./results/georgian/20240902_120509/checkpoint-18990/",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"adapter_act": "relu",
|
5 |
+
"adapter_kernel_size": 3,
|
6 |
+
"adapter_stride": 2,
|
7 |
+
"add_adapter": true,
|
8 |
+
"apply_spec_augment": false,
|
9 |
+
"architectures": [
|
10 |
+
"Wav2Vec2BertForCTC"
|
11 |
+
],
|
12 |
+
"attention_dropout": 0.0,
|
13 |
+
"bos_token_id": 1,
|
14 |
+
"classifier_proj_size": 768,
|
15 |
+
"codevector_dim": 768,
|
16 |
+
"conformer_conv_dropout": 0.1,
|
17 |
+
"contrastive_logits_temperature": 0.1,
|
18 |
+
"conv_depthwise_kernel_size": 31,
|
19 |
+
"ctc_loss_reduction": "mean",
|
20 |
+
"ctc_zero_infinity": true,
|
21 |
+
"diversity_loss_weight": 0.1,
|
22 |
+
"eos_token_id": 2,
|
23 |
+
"feat_proj_dropout": 0.0,
|
24 |
+
"feat_quantizer_dropout": 0.0,
|
25 |
+
"feature_projection_input_dim": 160,
|
26 |
+
"final_dropout": 0.1,
|
27 |
+
"hidden_act": "swish",
|
28 |
+
"hidden_dropout": 0.0,
|
29 |
+
"hidden_size": 1024,
|
30 |
+
"initializer_range": 0.02,
|
31 |
+
"intermediate_size": 4096,
|
32 |
+
"layer_norm_eps": 1e-05,
|
33 |
+
"layerdrop": 0.0,
|
34 |
+
"left_max_position_embeddings": 64,
|
35 |
+
"mask_feature_length": 10,
|
36 |
+
"mask_feature_min_masks": 0,
|
37 |
+
"mask_feature_prob": 0.0,
|
38 |
+
"mask_time_length": 10,
|
39 |
+
"mask_time_min_masks": 2,
|
40 |
+
"mask_time_prob": 0.0,
|
41 |
+
"max_source_positions": 5000,
|
42 |
+
"model_type": "wav2vec2-bert",
|
43 |
+
"num_adapter_layers": 1,
|
44 |
+
"num_attention_heads": 16,
|
45 |
+
"num_codevector_groups": 2,
|
46 |
+
"num_codevectors_per_group": 320,
|
47 |
+
"num_hidden_layers": 24,
|
48 |
+
"num_negatives": 100,
|
49 |
+
"output_hidden_size": 1024,
|
50 |
+
"pad_token_id": 74,
|
51 |
+
"position_embeddings_type": "relative_key",
|
52 |
+
"proj_codevector_dim": 768,
|
53 |
+
"right_max_position_embeddings": 8,
|
54 |
+
"rotary_embedding_base": 10000,
|
55 |
+
"tdnn_dilation": [
|
56 |
+
1,
|
57 |
+
2,
|
58 |
+
3,
|
59 |
+
1,
|
60 |
+
1
|
61 |
+
],
|
62 |
+
"tdnn_dim": [
|
63 |
+
512,
|
64 |
+
512,
|
65 |
+
512,
|
66 |
+
512,
|
67 |
+
1500
|
68 |
+
],
|
69 |
+
"tdnn_kernel": [
|
70 |
+
5,
|
71 |
+
3,
|
72 |
+
3,
|
73 |
+
1,
|
74 |
+
1
|
75 |
+
],
|
76 |
+
"torch_dtype": "float32",
|
77 |
+
"transformers_version": "4.44.2",
|
78 |
+
"use_intermediate_ffn_before_adapter": false,
|
79 |
+
"use_weighted_layer_sum": false,
|
80 |
+
"vocab_size": 77,
|
81 |
+
"xvector_output_dim": 512
|
82 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26ace0a6eccc6936caf95892c0044ecadfc077f2de29d68629832e3eedd7d634
|
3 |
+
size 2423130260
|
preprocessor_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"feature_extractor_type": "SeamlessM4TFeatureExtractor",
|
3 |
+
"feature_size": 80,
|
4 |
+
"num_mel_bins": 80,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0.0,
|
7 |
+
"return_attention_mask": true,
|
8 |
+
"sampling_rate": 16000,
|
9 |
+
"stride": 2
|
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,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"73": {
|
4 |
+
"content": "[UNK]",
|
5 |
+
"lstrip": true,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": true,
|
8 |
+
"single_word": false,
|
9 |
+
"special": false
|
10 |
+
},
|
11 |
+
"74": {
|
12 |
+
"content": "[PAD]",
|
13 |
+
"lstrip": true,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": true,
|
16 |
+
"single_word": false,
|
17 |
+
"special": false
|
18 |
+
},
|
19 |
+
"75": {
|
20 |
+
"content": "<s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"76": {
|
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 |
+
"replace_word_delimiter_char": " ",
|
43 |
+
"target_lang": null,
|
44 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
45 |
+
"unk_token": "[UNK]",
|
46 |
+
"word_delimiter_token": "|"
|
47 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[PAD]": 74,
|
3 |
+
"[UNK]": 73,
|
4 |
+
"\\": 1,
|
5 |
+
"`": 2,
|
6 |
+
"a": 3,
|
7 |
+
"b": 4,
|
8 |
+
"c": 5,
|
9 |
+
"d": 6,
|
10 |
+
"e": 7,
|
11 |
+
"f": 8,
|
12 |
+
"g": 9,
|
13 |
+
"h": 10,
|
14 |
+
"i": 11,
|
15 |
+
"j": 12,
|
16 |
+
"k": 13,
|
17 |
+
"l": 14,
|
18 |
+
"m": 15,
|
19 |
+
"n": 16,
|
20 |
+
"o": 17,
|
21 |
+
"p": 18,
|
22 |
+
"q": 19,
|
23 |
+
"r": 20,
|
24 |
+
"s": 21,
|
25 |
+
"t": 22,
|
26 |
+
"u": 23,
|
27 |
+
"v": 24,
|
28 |
+
"w": 25,
|
29 |
+
"x": 26,
|
30 |
+
"y": 27,
|
31 |
+
"z": 28,
|
32 |
+
"|": 0,
|
33 |
+
"¬": 29,
|
34 |
+
"´": 30,
|
35 |
+
"ò": 31,
|
36 |
+
"õ": 32,
|
37 |
+
"ı": 33,
|
38 |
+
"ƣ": 34,
|
39 |
+
"ʻ": 35,
|
40 |
+
"ʼ": 36,
|
41 |
+
"а": 37,
|
42 |
+
"б": 38,
|
43 |
+
"в": 39,
|
44 |
+
"г": 40,
|
45 |
+
"д": 41,
|
46 |
+
"е": 42,
|
47 |
+
"ж": 43,
|
48 |
+
"з": 44,
|
49 |
+
"и": 45,
|
50 |
+
"й": 46,
|
51 |
+
"к": 47,
|
52 |
+
"л": 48,
|
53 |
+
"м": 49,
|
54 |
+
"н": 50,
|
55 |
+
"о": 51,
|
56 |
+
"п": 52,
|
57 |
+
"р": 53,
|
58 |
+
"с": 54,
|
59 |
+
"т": 55,
|
60 |
+
"у": 56,
|
61 |
+
"ч": 57,
|
62 |
+
"ы": 58,
|
63 |
+
"ь": 59,
|
64 |
+
"э": 60,
|
65 |
+
"ё": 61,
|
66 |
+
"ў": 62,
|
67 |
+
"ғ": 63,
|
68 |
+
"қ": 64,
|
69 |
+
"ҳ": 65,
|
70 |
+
"‒": 66,
|
71 |
+
"–": 67,
|
72 |
+
"—": 68,
|
73 |
+
"―": 69,
|
74 |
+
"’": 70,
|
75 |
+
"•": 71,
|
76 |
+
"…": 72
|
77 |
+
}
|