Update from gris
Browse files- config.json +80 -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,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "lgris/commonvoice100-xlsr",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"apply_spec_augment": true,
|
5 |
+
"architectures": [
|
6 |
+
"Wav2Vec2ForCTC"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"classifier_proj_size": 256,
|
11 |
+
"codevector_dim": 256,
|
12 |
+
"contrastive_logits_temperature": 0.1,
|
13 |
+
"conv_bias": true,
|
14 |
+
"conv_dim": [
|
15 |
+
512,
|
16 |
+
512,
|
17 |
+
512,
|
18 |
+
512,
|
19 |
+
512,
|
20 |
+
512,
|
21 |
+
512
|
22 |
+
],
|
23 |
+
"conv_kernel": [
|
24 |
+
10,
|
25 |
+
3,
|
26 |
+
3,
|
27 |
+
3,
|
28 |
+
3,
|
29 |
+
2,
|
30 |
+
2
|
31 |
+
],
|
32 |
+
"conv_stride": [
|
33 |
+
5,
|
34 |
+
2,
|
35 |
+
2,
|
36 |
+
2,
|
37 |
+
2,
|
38 |
+
2,
|
39 |
+
2
|
40 |
+
],
|
41 |
+
"ctc_loss_reduction": "sum",
|
42 |
+
"ctc_zero_infinity": false,
|
43 |
+
"diversity_loss_weight": 0.1,
|
44 |
+
"do_stable_layer_norm": true,
|
45 |
+
"eos_token_id": 2,
|
46 |
+
"feat_extract_activation": "gelu",
|
47 |
+
"feat_extract_dropout": 0.0,
|
48 |
+
"feat_extract_norm": "layer",
|
49 |
+
"feat_proj_dropout": 0.1,
|
50 |
+
"feat_quantizer_dropout": 0.0,
|
51 |
+
"final_dropout": 0.1,
|
52 |
+
"gradient_checkpointing": false,
|
53 |
+
"hidden_act": "gelu",
|
54 |
+
"hidden_dropout": 0.1,
|
55 |
+
"hidden_dropout_prob": 0.1,
|
56 |
+
"hidden_size": 1024,
|
57 |
+
"initializer_range": 0.02,
|
58 |
+
"intermediate_size": 4096,
|
59 |
+
"layer_norm_eps": 1e-05,
|
60 |
+
"layerdrop": 0.1,
|
61 |
+
"mask_feature_length": 10,
|
62 |
+
"mask_feature_prob": 0.0,
|
63 |
+
"mask_time_length": 10,
|
64 |
+
"mask_time_prob": 0.05,
|
65 |
+
"model_type": "wav2vec2",
|
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_feat_extract_layers": 7,
|
72 |
+
"num_hidden_layers": 24,
|
73 |
+
"num_negatives": 100,
|
74 |
+
"pad_token_id": 0,
|
75 |
+
"proj_codevector_dim": 256,
|
76 |
+
"torch_dtype": "float32",
|
77 |
+
"transformers_version": "4.12.3",
|
78 |
+
"use_weighted_layer_sum": false,
|
79 |
+
"vocab_size": 45
|
80 |
+
}
|
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:bbda01d3028d5656a31380a4ec3a38d195be306ef28fa82562db3dcf1afce533
|
3 |
+
size 1262102257
|
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": "|", "tokenizer_class": "Wav2Vec2CTCTokenizer"}
|
vocab.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"<pad>": 0, "<s>": 1, "</s>": 2, "<unk>": 3, "|": 4, "a": 5, "e": 6, "o": 7, "s": 8, "r": 9, "i": 10, "n": 11, "m": 12, "u": 13, "d": 14, "t": 15, "c": 16, "l": 17, "p": 18, "v": 19, "h": 20, "g": 21, "f": 22, "b": 23, "q": 24, "ã": 25, "á": 26, "é": 27, "ç": 28, "z": 29, "ê": 30, "j": 31, "x": 32, "í": 33, "ó": 34, "-": 35, "ô": 36, "ú": 37, "õ": 38, "k": 39, "y": 40, "à": 41, "w": 42, "â": 43, "û": 44}
|