Skip to content

Open full-duplex voice models that hear your tone and speak with one. One GPU with vLLM-Omni, or fully offline on a Mac with MLX. Zero-shot voice cloning, OpenAI Realtime / GPT-Live compatible, free hosted API trial. Apache-2.0.

643 B
Raw Blame
from transformers import PretrainedConfig


class SophonRealtimeConfig(PretrainedConfig):
    """Root config: only describes the layout (thinker/, talker/, voices/ subdirs); each stage's weights live in its own subdir."""
    model_type = "sophon_realtime"

    def __init__(self, thinker_subdir="thinker", talker_subdir="talker", voices_subdir="voices", default_voice="chelsie", default_language="zh", **kw):
        self.thinker_subdir = thinker_subdir; self.talker_subdir = talker_subdir; self.voices_subdir = voices_subdir
        self.default_voice = default_voice; self.default_language = default_language
        super().__init__(**kw)