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 Settings
- 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
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
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 ·
a453c72
1
Parent(s): 7437d6d
Add PyAudio as a dependency in `pyproject.toml` and update `uv.lock`
Browse files- pyproject.toml +1 -0
- uv.lock +16 -0
pyproject.toml
CHANGED
|
@@ -24,6 +24,7 @@ dependencies = [
|
|
| 24 |
"misaki[en]>=0.9.4",
|
| 25 |
"opencc>=1.1.9",
|
| 26 |
"playsound==1.2.2",
|
|
|
|
| 27 |
"pyobjc-framework-avfoundation>=11.0",
|
| 28 |
"pypinyin>=0.54.0",
|
| 29 |
"pytorch-lightning==2.3.1",
|
|
|
|
| 24 |
"misaki[en]>=0.9.4",
|
| 25 |
"opencc>=1.1.9",
|
| 26 |
"playsound==1.2.2",
|
| 27 |
+
"pyaudio==0.2.14",
|
| 28 |
"pyobjc-framework-avfoundation>=11.0",
|
| 29 |
"pypinyin>=0.54.0",
|
| 30 |
"pytorch-lightning==2.3.1",
|
uv.lock
CHANGED
|
@@ -2136,6 +2136,20 @@ wheels = [
|
|
| 2136 |
{ url = "https://files.pythonhosted.org/packages/e8/e6/ff3e5902bc4c70b8a1f71a21386dd60b622ff1708163bf44b699d6516e4b/py3langid-0.2.2-py3-none-any.whl", hash = "sha256:a5460ccc565c7b6a7a0e72f42236900b810e73c065a1b769a69fa9d9cff13f00", size = 750603, upload-time = "2022-06-14T13:29:54.695Z" },
|
| 2137 |
]
|
| 2138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2139 |
[[package]]
|
| 2140 |
name = "pycparser"
|
| 2141 |
version = "2.22"
|
|
@@ -3427,6 +3441,7 @@ dependencies = [
|
|
| 3427 |
{ name = "misaki", extra = ["en"] },
|
| 3428 |
{ name = "opencc" },
|
| 3429 |
{ name = "playsound" },
|
|
|
|
| 3430 |
{ name = "pyobjc-framework-avfoundation" },
|
| 3431 |
{ name = "pypinyin" },
|
| 3432 |
{ name = "pytorch-lightning" },
|
|
@@ -3465,6 +3480,7 @@ requires-dist = [
|
|
| 3465 |
{ name = "misaki", extras = ["en"], specifier = ">=0.9.4" },
|
| 3466 |
{ name = "opencc", specifier = ">=1.1.9" },
|
| 3467 |
{ name = "playsound", specifier = "==1.2.2" },
|
|
|
|
| 3468 |
{ name = "pyobjc-framework-avfoundation", specifier = ">=11.0" },
|
| 3469 |
{ name = "pypinyin", specifier = ">=0.54.0" },
|
| 3470 |
{ name = "pytorch-lightning", specifier = "==2.3.1" },
|
|
|
|
| 2136 |
{ url = "https://files.pythonhosted.org/packages/e8/e6/ff3e5902bc4c70b8a1f71a21386dd60b622ff1708163bf44b699d6516e4b/py3langid-0.2.2-py3-none-any.whl", hash = "sha256:a5460ccc565c7b6a7a0e72f42236900b810e73c065a1b769a69fa9d9cff13f00", size = 750603, upload-time = "2022-06-14T13:29:54.695Z" },
|
| 2137 |
]
|
| 2138 |
|
| 2139 |
+
[[package]]
|
| 2140 |
+
name = "pyaudio"
|
| 2141 |
+
version = "0.2.14"
|
| 2142 |
+
source = { registry = "https://pypi.org/simple" }
|
| 2143 |
+
sdist = { url = "https://files.pythonhosted.org/packages/26/1d/8878c7752febb0f6716a7e1a52cb92ac98871c5aa522cba181878091607c/PyAudio-0.2.14.tar.gz", hash = "sha256:78dfff3879b4994d1f4fc6485646a57755c6ee3c19647a491f790a0895bd2f87", size = 47066, upload-time = "2023-11-07T07:11:48.806Z" }
|
| 2144 |
+
wheels = [
|
| 2145 |
+
{ url = "https://files.pythonhosted.org/packages/7b/f0/b0eab89eafa70a86b7b566a4df2f94c7880a2d483aa8de1c77d335335b5b/PyAudio-0.2.14-cp311-cp311-win32.whl", hash = "sha256:506b32a595f8693811682ab4b127602d404df7dfc453b499c91a80d0f7bad289", size = 144624, upload-time = "2023-11-07T07:11:36.94Z" },
|
| 2146 |
+
{ url = "https://files.pythonhosted.org/packages/82/d8/f043c854aad450a76e476b0cf9cda1956419e1dacf1062eb9df3c0055abe/PyAudio-0.2.14-cp311-cp311-win_amd64.whl", hash = "sha256:bbeb01d36a2f472ae5ee5e1451cacc42112986abe622f735bb870a5db77cf903", size = 164070, upload-time = "2023-11-07T07:11:38.579Z" },
|
| 2147 |
+
{ url = "https://files.pythonhosted.org/packages/8d/45/8d2b76e8f6db783f9326c1305f3f816d4a12c8eda5edc6a2e1d03c097c3b/PyAudio-0.2.14-cp312-cp312-win32.whl", hash = "sha256:5fce4bcdd2e0e8c063d835dbe2860dac46437506af509353c7f8114d4bacbd5b", size = 144750, upload-time = "2023-11-07T07:11:40.142Z" },
|
| 2148 |
+
{ url = "https://files.pythonhosted.org/packages/b0/6a/d25812e5f79f06285767ec607b39149d02aa3b31d50c2269768f48768930/PyAudio-0.2.14-cp312-cp312-win_amd64.whl", hash = "sha256:12f2f1ba04e06ff95d80700a78967897a489c05e093e3bffa05a84ed9c0a7fa3", size = 164126, upload-time = "2023-11-07T07:11:41.539Z" },
|
| 2149 |
+
{ url = "https://files.pythonhosted.org/packages/3a/77/66cd37111a87c1589b63524f3d3c848011d21ca97828422c7fde7665ff0d/PyAudio-0.2.14-cp313-cp313-win32.whl", hash = "sha256:95328285b4dab57ea8c52a4a996cb52be6d629353315be5bfda403d15932a497", size = 150982, upload-time = "2024-11-20T19:12:12.404Z" },
|
| 2150 |
+
{ url = "https://files.pythonhosted.org/packages/a5/8b/7f9a061c1cc2b230f9ac02a6003fcd14c85ce1828013aecbaf45aa988d20/PyAudio-0.2.14-cp313-cp313-win_amd64.whl", hash = "sha256:692d8c1446f52ed2662120bcd9ddcb5aa2b71f38bda31e58b19fb4672fffba69", size = 173655, upload-time = "2024-11-20T19:12:13.616Z" },
|
| 2151 |
+
]
|
| 2152 |
+
|
| 2153 |
[[package]]
|
| 2154 |
name = "pycparser"
|
| 2155 |
version = "2.22"
|
|
|
|
| 3441 |
{ name = "misaki", extra = ["en"] },
|
| 3442 |
{ name = "opencc" },
|
| 3443 |
{ name = "playsound" },
|
| 3444 |
+
{ name = "pyaudio" },
|
| 3445 |
{ name = "pyobjc-framework-avfoundation" },
|
| 3446 |
{ name = "pypinyin" },
|
| 3447 |
{ name = "pytorch-lightning" },
|
|
|
|
| 3480 |
{ name = "misaki", extras = ["en"], specifier = ">=0.9.4" },
|
| 3481 |
{ name = "opencc", specifier = ">=1.1.9" },
|
| 3482 |
{ name = "playsound", specifier = "==1.2.2" },
|
| 3483 |
+
{ name = "pyaudio", specifier = "==0.2.14" },
|
| 3484 |
{ name = "pyobjc-framework-avfoundation", specifier = ">=11.0" },
|
| 3485 |
{ name = "pypinyin", specifier = ">=0.54.0" },
|
| 3486 |
{ name = "pytorch-lightning", specifier = "==2.3.1" },
|