Upload lm-boosted decoder bb1e90f
anzorq commited on
How to use anzorq/w2v-bert-2.0-kbd-v2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="anzorq/w2v-bert-2.0-kbd-v2") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("anzorq/w2v-bert-2.0-kbd-v2")
model = AutoModelForCTC.from_pretrained("anzorq/w2v-bert-2.0-kbd-v2", device_map="auto")