speech-test
commited on
Commit
•
20f885c
1
Parent(s):
e2e5748
Upload model
Browse files- config.json +101 -0
- preprocessor_config.json +9 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- vocab.json +1 -0
config.json
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/hubert-base-ls960",
|
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 |
+
"final_dropout": 0.1,
|
48 |
+
"gradient_checkpointing": false,
|
49 |
+
"hidden_act": "gelu",
|
50 |
+
"hidden_dropout": 0.1,
|
51 |
+
"hidden_dropout_prob": 0.1,
|
52 |
+
"hidden_size": 768,
|
53 |
+
"id2label": {
|
54 |
+
"0": "yes",
|
55 |
+
"1": "no",
|
56 |
+
"2": "up",
|
57 |
+
"3": "down",
|
58 |
+
"4": "left",
|
59 |
+
"5": "right",
|
60 |
+
"6": "on",
|
61 |
+
"7": "off",
|
62 |
+
"8": "stop",
|
63 |
+
"9": "go",
|
64 |
+
"10": "_unknown_",
|
65 |
+
"11": "_silence_"
|
66 |
+
},
|
67 |
+
"initializer_range": 0.02,
|
68 |
+
"intermediate_size": 3072,
|
69 |
+
"label2id": {
|
70 |
+
"_silence_": 11,
|
71 |
+
"_unknown_": 10,
|
72 |
+
"down": 3,
|
73 |
+
"go": 9,
|
74 |
+
"left": 4,
|
75 |
+
"no": 1,
|
76 |
+
"off": 7,
|
77 |
+
"on": 6,
|
78 |
+
"right": 5,
|
79 |
+
"stop": 8,
|
80 |
+
"up": 2,
|
81 |
+
"yes": 0
|
82 |
+
},
|
83 |
+
"layer_norm_eps": 1e-05,
|
84 |
+
"layerdrop": 0.1,
|
85 |
+
"mask_feature_length": 10,
|
86 |
+
"mask_feature_prob": 0.0,
|
87 |
+
"mask_time_length": 10,
|
88 |
+
"mask_time_prob": 0.05,
|
89 |
+
"model_type": "hubert",
|
90 |
+
"num_attention_heads": 12,
|
91 |
+
"num_conv_pos_embedding_groups": 16,
|
92 |
+
"num_conv_pos_embeddings": 128,
|
93 |
+
"num_feat_extract_layers": 7,
|
94 |
+
"num_hidden_layers": 12,
|
95 |
+
"pad_token_id": 0,
|
96 |
+
"problem_type": "single_label_classification",
|
97 |
+
"torch_dtype": "float32",
|
98 |
+
"transformers_version": "4.10.0.dev0",
|
99 |
+
"use_weighted_layer_sum": true,
|
100 |
+
"vocab_size": 32
|
101 |
+
}
|
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,
|
7 |
+
"return_attention_mask": false,
|
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:8bd806a9b8e966f16878c5e3b04c360a33627ac4d6c0cab576425bf8a7b3c139
|
3 |
+
size 378368465
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "pad_token": "<pad>", "do_lower_case": false, "word_delimiter_token": "|", "return_attention_mask": false, "do_normalize": true, "model_max_length": 9223372036854775807, "special_tokens_map_file": "/home/crocopie/.cache/huggingface/transformers/208086b2429fa2ba5b196810c1bcd7d61e2c8d4afd65d05d0670096d735fd5bb.9d6cd81ef646692fb1c169a880161ea1cb95f49694f220aced9b704b457e51dd", "tokenizer_file": null, "name_or_path": "facebook/wav2vec2-base-960h", "tokenizer_class": "Wav2Vec2CTCTokenizer"}
|
vocab.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"<pad>": 0, "<s>": 1, "</s>": 2, "<unk>": 3, "|": 4, "E": 5, "T": 6, "A": 7, "O": 8, "N": 9, "I": 10, "H": 11, "S": 12, "R": 13, "D": 14, "L": 15, "U": 16, "M": 17, "W": 18, "C": 19, "F": 20, "G": 21, "Y": 22, "P": 23, "B": 24, "V": 25, "K": 26, "'": 27, "X": 28, "J": 29, "Q": 30, "Z": 31}
|