speech-test
commited on
Commit
•
2838dc5
1
Parent(s):
52f99ee
Upload
Browse files- config.json +91 -0
- preprocessor_config.json +9 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "anton-l/wav2vec2-random-tiny-classifier",
|
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": 16,
|
11 |
+
"codevector_dim": 256,
|
12 |
+
"contrastive_logits_temperature": 0.1,
|
13 |
+
"conv_bias": false,
|
14 |
+
"conv_dim": [
|
15 |
+
32
|
16 |
+
],
|
17 |
+
"conv_kernel": [
|
18 |
+
2
|
19 |
+
],
|
20 |
+
"conv_stride": [
|
21 |
+
320
|
22 |
+
],
|
23 |
+
"ctc_loss_reduction": "sum",
|
24 |
+
"ctc_zero_infinity": false,
|
25 |
+
"diversity_loss_weight": 0.1,
|
26 |
+
"do_stable_layer_norm": false,
|
27 |
+
"eos_token_id": 2,
|
28 |
+
"feat_extract_activation": "gelu",
|
29 |
+
"feat_extract_norm": "group",
|
30 |
+
"feat_proj_dropout": 0.1,
|
31 |
+
"feat_quantizer_dropout": 0.0,
|
32 |
+
"final_dropout": 0.0,
|
33 |
+
"freeze_feat_extract_train": true,
|
34 |
+
"gradient_checkpointing": true,
|
35 |
+
"hidden_act": "gelu",
|
36 |
+
"hidden_dropout": 0.1,
|
37 |
+
"hidden_size": 32,
|
38 |
+
"id2label": {
|
39 |
+
"0": "yes",
|
40 |
+
"1": "no",
|
41 |
+
"2": "up",
|
42 |
+
"3": "down",
|
43 |
+
"4": "left",
|
44 |
+
"5": "right",
|
45 |
+
"6": "on",
|
46 |
+
"7": "off",
|
47 |
+
"8": "stop",
|
48 |
+
"9": "go",
|
49 |
+
"10": "_unknown_",
|
50 |
+
"11": "_silence_"
|
51 |
+
},
|
52 |
+
"initializer_range": 0.02,
|
53 |
+
"intermediate_size": 32,
|
54 |
+
"label2id": {
|
55 |
+
"_silence_": 11,
|
56 |
+
"_unknown_": 10,
|
57 |
+
"down": 3,
|
58 |
+
"go": 9,
|
59 |
+
"left": 4,
|
60 |
+
"no": 1,
|
61 |
+
"off": 7,
|
62 |
+
"on": 6,
|
63 |
+
"right": 5,
|
64 |
+
"stop": 8,
|
65 |
+
"up": 2,
|
66 |
+
"yes": 0
|
67 |
+
},
|
68 |
+
"layer_norm_eps": 1e-05,
|
69 |
+
"layerdrop": 0.05,
|
70 |
+
"mask_feature_length": 10,
|
71 |
+
"mask_feature_prob": 0.0,
|
72 |
+
"mask_time_length": 10,
|
73 |
+
"mask_time_prob": 0.05,
|
74 |
+
"model_type": "wav2vec2",
|
75 |
+
"no_mask_channel_overlap": false,
|
76 |
+
"no_mask_time_overlap": false,
|
77 |
+
"num_attention_heads": 2,
|
78 |
+
"num_codevector_groups": 2,
|
79 |
+
"num_codevectors_per_group": 320,
|
80 |
+
"num_conv_pos_embedding_groups": 2,
|
81 |
+
"num_conv_pos_embeddings": 8,
|
82 |
+
"num_feat_extract_layers": 1,
|
83 |
+
"num_hidden_layers": 2,
|
84 |
+
"num_negatives": 100,
|
85 |
+
"pad_token_id": 0,
|
86 |
+
"proj_codevector_dim": 256,
|
87 |
+
"torch_dtype": "float32",
|
88 |
+
"transformers_version": "4.10.0.dev0",
|
89 |
+
"use_weighted_layer_sum": true,
|
90 |
+
"vocab_size": 32
|
91 |
+
}
|
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:9644bc4ac6bc52b76ca7342faa1304a68154f398ad1adf08f6cc5545dfc96198
|
3 |
+
size 94607
|