Instructions to use danielbubiola/daniel_asr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use danielbubiola/daniel_asr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="danielbubiola/daniel_asr")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("danielbubiola/daniel_asr") model = AutoModelForCTC.from_pretrained("danielbubiola/daniel_asr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f117d87
1
Parent(s): f192220
add tokenizer
Browse files- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- vocab.json +1 -0
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 |
+
{"h": 0, "p": 2, "v": 3, "x": 4, "f": 5, "d": 6, "g": 7, "n": 8, "a": 9, "k": 10, "i": 11, "s": 12, "y": 13, "b": 14, "q": 15, "w": 16, "l": 17, "r": 18, "'": 19, "c": 20, "z": 21, "j": 22, "o": 23, "u": 24, "e": 25, "t": 26, "m": 27, "|": 1, "[UNK]": 28, "[PAD]": 29}
|