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