Instructions to use hf-internal-testing/tiny-random-speech-encoder-decoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-speech-encoder-decoder 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-speech-encoder-decoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSpeechSeq2Seq tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-speech-encoder-decoder") model = AutoModelForSpeechSeq2Seq.from_pretrained("hf-internal-testing/tiny-random-speech-encoder-decoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-speech-encoder-decoder: direct link, hf CLI and curl.
- Browser
- Download file 583 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-speech-encoder-decoder/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-speech-encoder-decoder@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-speech-encoder-decoder/resolve/refs%2Fpr%2F1/model.safetensors
583 kB
This file contains binary data. It cannot be displayed, but you can still download it.