docs: add class docstrings to qwen_audio and whisper models

This commit is contained in:
游雁
2026-05-21 09:22:15 +00:00
parent 44dc6554fe
commit 4b38833603
2 changed files with 15 additions and 0 deletions
+6
View File
@@ -102,6 +102,12 @@ class QwenAudioWarp(nn.Module):
@tables.register("model_classes", "QwenAudioChat")
@tables.register("model_classes", "QwenAudioChatWarp")
class QwenAudioChatWarp(nn.Module):
"""QwenAudioChat: Qwen Audio Chat model wrapper.
Interactive audio chat using the Qwen-Audio-Chat model.
Supports multi-turn conversation about audio content.
"""
def __init__(self, *args, **kwargs):
"""
Qwen-Audio: Advancing Universal Audio Understanding via Unified Large-Scale Audio-Language Models
+9
View File
@@ -31,6 +31,15 @@ from funasr.register import tables
@tables.register("model_classes", "Whisper-large-v3-turbo")
@tables.register("model_classes", "WhisperWarp")
class WhisperWarp(nn.Module):
"""Whisper: OpenAI Whisper model integration.
Wraps Whisper for multilingual speech recognition and translation
within FunASR's AutoModel interface.
Supports: whisper-tiny through whisper-large-v3-turbo.
Output: {"key": str, "text": str}
"""
def __init__(self, *args, **kwargs):
"""Initialize WhisperWarp.