Automatic Speech Recognition
Transformers
Safetensors
English
Italian
conformer_encoder_decoder
speech
speech recognition
speech translation
ASR
ST
custom_code
Instructions to use FBK-MT/fama-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FBK-MT/fama-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="FBK-MT/fama-medium", trust_remote_code=True)# Load model directly from transformers import AutoModelForSpeechSeq2Seq model = AutoModelForSpeechSeq2Seq.from_pretrained("FBK-MT/fama-medium", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "do_ceptral_normalize": true, | |
| "feature_extractor_type": "Speech2TextFeatureExtractor", | |
| "feature_size": 80, | |
| "normalize_means": true, | |
| "normalize_vars": true, | |
| "num_mel_bins": 80, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "processor_class": "Speech2TextProcessor", | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000 | |
| } | |