jonatasgrosman
commited on
Commit
•
17e5c76
1
Parent(s):
389ef3a
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
@@ -44,7 +44,6 @@
|
|
44 |
"feat_extract_norm": "layer",
|
45 |
"feat_proj_dropout": 0.05,
|
46 |
"final_dropout": 0.0,
|
47 |
-
"gradient_checkpointing": true,
|
48 |
"hidden_act": "gelu",
|
49 |
"hidden_dropout": 0.05,
|
50 |
"hidden_size": 1024,
|
|
|
44 |
"feat_extract_norm": "layer",
|
45 |
"feat_proj_dropout": 0.05,
|
46 |
"final_dropout": 0.0,
|
|
|
47 |
"hidden_act": "gelu",
|
48 |
"hidden_dropout": 0.05,
|
49 |
"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:3ec8c1fa65bd99a5241ec147c0a082060f290181af1068afb945f5d44e29b35a
|
3 |
+
size 1196198232
|
language_model/unigrams.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3b8b45bbb07fedafbcbbd9b25bed8a3c6a19a802636c20273fc610f540fcca9
|
3 |
+
size 9337543
|
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}
|