Update custom_interface.py
Browse files- custom_interface.py +8 -0
custom_interface.py
CHANGED
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import torch
|
2 |
from speechbrain.pretrained import Pretrained
|
3 |
|
|
|
1 |
+
"""Custom Interface for AISHELL-1 CTC inference
|
2 |
+
An external tokenizer is used so some special tokens
|
3 |
+
need to be specified during decoding
|
4 |
+
|
5 |
+
Authors
|
6 |
+
* Yingzhi Wang 2022
|
7 |
+
"""
|
8 |
+
|
9 |
import torch
|
10 |
from speechbrain.pretrained import Pretrained
|
11 |
|