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