Commit
·
eae4ecb
1
Parent(s):
c1f18d5
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
This is an example of how a kenLM model can be downloaded with [PyCTCDecode](https://github.com/kensho-technologies/pyctcdecode) .
|
2 |
+
|
3 |
+
Simply run the following code:
|
4 |
+
|
5 |
+
```python
|
6 |
+
from pyctcdecode import LanguageModel
|
7 |
+
|
8 |
+
language_model = LanguageModel.load_from_hf_hub("patrickvonplaten/5_gram_spanish_mls_kenlm")
|
9 |
+
```
|