Update CTC_model.py
Browse files- CTC_model.py +7 -0
CTC_model.py
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
from typing import Optional, Tuple, Union
|
| 2 |
import torch
|
| 3 |
from torch import nn
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Inference CTC class derived from HubertForCTC.
|
| 3 |
+
|
| 4 |
+
Author: Marcely Zanon Boito, 2024
|
| 5 |
+
"""
|
| 6 |
+
|
| 7 |
+
|
| 8 |
from typing import Optional, Tuple, Union
|
| 9 |
import torch
|
| 10 |
from torch import nn
|