Xenova HF staff commited on
Commit
5a3362d
1 Parent(s): 6d82583

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "superb/hubert-base-superb-ks",
3
+ "activation_dropout": 0.1,
4
+ "apply_spec_augment": true,
5
+ "architectures": [
6
+ "HubertForSequenceClassification"
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": "sum",
40
+ "ctc_zero_infinity": false,
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
+ "id2label": {
55
+ "0": "yes",
56
+ "1": "no",
57
+ "2": "up",
58
+ "3": "down",
59
+ "4": "left",
60
+ "5": "right",
61
+ "6": "on",
62
+ "7": "off",
63
+ "8": "stop",
64
+ "9": "go",
65
+ "10": "_unknown_",
66
+ "11": "_silence_"
67
+ },
68
+ "initializer_range": 0.02,
69
+ "intermediate_size": 3072,
70
+ "label2id": {
71
+ "_silence_": 11,
72
+ "_unknown_": 10,
73
+ "down": 3,
74
+ "go": 9,
75
+ "left": 4,
76
+ "no": 1,
77
+ "off": 7,
78
+ "on": 6,
79
+ "right": 5,
80
+ "stop": 8,
81
+ "up": 2,
82
+ "yes": 0
83
+ },
84
+ "layer_norm_eps": 1e-05,
85
+ "layerdrop": 0.1,
86
+ "mask_feature_length": 10,
87
+ "mask_feature_min_masks": 0,
88
+ "mask_feature_prob": 0.0,
89
+ "mask_time_length": 10,
90
+ "mask_time_min_masks": 2,
91
+ "mask_time_prob": 0.05,
92
+ "model_type": "hubert",
93
+ "num_attention_heads": 12,
94
+ "num_conv_pos_embedding_groups": 16,
95
+ "num_conv_pos_embeddings": 128,
96
+ "num_feat_extract_layers": 7,
97
+ "num_hidden_layers": 12,
98
+ "pad_token_id": 0,
99
+ "problem_type": "single_label_classification",
100
+ "transformers_version": "4.36.0.dev0",
101
+ "use_weighted_layer_sum": true,
102
+ "vocab_size": 32
103
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e73a3aa8a41578913e96c5d9226d183d8c855578ca78bd690c296efae7561d55
3
+ size 378582012
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9a730cb20c09ae0cb8f2058508ebec4f5f30c9bddcdbcf653e3250939f45096
3
+ size 95871047
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,
7
+ "return_attention_mask": true,
8
+ "sampling_rate": 16000
9
+ }
quantize_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Erf",
8
+ "Add",
9
+ "Constant",
10
+ "Unsqueeze",
11
+ "Sqrt",
12
+ "InstanceNormalization",
13
+ "ReduceMean",
14
+ "Softmax",
15
+ "Pow",
16
+ "Conv",
17
+ "Reshape",
18
+ "Transpose",
19
+ "Slice",
20
+ "Mul",
21
+ "Shape",
22
+ "Gather",
23
+ "Div",
24
+ "MatMul",
25
+ "Sub",
26
+ "Concat",
27
+ "Gemm",
28
+ "ReduceSum"
29
+ ],
30
+ "weight_type": "QUInt8"
31
+ }
32
+ }
33
+ }