Based on repository activity, growth velocity and community engagement.
32
Growth4/30
Activity6/25
Popularity10/25
Trust13/20
258
Stars
High
Sentiment
Votes
258
README.md
Pheme Model
This repo contains recipes and models used for training Pheme TTS models. It is the official implementation for the
paper: Pheme: Efficient and Conversational Speech Generation. Demo is
available here, while a selection of audio samples can be
found here.
Our Pheme TTS framework validates several hypotheses:
We can train Transformer-based conversational TTS models with much fewer training data than e.g., VALL-E or
SoundStorm (e.g., 10x fewer data).
Training can be performed with conversational, podcast, and noisy data like GigaSpeech.
Efficiency is paramount, which includes parameter efficiency (compact models), data efficiency (fewer training data)
and inference efficiency (reduced latency).
One fundamental ingredient is the separation of semantic and acoustic tokens and the adequate speech tokenizer.
Inference can be run parallelly through MaskGit-style inference with 15x speed-ups compared to similarly sized
autoregressive models.
The single-speaker quality can be improved through student-teacher training with (synthetic) data generated by
third-party providers.
or the larger version (300M) at https://huggingface.co/PolyAI/pheme
Prompt-based Generation
The generation can be invoked by:
python transformer_infer.py
Training
Data Preparation
The package requires data of the format: datasets/example/train.json with datasets/audios/ where you store wav
files.
The manifest should follow the format:
{
"LJ001-0051.wav": {
"text": "and paying great attention to the press work or actual process of printing,",
"raw-text": "and paying great attention to the press work or actual process of printing,",
"duration": 4.860090702947846,
"phoneme": "æ|n|d|_|p|eɪ|ɪ|ŋ|_|ɡ|ɹ|eɪ|t|_|ɐ|t|ɛ|n|ʃ|ə|n|_|t|ə|_|ð|ə|_|\"|p|ɹ|ɛ|s|_|w|ɜː|k|\"|_|ɔː|ɹ|_|æ|k|tʃ|uː|əl|_|p|ɹ|ɑː|s|ɛ|s|_|ʌ|v|_|p|ɹ|ɪ|n|t|ɪ|ŋ|,"
},
"LJ001-0120.wav": {
...
},
...
}
If you use this code or components of the model in your own work, please cite our work as:
@misc{budzianowski2024pheme,
title={Pheme: Efficient and Conversational Speech Generation},
author={Paweł Budzianowski and Taras Sereda and Tomasz Cichy and Ivan Vulić},
year={2024},
eprint={2401.02839},
archivePrefix={arXiv},
primaryClass={eess.AS}
}
Ecosystem Role
Standard MoltPulse indexed agent.
Embed Badge
Show off your Pulse Score in your GitHub README to build trust and rank higher.