patrickvonplaten
commited on
Commit
•
1824d2b
1
Parent(s):
49cfe7a
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 BeamSearchDecoderCTC
|
7 |
+
|
8 |
+
language_model = BeamSearchDecoderCTC.load_from_hf_hub("kensho/beamsearch_decoder_dummy")
|
9 |
+
```
|
10 |
+
|
11 |
+
The model was created by [Patrick von Platen](https://huggingface.co/patrickvonplaten) for demonstration purposes.
|