Rangan00 commited on
Commit
8de6e0b
1 Parent(s): 3c81ec7

Upload model

Browse files
config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Harveenchadha/vakyansh-wav2vec2-sanskrit-sam-60",
3
+ "activation_dropout": 0.1,
4
+ "adapter_attn_dim": null,
5
+ "adapter_kernel_size": 3,
6
+ "adapter_stride": 2,
7
+ "add_adapter": false,
8
+ "apply_spec_augment": true,
9
+ "architectures": [
10
+ "Wav2Vec2ForCTC"
11
+ ],
12
+ "attention_dropout": 0.1,
13
+ "bos_token": "<s>",
14
+ "bos_token_id": 0,
15
+ "classifier_proj_size": 256,
16
+ "codevector_dim": 256,
17
+ "contrastive_logits_temperature": 0.1,
18
+ "conv_bias": false,
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": false,
48
+ "diversity_loss_weight": 0.1,
49
+ "do_lower_case": false,
50
+ "do_stable_layer_norm": false,
51
+ "eos_token": "</s>",
52
+ "eos_token_id": 2,
53
+ "feat_extract_activation": "gelu",
54
+ "feat_extract_norm": "group",
55
+ "feat_proj_dropout": 0.1,
56
+ "feat_quantizer_dropout": 0.0,
57
+ "final_dropout": 0.1,
58
+ "gradient_checkpointing": false,
59
+ "hidden_act": "gelu",
60
+ "hidden_dropout": 0.1,
61
+ "hidden_size": 768,
62
+ "initializer_range": 0.02,
63
+ "intermediate_size": 3072,
64
+ "layer_norm_eps": 1e-05,
65
+ "layerdrop": 0.1,
66
+ "mask_feature_length": 10,
67
+ "mask_feature_min_masks": 0,
68
+ "mask_feature_prob": 0.0,
69
+ "mask_time_length": 10,
70
+ "mask_time_min_masks": 2,
71
+ "mask_time_prob": 0.05,
72
+ "model_type": "wav2vec2",
73
+ "num_adapter_layers": 3,
74
+ "num_attention_heads": 12,
75
+ "num_codevector_groups": 2,
76
+ "num_codevectors_per_group": 320,
77
+ "num_conv_pos_embedding_groups": 16,
78
+ "num_conv_pos_embeddings": 128,
79
+ "num_feat_extract_layers": 7,
80
+ "num_hidden_layers": 12,
81
+ "num_negatives": 100,
82
+ "output_hidden_size": 768,
83
+ "pad_token": "[PAD]",
84
+ "pad_token_id": 1,
85
+ "proj_codevector_dim": 256,
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.41.2",
109
+ "unk_token": "[UNK]",
110
+ "use_weighted_layer_sum": false,
111
+ "vocab_size": 67,
112
+ "word_delimiter_token": "|",
113
+ "xvector_output_dim": 512
114
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc52a43f6dd7d4fae28f132fcb2ec3e548275d65c7f3609b3dc5af5c221006a8
3
+ size 377718788
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
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": true,
6
+ "normalized": false,
7
+ "rstrip": true,
8
+ "single_word": false,
9
+ "special": false
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": true,
14
+ "normalized": false,
15
+ "rstrip": true,
16
+ "single_word": false,
17
+ "special": false
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": true,
22
+ "normalized": false,
23
+ "rstrip": true,
24
+ "single_word": false,
25
+ "special": false
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": true,
30
+ "normalized": false,
31
+ "rstrip": true,
32
+ "single_word": false,
33
+ "special": false
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49aeb2d07bd871f6024ac1f79ea538091770c67576149fcccdf9c63962e52cc1
3
+ size 5048
vocab.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</s>": 2,
3
+ "<pad>": 1,
4
+ "<s>": 0,
5
+ "<unk>": 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
+ "ध": 37,
40
+ "न": 38,
41
+ "प": 39,
42
+ "फ": 40,
43
+ "ब": 41,
44
+ "भ": 42,
45
+ "म": 43,
46
+ "य": 44,
47
+ "र": 45,
48
+ "ल": 46,
49
+ "ळ": 47,
50
+ "व": 48,
51
+ "श": 49,
52
+ "ष": 50,
53
+ "स": 51,
54
+ "ह": 52,
55
+ "ऽ": 53,
56
+ "ा": 54,
57
+ "ि": 55,
58
+ "ी": 56,
59
+ "ु": 57,
60
+ "ू": 58,
61
+ "ृ": 59,
62
+ "ॄ": 60,
63
+ "े": 61,
64
+ "ै": 62,
65
+ "ो": 63,
66
+ "ौ": 64,
67
+ "्": 65,
68
+ "ॠ": 66
69
+ }