Text-to-Speech
GLM-TTS
Safetensors
Chinese
English
llm
tts
zero-shot
voice-cloning
reinforcement-learning
flow-matching
Instructions to use zai-org/GLM-TTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLM-TTS
How to use zai-org/GLM-TTS with GLM-TTS:
# 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
Download speech_tokenizer/preprocessor_config.json from zai-org/GLM-TTS: direct link, hf CLI and curl.
- Browser
- Download file 340 Bytes
-
https://huggingface.co/zai-org/GLM-TTS/resolve/refs%2Fpr%2F3/speech_tokenizer/preprocessor_config.json
- Command line
-
hf download hf://zai-org/GLM-TTS@refs/pr/3/speech_tokenizer/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/zai-org/GLM-TTS/resolve/refs%2Fpr%2F3/speech_tokenizer/preprocessor_config.json
340 Bytes
| { | |
| "chunk_length": 30, | |
| "feature_extractor_type": "WhisperFeatureExtractor", | |
| "feature_size": 128, | |
| "hop_length": 160, | |
| "n_fft": 400, | |
| "n_samples": 480000, | |
| "nb_max_frames": 3000, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "processor_class": "WhisperProcessor", | |
| "return_attention_mask": false, | |
| "sampling_rate": 16000 | |
| } | |