Instructions to use MERaLiON/MERaLiON-3-10B-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MERaLiON/MERaLiON-3-10B-preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="MERaLiON/MERaLiON-3-10B-preview", trust_remote_code=True)# Load model directly from transformers import AutoModelForSpeechSeq2Seq model = AutoModelForSpeechSeq2Seq.from_pretrained("MERaLiON/MERaLiON-3-10B-preview", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "auto_map": { | |
| "AutoProcessor": "processing_meralion3.MERaLiON3Processor" | |
| }, | |
| "do_normalize": true, | |
| "fixed_speech_embeds_length": 300, | |
| "processor_class": "MERaLiON3Processor", | |
| "speech_token_index": 255999, | |
| "time_duration_limit": 300, | |
| "whisper_chunk_size": 30 | |
| } | |