Instructions to use hf-internal-testing/tiny-random-WhisperForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-WhisperForConditionalGeneration with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="hf-internal-testing/tiny-random-WhisperForConditionalGeneration")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-WhisperForConditionalGeneration") model = AutoModelForSpeechSeq2Seq.from_pretrained("hf-internal-testing/tiny-random-WhisperForConditionalGeneration", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
598101b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:59c98ff2a0ce5c0bc221cd6eb1c61633e8d9e91c16a3290490f503b723ec6c0e
size 3383016
|