speechbrain/common_language
Updated • 461 • 44
How to use Library-Mutsumi/whisper-small-ft-common-language-id-onnx with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="Library-Mutsumi/whisper-small-ft-common-language-id-onnx") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("Library-Mutsumi/whisper-small-ft-common-language-id-onnx")
model = AutoModelForAudioClassification.from_pretrained("Library-Mutsumi/whisper-small-ft-common-language-id-onnx")This is the ONNX exported version of sanchit-gandhi/whisper-small-ft-common-language-id.
Base model
openai/whisper-small