File size: 294 Bytes
eae4ecb
 
 
 
 
 
 
43da0cd
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("kensho/5gram-spanish-kenLM")
```