20 lines
369 B
Python
20 lines
369 B
Python
import logging
|
|
|
|
import torch
|
|
|
|
from funasr.models.transformer.model import Transformer
|
|
from funasr.register import tables
|
|
|
|
|
|
@tables.register("model_classes", "Conformer")
|
|
class Conformer(Transformer):
|
|
"""CTC-attention hybrid Encoder-Decoder model"""
|
|
|
|
def __init__(
|
|
self,
|
|
*args,
|
|
**kwargs,
|
|
):
|
|
|
|
super().__init__(*args, **kwargs)
|