patrickvonplaten
commited on
Commit
•
9b0d9e1
1
Parent(s):
560ce4e
add model
Browse files- config.json +83 -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,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.0,
|
3 |
+
"apply_spec_augment": true,
|
4 |
+
"architectures": [
|
5 |
+
"UniSpeechForCTC"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"bos_token_id": 40,
|
9 |
+
"classifier_proj_size": 256,
|
10 |
+
"codevector_dim": 768,
|
11 |
+
"contrastive_logits_temperature": 0.1,
|
12 |
+
"conv_bias": true,
|
13 |
+
"conv_dim": [
|
14 |
+
512,
|
15 |
+
512,
|
16 |
+
512,
|
17 |
+
512,
|
18 |
+
512,
|
19 |
+
512,
|
20 |
+
512
|
21 |
+
],
|
22 |
+
"conv_kernel": [
|
23 |
+
10,
|
24 |
+
3,
|
25 |
+
3,
|
26 |
+
3,
|
27 |
+
3,
|
28 |
+
2,
|
29 |
+
2
|
30 |
+
],
|
31 |
+
"conv_stride": [
|
32 |
+
5,
|
33 |
+
2,
|
34 |
+
2,
|
35 |
+
2,
|
36 |
+
2,
|
37 |
+
2,
|
38 |
+
2
|
39 |
+
],
|
40 |
+
"ctc_loss_reduction": "mean",
|
41 |
+
"ctc_zero_infinity": false,
|
42 |
+
"diversity_loss_weight": 0.1,
|
43 |
+
"do_stable_layer_norm": true,
|
44 |
+
"eos_token_id": 41,
|
45 |
+
"feat_extract_activation": "gelu",
|
46 |
+
"feat_extract_dropout": 0.0,
|
47 |
+
"feat_extract_norm": "layer",
|
48 |
+
"feat_proj_dropout": 0.1,
|
49 |
+
"feat_quantizer_dropout": 0.0,
|
50 |
+
"final_dropout": 0.0,
|
51 |
+
"hidden_act": "gelu",
|
52 |
+
"hidden_dropout": 0.1,
|
53 |
+
"hidden_size": 1024,
|
54 |
+
"initializer_range": 0.02,
|
55 |
+
"intermediate_size": 4096,
|
56 |
+
"layer_norm_eps": 1e-05,
|
57 |
+
"layerdrop": 0.1,
|
58 |
+
"mask_channel_length": 10,
|
59 |
+
"mask_channel_prob": 0.0,
|
60 |
+
"mask_feature_length": 10,
|
61 |
+
"mask_feature_prob": 0.0,
|
62 |
+
"mask_time_length": 10,
|
63 |
+
"mask_time_min_space": 1,
|
64 |
+
"mask_time_prob": 0.075,
|
65 |
+
"model_type": "unispeech",
|
66 |
+
"num_attention_heads": 16,
|
67 |
+
"num_codevector_groups": 2,
|
68 |
+
"num_codevectors_per_group": 320,
|
69 |
+
"num_conv_pos_embedding_groups": 16,
|
70 |
+
"num_conv_pos_embeddings": 128,
|
71 |
+
"num_ctc_classes": 80,
|
72 |
+
"num_feat_extract_layers": 7,
|
73 |
+
"num_hidden_layers": 24,
|
74 |
+
"num_negatives": 100,
|
75 |
+
"pad_token_id": 39,
|
76 |
+
"proj_codevector_dim": 768,
|
77 |
+
"replace_prob": 0.5,
|
78 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
79 |
+
"torch_dtype": "float16",
|
80 |
+
"transformers_version": "4.13.0.dev0",
|
81 |
+
"use_weighted_layer_sum": false,
|
82 |
+
"vocab_size": 43
|
83 |
+
}
|
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": 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:89d827a1e4cf3a98c809f93464c8395ed9b9b013c341ac0390a6be0ae9042770
|
3 |
+
size 631240535
|
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>", "phonemizer_lang": "en-us", "phonemizer_backend": "espeak", "word_delimiter_token": "|", "do_lower_case": false, "tokenizer_class": "Wav2Vec2PhonemeCTCTokenizer"}
|
vocab.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"d[": 0, "o": 1, "l": 2, "b": 3, "o:": 4, "r": 5, "dZ": 6, "ɑ": 7, "S": 8, "ɯ": 9, "q": 10, "u": 11, "oe": 12, "n": 13, "y": 14, "ɡ": 15, "t[": 16, "ʁ": 17, "N": 18, "j": 19, "m": 20, "s": 21, "p": 22, "e": 23, "tS": 24, "k": 25, "i": 26, "u:": 27, "z": 28, "ts": 29, "ɑ:": 30, "ə": 31, "oe:": 32, "v": 33, "y:": 34, "e:": 35, "f": 36, "X": 37, "i:": 38, "<s>": 43, "<pad>": 42, "</s>": 41, "<unk>": 42}
|