File size: 309 Bytes
eae4ecb
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
This is an example of how a kenLM model can be downloaded with [PyCTCDecode](https://github.com/kensho-technologies/pyctcdecode) .

Simply run the following code:

```python
from pyctcdecode import LanguageModel

language_model = LanguageModel.load_from_hf_hub("patrickvonplaten/5_gram_spanish_mls_kenlm")
```