patrickvonplaten
commited on
Commit
·
f1bb10e
1
Parent(s):
9b25b31
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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("kensho/dummy_full_language_model")
|
9 |
+
```
|
10 |
+
|
11 |
+
The model was created by [Patrick von Platen](https://huggingface.co/patrickvonplaten) for demonstration purposes.
|