YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co./docs/hub/model-cards#model-card-metadata)
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.