Instructions to use Ansu/mHubert-basque-ASR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ansu/mHubert-basque-ASR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Ansu/mHubert-basque-ASR", device_map="auto")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("Ansu/mHubert-basque-ASR") model = AutoModelForCTC.from_pretrained("Ansu/mHubert-basque-ASR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 356 Bytes
99acbfb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | {
"[PAD]": 31,
"[UNK]": 30,
"a": 16,
"b": 2,
"c": 13,
"d": 27,
"e": 25,
"f": 1,
"g": 24,
"h": 21,
"i": 7,
"j": 20,
"k": 11,
"l": 0,
"m": 5,
"n": 6,
"o": 14,
"p": 28,
"q": 15,
"r": 22,
"s": 9,
"t": 29,
"u": 10,
"v": 4,
"w": 19,
"x": 26,
"y": 23,
"z": 12,
"|": 17,
"±": 3,
"ã": 8,
"ñ": 18
}
|