Text-to-Speech
Transformers
ONNX
GGUF
Chinese
English
voice-dialogue
speech-recognition
large-language-model
asr
tts
llm
chinese
english
real-time
conversational
Instructions to use MoYoYoTech/VoiceDialogue with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MoYoYoTech/VoiceDialogue with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="MoYoYoTech/VoiceDialogue") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MoYoYoTech/VoiceDialogue", dtype="auto") - llama-cpp-python
How to use MoYoYoTech/VoiceDialogue with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="MoYoYoTech/VoiceDialogue", filename="assets/models/llm/qwen/Qwen3-8B-Q6_K.gguf", )
llm.create_chat_completion( messages = "\"The answer to the universe is 42\"" )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use MoYoYoTech/VoiceDialogue with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf MoYoYoTech/VoiceDialogue:Q6_K # Run inference directly in the terminal: llama-cli -hf MoYoYoTech/VoiceDialogue:Q6_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf MoYoYoTech/VoiceDialogue:Q6_K # Run inference directly in the terminal: llama-cli -hf MoYoYoTech/VoiceDialogue:Q6_K
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf MoYoYoTech/VoiceDialogue:Q6_K # Run inference directly in the terminal: ./llama-cli -hf MoYoYoTech/VoiceDialogue:Q6_K
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf MoYoYoTech/VoiceDialogue:Q6_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf MoYoYoTech/VoiceDialogue:Q6_K
Use Docker
docker model run hf.co/MoYoYoTech/VoiceDialogue:Q6_K
- LM Studio
- Jan
- Ollama
How to use MoYoYoTech/VoiceDialogue with Ollama:
ollama run hf.co/MoYoYoTech/VoiceDialogue:Q6_K
- Unsloth Studio new
How to use MoYoYoTech/VoiceDialogue with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MoYoYoTech/VoiceDialogue to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MoYoYoTech/VoiceDialogue to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for MoYoYoTech/VoiceDialogue to start chatting
- Pi new
How to use MoYoYoTech/VoiceDialogue with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf MoYoYoTech/VoiceDialogue:Q6_K
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "MoYoYoTech/VoiceDialogue:Q6_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use MoYoYoTech/VoiceDialogue with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf MoYoYoTech/VoiceDialogue:Q6_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default MoYoYoTech/VoiceDialogue:Q6_K
Run Hermes
hermes
- Docker Model Runner
How to use MoYoYoTech/VoiceDialogue with Docker Model Runner:
docker model run hf.co/MoYoYoTech/VoiceDialogue:Q6_K
- Lemonade
How to use MoYoYoTech/VoiceDialogue with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MoYoYoTech/VoiceDialogue:Q6_K
Run and chat with the model
lemonade run user.VoiceDialogue-Q6_K
List all available models
lemonade list
liumaolin commited on
Commit ·
2a5dcf2
1
Parent(s): e80f558
Remove unused `prompt_semantic` and `reference_spec` configuration parameters from voice model definitions.
Browse files
src/VoiceDialogue/models/voice_model.py
CHANGED
|
@@ -32,8 +32,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 32 |
'gpt-weights': 'GPT_weights/luoxiang_best_gpt.ckpt',
|
| 33 |
'sovits-weights': 'SoVITS_weights/luoxiang_best_sovits.pth',
|
| 34 |
'reference_audio': 'ref_audios/luoxiang_ref.wav',
|
| 35 |
-
'prompt_semantic': 'prompt_semantic/luoxiang_prompt_semantic.pt',
|
| 36 |
-
'reference_spec': 'refer_spec/luoxiang_spec.pt',
|
| 37 |
},
|
| 38 |
'inference_parameters': {
|
| 39 |
'text_lang': "zh",
|
|
@@ -63,8 +61,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 63 |
'gpt-weights': 'GPT_weights/mabaoguo_best_gpt.ckpt',
|
| 64 |
'sovits-weights': 'SoVITS_weights/mabaoguo_best_sovits.pth',
|
| 65 |
'reference_audio': 'ref_audios/mabaoguo_ref.wav',
|
| 66 |
-
'prompt_semantic': 'prompt_semantic/mabaoguo_prompt_semantic.pt',
|
| 67 |
-
'reference_spec': 'refer_spec/mabaoguo_spec.pt',
|
| 68 |
},
|
| 69 |
'inference_parameters': {
|
| 70 |
'text_lang': "zh",
|
|
@@ -95,8 +91,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 95 |
'gpt-weights': 'GPT_weights/shenyi_best_gpt.ckpt',
|
| 96 |
'sovits-weights': 'SoVITS_weights/shenyi_best_sovits.pth',
|
| 97 |
'reference_audio': 'ref_audios/shenyi_ref.wav',
|
| 98 |
-
'prompt_semantic': 'prompt_semantic/shenyi_prompt_semantic.pt',
|
| 99 |
-
'reference_spec': 'refer_spec/shenyi_spec.pt',
|
| 100 |
},
|
| 101 |
'inference_parameters': {
|
| 102 |
'text_lang': "zh",
|
|
@@ -126,8 +120,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 126 |
'gpt-weights': 'GPT_weights/yangmi_best_gpt.ckpt',
|
| 127 |
'sovits-weights': 'SoVITS_weights/yangmi_best_sovits.pth',
|
| 128 |
'reference_audio': 'ref_audios/yangmi_ref.wav',
|
| 129 |
-
'prompt_semantic': 'prompt_semantic/yangmi_prompt_semantic.pt',
|
| 130 |
-
'reference_spec': 'refer_spec/yangmi_spec.pt',
|
| 131 |
},
|
| 132 |
'inference_parameters': {
|
| 133 |
'text_lang': "zh",
|
|
@@ -158,8 +150,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 158 |
'gpt-weights': 'GPT_weights/zhoujielun_best_gpt.ckpt',
|
| 159 |
'sovits-weights': 'SoVITS_weights/zhoujielun_best_sovits.pth',
|
| 160 |
'reference_audio': 'ref_audios/zhoujielun_ref.wav',
|
| 161 |
-
'prompt_semantic': 'prompt_semantic/zhoujielun_prompt_semantic.pt',
|
| 162 |
-
'reference_spec': 'refer_spec/zhoujielun_spec.pt',
|
| 163 |
},
|
| 164 |
'inference_parameters': {
|
| 165 |
'text_lang': "zh",
|
|
@@ -190,8 +180,6 @@ VOICE_MODEL_CONFIGS = (
|
|
| 190 |
'gpt-weights': 'GPT_weights/mayun_best_gpt.ckpt',
|
| 191 |
'sovits-weights': 'SoVITS_weights/mayun_best_sovits.pth',
|
| 192 |
'reference_audio': 'ref_audios/mayun_ref.wav',
|
| 193 |
-
'prompt_semantic': 'prompt_semantic/mayun_prompt_semantic.pt',
|
| 194 |
-
'reference_spec': 'refer_spec/mayun_spec.pt',
|
| 195 |
},
|
| 196 |
'inference_parameters': {
|
| 197 |
'text_lang': "zh",
|
|
|
|
| 32 |
'gpt-weights': 'GPT_weights/luoxiang_best_gpt.ckpt',
|
| 33 |
'sovits-weights': 'SoVITS_weights/luoxiang_best_sovits.pth',
|
| 34 |
'reference_audio': 'ref_audios/luoxiang_ref.wav',
|
|
|
|
|
|
|
| 35 |
},
|
| 36 |
'inference_parameters': {
|
| 37 |
'text_lang': "zh",
|
|
|
|
| 61 |
'gpt-weights': 'GPT_weights/mabaoguo_best_gpt.ckpt',
|
| 62 |
'sovits-weights': 'SoVITS_weights/mabaoguo_best_sovits.pth',
|
| 63 |
'reference_audio': 'ref_audios/mabaoguo_ref.wav',
|
|
|
|
|
|
|
| 64 |
},
|
| 65 |
'inference_parameters': {
|
| 66 |
'text_lang': "zh",
|
|
|
|
| 91 |
'gpt-weights': 'GPT_weights/shenyi_best_gpt.ckpt',
|
| 92 |
'sovits-weights': 'SoVITS_weights/shenyi_best_sovits.pth',
|
| 93 |
'reference_audio': 'ref_audios/shenyi_ref.wav',
|
|
|
|
|
|
|
| 94 |
},
|
| 95 |
'inference_parameters': {
|
| 96 |
'text_lang': "zh",
|
|
|
|
| 120 |
'gpt-weights': 'GPT_weights/yangmi_best_gpt.ckpt',
|
| 121 |
'sovits-weights': 'SoVITS_weights/yangmi_best_sovits.pth',
|
| 122 |
'reference_audio': 'ref_audios/yangmi_ref.wav',
|
|
|
|
|
|
|
| 123 |
},
|
| 124 |
'inference_parameters': {
|
| 125 |
'text_lang': "zh",
|
|
|
|
| 150 |
'gpt-weights': 'GPT_weights/zhoujielun_best_gpt.ckpt',
|
| 151 |
'sovits-weights': 'SoVITS_weights/zhoujielun_best_sovits.pth',
|
| 152 |
'reference_audio': 'ref_audios/zhoujielun_ref.wav',
|
|
|
|
|
|
|
| 153 |
},
|
| 154 |
'inference_parameters': {
|
| 155 |
'text_lang': "zh",
|
|
|
|
| 180 |
'gpt-weights': 'GPT_weights/mayun_best_gpt.ckpt',
|
| 181 |
'sovits-weights': 'SoVITS_weights/mayun_best_sovits.pth',
|
| 182 |
'reference_audio': 'ref_audios/mayun_ref.wav',
|
|
|
|
|
|
|
| 183 |
},
|
| 184 |
'inference_parameters': {
|
| 185 |
'text_lang': "zh",
|