jonatasgrosman
commited on
Commit
•
29f1892
1
Parent(s):
ef3831e
add LM
Browse files- alphabet.json +1 -0
- config.json +0 -1
- language_model/attrs.json +1 -0
- language_model/lm.binary +3 -0
- language_model/unigrams.txt +3 -0
- preprocessor_config.json +2 -1
- vocab.json +1 -1
alphabet.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"labels": ["", "<s>", "</s>", "⁇", " ", "'", "-", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "à", "á", "è", "é", "ì", "í", "ò", "ó", "ù", "ú", "š"], "is_bpe": false}
|
config.json
CHANGED
@@ -48,7 +48,6 @@
|
|
48 |
"feat_proj_dropout": 0.05,
|
49 |
"feat_quantizer_dropout": 0.0,
|
50 |
"final_dropout": 0.0,
|
51 |
-
"gradient_checkpointing": true,
|
52 |
"hidden_act": "gelu",
|
53 |
"hidden_dropout": 0.05,
|
54 |
"hidden_size": 1024,
|
|
|
48 |
"feat_proj_dropout": 0.05,
|
49 |
"feat_quantizer_dropout": 0.0,
|
50 |
"final_dropout": 0.0,
|
|
|
51 |
"hidden_act": "gelu",
|
52 |
"hidden_dropout": 0.05,
|
53 |
"hidden_size": 1024,
|
language_model/attrs.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"alpha": 0.5, "beta": 1.5, "unk_score_offset": -10.0, "score_boundary": true}
|
language_model/lm.binary
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a6ddf4ea4ce5e9db6269f9c77047ef358624804d940d0b23b2060ec69d22bb2d
|
3 |
+
size 1367488203
|
language_model/unigrams.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4933b4989784055c52c91c47919bc7068cebda3df31747b79aa091e283a512a7
|
3 |
+
size 9976833
|
preprocessor_config.json
CHANGED
@@ -5,5 +5,6 @@
|
|
5 |
"padding_side": "right",
|
6 |
"padding_value": 0.0,
|
7 |
"return_attention_mask": true,
|
8 |
-
"sampling_rate": 16000
|
|
|
9 |
}
|
|
|
5 |
"padding_side": "right",
|
6 |
"padding_value": 0.0,
|
7 |
"return_attention_mask": true,
|
8 |
+
"sampling_rate": 16000,
|
9 |
+
"processor_class": "Wav2Vec2ProcessorWithLM"
|
10 |
}
|
vocab.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"<pad>": 0, "<s>": 1, "</s>": 2, "<unk>": 3, "|": 4, "'": 5, "-": 6, "
|
|
|
1 |
+
{"<pad>": 0, "<s>": 1, "</s>": 2, "<unk>": 3, "|": 4, "'": 5, "-": 6, "a": 7, "b": 8, "c": 9, "d": 10, "e": 11, "f": 12, "g": 13, "h": 14, "i": 15, "j": 16, "k": 17, "l": 18, "m": 19, "n": 20, "o": 21, "p": 22, "q": 23, "r": 24, "s": 25, "t": 26, "u": 27, "v": 28, "w": 29, "x": 30, "y": 31, "z": 32, "à": 33, "á": 34, "è": 35, "é": 36, "ì": 37, "í": 38, "ò": 39, "ó": 40, "ù": 41, "ú": 42, "š": 43}
|