TopGit theo dõi KoljaB/LocalEmotionalAIVoiceChat trên GitHub, đã đạt 92 sao. Simulates talk with an AI that can express emotions
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This project implements a real-time ai conversation system with emotional text-to-speech (TTS) capabilities. It uses a large language model (LLM) for generating responses and a TTS engine with voice-cloning for voice output.
Open _install_win.bat, chang the path behind PYTHON_EXE to the path to your Python 3.10.9 executable
start _install_win.bat
Select your LLM provider:
open main.py and enter your desired LLM provider under llm_provider in class Config ("llamacpp" or "ollama" or "lmstudio" or "openai" or "anthropic")
llama.cpp:
start "install_win.bat" in the llm_llamacpp folder to install llama cpp webserver
also start "download_model.bat" in the llm_llamacpp folder to download the openhermes-2.5-mistral-7b.Q5_K_M.gguf model we use for inference
open start_llamacpp_server.bat in the llm_llamacpp folder, adjust especially --n_gpu_layers 25 to your environment and GPU capabilities
start "start_llamacpp_server.bat" in the main or the llm_llamacpp folder to start the server
ollama:
start "install_win.bat" in the llm_ollama folder to install ollama
start "start_ollama_server.bat" in the main or the llm_ollama folder to start the server
lmstudio:
install and start LMStudio, load a model and start the local server
openai:
start "install_win.bat" in the llm_openai folder to openai python library
put your openai key in the environment variable "OPENAI_API_KEY"
anthropic:
start "install_win.bat" in the llm_anthropic folder to anthropic python library
put your anthropic key in the environment variable "ANTHROPIC_API_KEY"
Download the specific Lasinya XTTS voice model from huggingface: start the download_tts_model.py which will download the needed files.
Then open tts_config.json and enter the filepath to the model files there.
CUDA Installation
These steps are recommended for those who require better performance and have a compatible NVIDIA GPU.
Note: To check if your NVIDIA GPU supports CUDA, visit the official CUDA GPUs list.
Install NVIDIA CUDA Toolkit:
Visit NVIDIA CUDA Downloads for the latest version, or NVIDIA CUDA Toolkit Archive for version 11.8.
Select your operating system, system architecture, and OS version.
Download and install the software.
Install NVIDIA cuDNN:
Visit NVIDIA cuDNN Archive.
Download and install the appropriate version for your CUDA Toolkit.
Install ffmpeg:
Download from the ffmpeg Website, or use a package manager:
# Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg
# Arch Linux
sudo pacman -S ffmpeg
# MacOS (using Homebrew)
brew install ffmpeg
# Windows (using Chocolatey)
choco install ffmpeg
# Windows (using Scoop)
scoop install ffmpeg
Install PyTorch with CUDA support:
Choose the appropriate command based on your CUDA version:
Replace 2.3.1 with the version of PyTorch that matches your system and requirements.
Usage
Run the main script:
python main.py
The system will start a conversation based on the configured scenario. Speak into your microphone to interact with the AI character.
Note: When starting the application, you may see warnings similar to:
[ctranslate2] [warning] The compute type inferred from the saved model is float16, but the target device or backend do not support efficient float16 computation. The model weights have been automatically converted to use the float32 compute type instead.
FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
These warnings are normal and do not affect the functionality of the system. There's no need to worry about them.
Configuration
Adjust chat_params.json to modify character and user descriptions, and conversation scenario
Adjust llm_xxx/completion_params.json to modify LLM completion parameters
Đọc thêm về KoljaB/LocalEmotionalAIVoiceChat ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/KoljaB/LocalEmotionalAIVoiceChat là nguồn chính thức.
KoljaB/LocalEmotionalAIVoiceChat có bao nhiêu sao?
KoljaB/LocalEmotionalAIVoiceChat có 92 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/KoljaB/LocalEmotionalAIVoiceChat. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
KoljaB/LocalEmotionalAIVoiceChat có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho KoljaB/LocalEmotionalAIVoiceChat. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
KoljaB/LocalEmotionalAIVoiceChat còn đang phát triển không?
Commit gần nhất trên KoljaB/LocalEmotionalAIVoiceChat là 7 tháng trước (theo timestamp GitHub). Repo có 19 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
KoljaB/LocalEmotionalAIVoiceChat là gì?
KoljaB/LocalEmotionalAIVoiceChat (KoljaB/LocalEmotionalAIVoiceChat) là dự án Python trên GitHub. Theo mô tả gốc: Simulates talk with an AI that can express emotions
KoljaB/LocalEmotionalAIVoiceChat viết bằng ngôn ngữ gì?
KoljaB/LocalEmotionalAIVoiceChat chủ yếu viết bằng Python. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về LocalEmotionalAIVoiceChat?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về LocalEmotionalAIVoiceChat.