aapot
commited on
Commit
•
ce1ef88
1
Parent(s):
4c8b1aa
Add new LM
Browse files- alphabet.json +1 -1
- language_model/.ipynb_checkpoints/attrs-checkpoint.json +0 -1
- language_model/.ipynb_checkpoints/unigrams-checkpoint.txt +0 -0
- language_model/{kenlm_fi_model_correct.bin → kenlm_finnish.bin} +2 -2
- language_model/unigrams.txt +0 -0
- preprocessor_config.json +2 -2
- special_tokens_map.json +1 -1
- tokenizer_config.json +1 -1
alphabet.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"labels": [" ", "'", "
|
|
|
1 |
+
{"labels": [" ", "'", "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", "\u00e4", "\u00e5", "\u00f6", "\u2047", "", "<s>", "</s>"], "is_bpe": false}
|
language_model/.ipynb_checkpoints/attrs-checkpoint.json
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"alpha": 0.5, "beta": 1.5, "unk_score_offset": -10.0, "score_boundary": true}
|
|
|
|
language_model/.ipynb_checkpoints/unigrams-checkpoint.txt
DELETED
The diff for this file is too large to render.
See raw diff
|
|
language_model/{kenlm_fi_model_correct.bin → kenlm_finnish.bin}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45e82be92cfe0ce2e74b0d31ea0e7949b7b185a95730c39ab012f599cf4d8d75
|
3 |
+
size 20686116
|
language_model/unigrams.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
preprocessor_config.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"feature_size": 1,
|
5 |
"padding_side": "right",
|
6 |
"padding_value": 0.0,
|
|
|
7 |
"return_attention_mask": true,
|
8 |
-
"sampling_rate": 16000
|
9 |
-
"processor_class": "Wav2Vec2ProcessorWithLM"
|
10 |
}
|
|
|
4 |
"feature_size": 1,
|
5 |
"padding_side": "right",
|
6 |
"padding_value": 0.0,
|
7 |
+
"processor_class": "Wav2Vec2ProcessorWithLM",
|
8 |
"return_attention_mask": true,
|
9 |
+
"sampling_rate": 16000
|
|
|
10 |
}
|
special_tokens_map.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "[UNK]", "pad_token": "[PAD]", "additional_special_tokens": [{"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}]}
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "[UNK]", "pad_token": "[PAD]", "additional_special_tokens": [{"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}]}
|
tokenizer_config.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"unk_token": "[UNK]", "bos_token": "<s>", "eos_token": "</s>", "pad_token": "[PAD]", "do_lower_case": false, "word_delimiter_token": "|", "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "
|
|
|
1 |
+
{"unk_token": "[UNK]", "bos_token": "<s>", "eos_token": "</s>", "pad_token": "[PAD]", "do_lower_case": false, "word_delimiter_token": "|", "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "/content/wav2vec2-xlsr-1b-finnish-lm", "tokenizer_class": "Wav2Vec2CTCTokenizer", "processor_class": "Wav2Vec2ProcessorWithLM"}
|