This is an example of how a kenLM model can be downloaded with PyCTCDecode .

Simply run the following code:

from pyctcdecode import LanguageModel

language_model = LanguageModel.load_from_hf_hub("kensho/5gram-spanish-kenLM")

The model was trained by Patrick von Platen for demonstration purposes.

Downloads last month
0
Hosted inference API

Unable to determine this model’s pipeline type. Check the docs .