speech-test commited on
Commit
f225ffc
1 Parent(s): 33078c2

Upload model

Browse files
Files changed (3) hide show
  1. config.json +141 -0
  2. preprocessor_config.json +9 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/wav2vec2-base",
3
+ "activation_dropout": 0.0,
4
+ "apply_spec_augment": true,
5
+ "architectures": [
6
+ "Wav2Vec2ForSequenceClassification"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "bos_token_id": 1,
10
+ "classifier_proj_size": 256,
11
+ "codevector_dim": 256,
12
+ "contrastive_logits_temperature": 0.1,
13
+ "conv_bias": false,
14
+ "conv_dim": [
15
+ 512,
16
+ 512,
17
+ 512,
18
+ 512,
19
+ 512,
20
+ 512,
21
+ 512
22
+ ],
23
+ "conv_kernel": [
24
+ 10,
25
+ 3,
26
+ 3,
27
+ 3,
28
+ 3,
29
+ 2,
30
+ 2
31
+ ],
32
+ "conv_stride": [
33
+ 5,
34
+ 2,
35
+ 2,
36
+ 2,
37
+ 2,
38
+ 2,
39
+ 2
40
+ ],
41
+ "ctc_loss_reduction": "sum",
42
+ "ctc_zero_infinity": false,
43
+ "diversity_loss_weight": 0.1,
44
+ "do_stable_layer_norm": false,
45
+ "eos_token_id": 2,
46
+ "feat_extract_activation": "gelu",
47
+ "feat_extract_norm": "group",
48
+ "feat_proj_dropout": 0.1,
49
+ "feat_quantizer_dropout": 0.0,
50
+ "final_dropout": 0.0,
51
+ "freeze_feat_extract_train": true,
52
+ "gradient_checkpointing": true,
53
+ "hidden_act": "gelu",
54
+ "hidden_dropout": 0.1,
55
+ "hidden_size": 768,
56
+ "id2label": {
57
+ "0": "change language",
58
+ "1": "activate",
59
+ "2": "deactivate",
60
+ "3": "increase",
61
+ "4": "decrease",
62
+ "5": "bring",
63
+ "6": "none_object",
64
+ "7": "music",
65
+ "8": "lights",
66
+ "9": "volume",
67
+ "10": "heat",
68
+ "11": "lamp",
69
+ "12": "newspaper",
70
+ "13": "juice",
71
+ "14": "socks",
72
+ "15": "Chinese",
73
+ "16": "Korean",
74
+ "17": "English",
75
+ "18": "German",
76
+ "19": "shoes",
77
+ "20": "none_location",
78
+ "21": "kitchen",
79
+ "22": "bedroom",
80
+ "23": "washroom"
81
+ },
82
+ "initializer_range": 0.02,
83
+ "intermediate_size": 3072,
84
+ "label2id": {
85
+ "Chinese": 15,
86
+ "English": 17,
87
+ "German": 18,
88
+ "Korean": 16,
89
+ "activate": 1,
90
+ "bedroom": 22,
91
+ "bring": 5,
92
+ "change language": 0,
93
+ "deactivate": 2,
94
+ "decrease": 4,
95
+ "heat": 10,
96
+ "increase": 3,
97
+ "juice": 13,
98
+ "kitchen": 21,
99
+ "lamp": 11,
100
+ "lights": 8,
101
+ "music": 7,
102
+ "newspaper": 12,
103
+ "none_location": 20,
104
+ "none_object": 6,
105
+ "shoes": 19,
106
+ "socks": 14,
107
+ "volume": 9,
108
+ "washroom": 23
109
+ },
110
+ "layer_norm_eps": 1e-05,
111
+ "layerdrop": 0.05,
112
+ "mask_channel_length": 10,
113
+ "mask_channel_min_space": 1,
114
+ "mask_channel_other": 0.0,
115
+ "mask_channel_prob": 0.0,
116
+ "mask_channel_selection": "static",
117
+ "mask_feature_length": 10,
118
+ "mask_feature_prob": 0.0,
119
+ "mask_time_length": 10,
120
+ "mask_time_min_space": 1,
121
+ "mask_time_other": 0.0,
122
+ "mask_time_prob": 0.05,
123
+ "mask_time_selection": "static",
124
+ "model_type": "wav2vec2",
125
+ "no_mask_channel_overlap": false,
126
+ "no_mask_time_overlap": false,
127
+ "num_attention_heads": 12,
128
+ "num_codevector_groups": 2,
129
+ "num_codevectors_per_group": 320,
130
+ "num_conv_pos_embedding_groups": 16,
131
+ "num_conv_pos_embeddings": 128,
132
+ "num_feat_extract_layers": 7,
133
+ "num_hidden_layers": 12,
134
+ "num_negatives": 100,
135
+ "pad_token_id": 0,
136
+ "proj_codevector_dim": 256,
137
+ "torch_dtype": "float32",
138
+ "transformers_version": "4.10.0.dev0",
139
+ "use_weighted_layer_sum": true,
140
+ "vocab_size": 32
141
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": false,
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:5e1a902a3e157baabcc01424c49cf3958e41031139a88dd752a35bfbfc538242
3
+ size 378381649