Instructions to use rav009/VoxCPM2-lora-xiaochenxuejie with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- VoxCPM
How to use rav009/VoxCPM2-lora-xiaochenxuejie with VoxCPM:
import soundfile as sf from voxcpm import VoxCPM model = VoxCPM.from_pretrained("rav009/VoxCPM2-lora-xiaochenxuejie") wav = model.generate( text="VoxCPM is an innovative end-to-end TTS model from ModelBest, designed to generate highly expressive speech.", prompt_wav_path=None, # optional: path to a prompt speech for voice cloning prompt_text=None, # optional: reference text cfg_value=2.0, # LM guidance on LocDiT, higher for better adherence to the prompt, but maybe worse inference_timesteps=10, # LocDiT inference timesteps, higher for better result, lower for fast speed normalize=True, # enable external TN tool denoise=True, # enable external Denoise tool retry_badcase=True, # enable retrying mode for some bad cases (unstoppable) retry_badcase_max_times=3, # maximum retrying times retry_badcase_ratio_threshold=6.0, # maximum length restriction for bad case detection (simple but effective), it could be adjusted for slow pace speech ) sf.write("output.wav", wav, 16000) print("saved: output.wav") - Notebooks
- Google Colab
- Kaggle
| license: openrail | |
| base_model: | |
| - openbmb/VoxCPM2 | |
| tags: | |
| - voxcpm | |
| - lora | |
| # VoxCPM2-LoRA:晓辰学姐 音色适配器 | |
| ## English | 中文 | |
| --- | |
| ### 📖 模型简介 (Model Description) | |
| **English:** | |
| This is a **LoRA adapter** fine-tuned on the [VoxCPM2](https://huggingface.co/openbmb/VoxCPM2) base model. It is designed to generate speech with a gentle, intellectual, and warm **"Senior Sister Xiaochen" (Xiǎo Chén Xué Jiě)** voice style. | |
| This voice style embodies the caring, mature, and articulate vocal quality of a beloved senior female student who offers guidance and reassurance. It is ideal for educational content, study vlogs, mentoring sessions, ASMR-style readings, daily chat podcasts, and any scenario that calls for a soothing, trustworthy, and slightly nurturing tone. | |
| **中文:** | |
| 这是一个基于 [VoxCPM2](https://huggingface.co/openbmb/VoxCPM2) 基座模型微调的 **LoRA 适配器**。它旨在生成温柔、知性且温暖的 **“晓辰学姐”** 风格语音。 | |
| 此音色模仿了贴心学姐特有的关怀、成熟且吐字清晰的声音质感,适合用于教育类内容、学习vlog、辅导答疑、ASMR式朗读、日常聊天播客,以及任何需要舒缓、可靠且略带关怀感的听觉场景。 | |
| --- | |
| ### 📊 训练信息 (Training Info) | |
| - **Training Steps:** 1200 steps | |
| --- | |
| ### ⚠️ 重要声明 (Important Disclaimer) | |
| **English:** | |
| - **For Educational & Research Purposes Only:** This model is released for non-commercial research and learning only. | |
| - **No Illegal Use:** You are strictly prohibited from using this model for any illegal, harmful, fraudulent, or malicious activities, including but not limited to generating deepfake content, impersonation, or spreading misinformation. | |
| - **User Responsibility:** Users are solely responsible for complying with all applicable laws and regulations when using this model. | |
| **中文:** | |
| - **仅供学习与研究用途:** 本模型仅供非商业性的研究和学习使用。 | |
| - **严禁非法用途:** 严格禁止将本模型用于任何非法、有害、欺诈或恶意活动,包括但不限于生成深度伪造内容、冒充他人身份或传播虚假信息。 | |
| - **用户责任:** 用户在使用本模型时,需自行承担遵守相关法律法规的责任。 |