Automatic Speech Recognition
Transformers
PyTorch
TensorFlow
Safetensors
French
English
speech_to_text
audio
speech-translation
Instructions to use facebook/s2t-small-covost2-fr-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-fr-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-fr-en-st")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("facebook/s2t-small-covost2-fr-en-st") model = AutoModelForMultimodalLM.from_pretrained("facebook/s2t-small-covost2-fr-en-st") - Notebooks
- Google Colab
- Kaggle
| { | |
| "do_ceptral_normalize": true, | |
| "feature_size": 80, | |
| "normalize_means": true, | |
| "normalize_vars": true, | |
| "num_mel_bins": 80, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "return_attention_mask": true, | |
| "sampling_rate": 48000 | |
| } | |