Instructions to use hf-internal-testing/tiny-random-Speech2TextForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-Speech2TextForConditionalGeneration 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-Speech2TextForConditionalGeneration")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-Speech2TextForConditionalGeneration") model = AutoModelForMultimodalLM.from_pretrained("hf-internal-testing/tiny-random-Speech2TextForConditionalGeneration") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": "<s>", | |
| "eos_token": "</s>", | |
| "pad_token": "<pad>", | |
| "unk_token": "<unk>" | |
| } | |