patrickvonplaten
commited on
Commit
•
5596168
1
Parent(s):
88563d1
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": 62,
|
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": 63,
|
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": 61,
|
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": 65
|
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:4543945a02416312ce57518f2566291dd3b99afc3a15b303c93907f98ca7ff17
|
3 |
+
size 631197591
|
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 |
+
{"e": 0, "tʃ": 1, "r": 2, "k": 3, "ɔ": 4, "d": 5, "ɪ": 6, "a": 7, "j": 8, "ʊ": 9, "t": 10, "i": 11, "l": 12, "p": 13, "ɡ": 14, "tː": 15, "n": 16, "o": 17, "ɛ": 18, "ɾ": 19, "m": 20, "u": 21, "s": 22, "iː": 23, "ss": 24, "b": 25, "v": 26, "dʒ": 27, "f": 28, "w": 29, "z": 30, "ʃ": 31, "ɲ": 32, "ʎ": 33, "eɪ": 34, "t̪": 35, "ts": 36, "pː": 37, "dʒː": 38, "dzː": 39, "ɔː": 40, "uː": 41, "kː": 42, "bː": 43, "aɪ": 44, "ŋ": 45, "tsː": 46, "dː": 47, "d̪": 48, "tʃː": 49, "aː": 50, "h": 51, "eː": 52, "ɛː": 53, "dz": 54, "oː": 55, "ɡː": 56, "ʒ": 57, "ɪː": 58, "oɪ": 59, "ʊː": 60, "<s>": 43, "<pad>": 42, "</s>": 63, "<unk>": 64}
|