Instructions to use MERaLiON/MERaLiON-2-10B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MERaLiON/MERaLiON-2-10B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="MERaLiON/MERaLiON-2-10B", trust_remote_code=True)# Load model directly from transformers import AutoModelForSpeechSeq2Seq model = AutoModelForSpeechSeq2Seq.from_pretrained("MERaLiON/MERaLiON-2-10B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update generation_config.json
Browse files- generation_config.json +1 -1
generation_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"bos_token_id": 2,
|
| 4 |
"cache_implementation": "hybrid",
|
| 5 |
"eos_token_id": 1,
|
| 6 |
-
"no_repeat_ngram_size":
|
| 7 |
"pad_token_id": 0,
|
| 8 |
"transformers_version": "4.50.1"
|
| 9 |
}
|
|
|
|
| 3 |
"bos_token_id": 2,
|
| 4 |
"cache_implementation": "hybrid",
|
| 5 |
"eos_token_id": 1,
|
| 6 |
+
"no_repeat_ngram_size": 6,
|
| 7 |
"pad_token_id": 0,
|
| 8 |
"transformers_version": "4.50.1"
|
| 9 |
}
|