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/decoder_model_merged_q4f16.onnx from onnx-internal-testing/tiny-random-WhisperForConditionalGeneration: direct link, hf CLI and curl.
- Browser
- Download file 1.77 MB
-
https://huggingface.co/onnx-internal-testing/tiny-random-WhisperForConditionalGeneration/resolve/main/onnx/decoder_model_merged_q4f16.onnx
- Command line
-
hf download hf://onnx-internal-testing/tiny-random-WhisperForConditionalGeneration/onnx/decoder_model_merged_q4f16.onnx
-
curl -L -o decoder_model_merged_q4f16.onnx https://huggingface.co/onnx-internal-testing/tiny-random-WhisperForConditionalGeneration/resolve/main/onnx/decoder_model_merged_q4f16.onnx
1.77 MB
- Xet hash:
- 28ec5d6abfb55838e339fe29a6fe0b86a04a8e22f00a2aa8f38e55a32ce645d8
- Size of remote file:
- 1.77 MB
- SHA256:
- bf1038e9b827da7a1ae7505a5c71d82ffa41f0b26bf7cbe5964d19c64fb200e8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.