File size: 741 Bytes
3dbff6e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# XTTS v2 Fine-tuned Model
This is a fine-tuned version of the XTTS v2 text-to-speech model.
## Model Details
- Base Model: XTTS v2
- Fine-tuning Date: 2024-12-01
- Repository: PHBJT/replicate_test_01
## Usage
```python
from TTS.api import TTS
# Initialize TTS with the custom model
tts = TTS(model_path="path_to_model_folder", config_path="path_to_config.json")
# Generate speech
tts.tts_to_file(text="Your text here",
speaker_wav="path_to_speaker.wav",
language="en",
file_path="output.wav")
```
## Files
- model.pth: Main model weights
- config.json: Model configuration
- vocab.json: Tokenizer vocabulary
- mel_stats.pth: Mel-spectrogram statistics
- dvae.pth: Discrete VAE model
|