Instructions to use Ed-Love/rwkvox with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RWKV
How to use Ed-Love/rwkvox with RWKV:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
ποΈ RWKVox β RWKV-7 Text-to-Speech
RWKV-7 powered text-to-speech with voice cloning.
RWKVox uses a fine-tuned RWKV-7 language model (0.4B parameters) as the backbone for speech synthesis. Given a short text and a reference voice clip, it generates natural-sounding speech that mimics the speaker's voice.
β οΈ Disclaimer: This project is intended for learning and testing purposes only. There are no plans to further develop or improve the models.
Quick Start
For full installation instructions, usage examples, CLI reference, and audio demos, see the GitHub repository:
π github.com/Ed-Lovera/rwkvox
Install & Run
git clone https://github.com/Ed-Lovera/rwkvox.git
cd rwkvox
pip install -e .
# Model weights (~2.8 GB) are downloaded automatically on first run
rwkvox --text "Hello, welcome to RWKVox." --voice my_voice.wav --output hello.wav
Model Files
| File | Size | Description |
|---|---|---|
rwkv_tts_0.4B_best.pth |
1.8 GB | RWKV-7 Speech LM (fine-tuned from RWKV-7 World 0.4B) |
s3gen_meanflow.safetensors |
1016 MB | S3Gen decoder (CFM flow-matching + HiFiGAN vocoder) |
ve.safetensors |
5.5 MB | Voice Encoder (256-dim speaker embeddings) |
Model Details
| Attribute | Value |
|---|---|
| Architecture | RWKV-7 (24 layers, d_model=1024) |
| Parameters | 0.4B |
| Audio Limit | |
| Sample Rate | 24,000 Hz |
| Backbone | RWKV-7 World 0.4B |
License
This project is released under the MIT License.
Third-Party Licenses
This project incorporates and builds upon the following open-source components:
| Component | License | Usage |
|---|---|---|
| RWKV-7 | Apache 2.0 | Model architecture; fine-tuned weights derived from RWKV-7 World 0.4B (Β© Bo Peng) |
| Chatterbox | MIT | Voice Encoder and S3Gen decoder (Β© 2025 Resemble AI) |
| flash-linear-attention | MIT | RWKV-7 attention implementation |
The RWKV-7 weights included in rwkv_tts_0.4B_best.pth are derived from the RWKV-7 World 0.4B base model (Apache 2.0, Β© Bo Peng). The Voice Encoder (ve.safetensors) and S3Gen decoder (s3gen_meanflow.safetensors) are from the Chatterbox project (MIT, Β© 2025 Resemble AI).
Full license texts are available in the GitHub repository.