Automatic Speech Recognition
Transformers
PyTorch
TensorFlow
German
English
speech_to_text
audio
speech-translation
Instructions to use facebook/s2t-small-covost2-de-en-st with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/s2t-small-covost2-de-en-st with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="facebook/s2t-small-covost2-de-en-st")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("facebook/s2t-small-covost2-de-en-st") model = AutoModelForSpeechSeq2Seq.from_pretrained("facebook/s2t-small-covost2-de-en-st", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>", "do_upper_case": false, "do_lower_case": false, "tgt_lang": null, "lang_codes": null, "tokenizer_file": null} |