Instructions to use alejandro-hp/AlephTTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- VoxCPM
How to use alejandro-hp/AlephTTS with VoxCPM:
import soundfile as sf from voxcpm import VoxCPM model = VoxCPM.from_pretrained("alejandro-hp/AlephTTS") 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
Download export_info.json from alejandro-hp/AlephTTS: direct link, hf CLI and curl.
- Browser
- Download file 1.38 kB
-
https://huggingface.co/alejandro-hp/AlephTTS/resolve/main/export_info.json
- Command line
-
hf download hf://alejandro-hp/AlephTTS/export_info.json
-
curl -L -o export_info.json https://huggingface.co/alejandro-hp/AlephTTS/resolve/main/export_info.json
1.38 kB
| { | |
| "name": "AlephTTS", | |
| "exported": "2026-11-16", | |
| "base_model": "openbmb/VoxCPM2", | |
| "lora_source": "LoRA run lora_v2, checkpoint step 3000 (local training run)", | |
| "lora_config": { | |
| "enable_lm": true, | |
| "enable_dit": true, | |
| "enable_proj": false, | |
| "r": 32, | |
| "alpha": 32, | |
| "dropout": 0.0, | |
| "target_modules_lm": [ | |
| "q_proj", | |
| "v_proj", | |
| "k_proj", | |
| "o_proj" | |
| ], | |
| "target_modules_dit": [ | |
| "q_proj", | |
| "v_proj", | |
| "k_proj", | |
| "o_proj" | |
| ], | |
| "target_proj_modules": [ | |
| "enc_to_lm_proj", | |
| "lm_to_dit_proj", | |
| "res_to_dit_proj", | |
| "fusion_concat_proj" | |
| ] | |
| }, | |
| "merged_layers": 192, | |
| "recommended_generation": { | |
| "cfg_value": 2.0, | |
| "inference_timesteps": 10 | |
| }, | |
| "voxcpm_version_used": "2.0.3.post46+g300e4260b", | |
| "sha256": { | |
| "audiovae.pth": "94b5d51e107e0507d4acc976cfdadb64edd6fd06d1f751dadbf2fd1594274bf1", | |
| "config.json": "405f0dcd92f7feba6011ed4eac5c8d4f74cba9712f07fd5cfa3063bbdd95402c", | |
| "model.safetensors": "f45f7af3730367192540bca48baa516cbed505b52bf6b40de17f790f9fb8cb70", | |
| "special_tokens_map.json": "068594063e37662c02b21acf42ebb334ef6a74fb810e68a2368f88f08351de76", | |
| "tokenizer.json": "f8984687e4a92a3503d521396d454b7d68e9fdaab2a0288eb3536c7c1aa4bc20", | |
| "tokenizer_config.json": "e78a3ebb48a0b9437efd1823b6b726c823da89e49dd8bcc90c02419d9baa772b" | |
| } | |
| } |