File size: 410 Bytes
eae4ecb 43da0cd 8ec0379 |
1 2 3 4 5 6 7 8 9 10 11 |
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")
```
The model was trained by [Patrick von Platen](https://huggingface.co/patrickvonplaten) for demonstration purposes. |