Duplicated from distil-whisper/distil-large-v3
How to use tensorlake/distil-large-v3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="tensorlake/distil-large-v3")
# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("tensorlake/distil-large-v3") model = AutoModelForSpeechSeq2Seq.from_pretrained("tensorlake/distil-large-v3")
How to use tensorlake/distil-large-v3 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'tensorlake/distil-large-v3');