Instructions to use khmerttsopensource/khmer-tts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use khmerttsopensource/khmer-tts with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="khmerttsopensource/khmer-tts")# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("khmerttsopensource/khmer-tts") model = AutoModelForPreTraining.from_pretrained("khmerttsopensource/khmer-tts") - Notebooks
- Google Colab
- Kaggle
| { | |
| "checkpoint": "khmer-tts", | |
| "sample_count": 50, | |
| "success_count": 50, | |
| "failure_count": 0, | |
| "failure_rate": 0.0, | |
| "total_generation_time_seconds": 21.748883, | |
| "total_audio_duration_seconds": 163.968, | |
| "mean_generation_time_seconds": 0.434978, | |
| "mean_audio_duration_seconds": 3.27936, | |
| "mean_rtf": 0.136449, | |
| "min_rtf": 0.026531, | |
| "max_rtf": 0.289309 | |
| } | |