Instructions to use onnx-internal-testing/tiny-random-WhisperForConditionalGeneration-ONNX_external 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-ONNX_external 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-ONNX_external")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("onnx-internal-testing/tiny-random-WhisperForConditionalGeneration-ONNX_external") model = AutoModelForSpeechSeq2Seq.from_pretrained("onnx-internal-testing/tiny-random-WhisperForConditionalGeneration-ONNX_external", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from onnx-internal-testing/tiny-random-WhisperForConditionalGeneration-ONNX_external: direct link, hf CLI and curl.
- Browser
- Download file 2.41 MB
-
https://huggingface.co/onnx-internal-testing/tiny-random-WhisperForConditionalGeneration-ONNX_external/resolve/main/tokenizer.json
- Command line
-
hf download hf://onnx-internal-testing/tiny-random-WhisperForConditionalGeneration-ONNX_external/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/onnx-internal-testing/tiny-random-WhisperForConditionalGeneration-ONNX_external/resolve/main/tokenizer.json
2.41 MB
File too large to display, you can check the raw version instead.