Instructions to use OpenVINO/distil-medium.en-fp16-ov with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenVINO/distil-medium.en-fp16-ov with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="OpenVINO/distil-medium.en-fp16-ov")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("OpenVINO/distil-medium.en-fp16-ov") model = AutoModelForSpeechSeq2Seq.from_pretrained("OpenVINO/distil-medium.en-fp16-ov") - Transformers.js
How to use OpenVINO/distil-medium.en-fp16-ov with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'OpenVINO/distil-medium.en-fp16-ov'); - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!