Instructions to use onnx-internal-testing/tiny-random-WhisperForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use onnx-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="onnx-internal-testing/tiny-random-WhisperForConditionalGeneration")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("onnx-internal-testing/tiny-random-WhisperForConditionalGeneration") model = AutoModelForSpeechSeq2Seq.from_pretrained("onnx-internal-testing/tiny-random-WhisperForConditionalGeneration", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download onnx/encoder_model_bnb4.onnx from onnx-internal-testing/tiny-random-WhisperForConditionalGeneration: direct link, hf CLI and curl.
- Browser
- Download file 134 kB
-
https://huggingface.co/onnx-internal-testing/tiny-random-WhisperForConditionalGeneration/resolve/main/onnx/encoder_model_bnb4.onnx
- Command line
-
hf download hf://onnx-internal-testing/tiny-random-WhisperForConditionalGeneration/onnx/encoder_model_bnb4.onnx
-
curl -L -o encoder_model_bnb4.onnx https://huggingface.co/onnx-internal-testing/tiny-random-WhisperForConditionalGeneration/resolve/main/onnx/encoder_model_bnb4.onnx
134 kB
- Xet hash:
- cf81ec344854cdd2ca94f2058b70f9bbfaef3ef530df17e231b57beb94d7fe4d
- Size of remote file:
- 134 kB
- SHA256:
- f8afc57b011a1872587cd31009e8174da4f3abeb20048b7a662b23bcdfe8d803
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.