Giter Site home page Giter Site logo

shaun95 / a3t Goto Github PK

View Code? Open in Web Editor NEW

This project forked from richardbaihe/a3t

0.0 0.0 0.0 58.06 MB

Code for paper A3T: Alignment-Aware Acoustic and Text Pretraining for Speech Synthesis and Editing

License: Apache License 2.0

Shell 26.76% Python 34.10% Perl 1.39% C 6.89% MATLAB 0.51% M 0.06% Makefile 0.10% Jupyter Notebook 29.98% Cython 0.01% Dockerfile 0.19%

a3t's Introduction

$\text{A}^3\text{T}$: Alignment-Aware Acoustic and Text Pretraining for Speech Synthesis and Editing

Code for paper $\text{A}^3\text{T}$: Alignment-Aware Acoustic and Text Pretraining for Speech Synthesis and Editing.

Checkpoints: HuggingFace Model Hub.

Demo: Listen me

๐Ÿ”ฅ This work has been implemented by PaddleSpeech, where they extend $\text{A}^3\text{T}$ to a multilingual version.

Note: If you just want to learn how did we implement the pre-training model, please take a look at this class ESPnetMLMEncAsDecoderModel.

0. Setup

This repos is forked from ESPnet, please setup your environment according to ESPnet's instruction.

An alternative solution is to use our docker image:

docker pull richardbaihe/pytorch:a3t

And inside this docker container, use

conda activate espnet

Our forced aligner and phoneme tokenizer are from HTK and included in tools folder.

Our codebase support the training and evaluation of LJSpeech, VCTK, and LibriTTS. Here, we take the VCTK as an example in this README.

Our vocoder is from https://github.com/kan-bayashi/ParallelWaveGAN

The Fastspeech2 checkpoint is downloaded from https://github.com/espnet/espnet_model_zoo/blob/master/espnet_model_zoo/table.csv

1. Data preprocess

After setup ESPnet environment, Please follow egs2/vctk/sedit/README.md.

2. Inference with speech editing or new speaker TTS

We provide a python script for vctk speech editing and prompt-based TTS decoding bin/sedit_inference.py, where you can find an example in the main function.

3. Train you own model

Please follow egs2/vctk/sedit/README.md.

To cite our work:

@InProceedings{pmlr-v162-bai22d,
  title =   {{A}$^3${T}: Alignment-Aware Acoustic and Text Pretraining for Speech Synthesis and Editing},
  author =       {Bai, He and Zheng, Renjie and Chen, Junkun and Ma, Mingbo and Li, Xintong and Huang, Liang},
  booktitle =   {Proceedings of the 39th International Conference on Machine Learning},
  pages =   {1399--1411},
  year =   {2022},
  volume =   {162},
  series =   {Proceedings of Machine Learning Research},
  month =   {17--23 Jul},
  publisher =    {PMLR},
  pdf =   {https://proceedings.mlr.press/v162/bai22d/bai22d.pdf},
  url =   {https://proceedings.mlr.press/v162/bai22d.html},
}
@inproceedings{bai2021segatron,
  title={Segatron: Segment-aware transformer for language modeling and understanding},
  author={Bai, He and Shi, Peng and Lin, Jimmy and Xie, Yuqing and Tan, Luchen and Xiong, Kun and Gao, Wen and Li, Ming},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={35},
  number={14},
  pages={12526--12534},
  year={2021}
}

a3t's People

Contributors

akreal avatar amadeusuzx avatar amirhussein96 avatar b-flo avatar bloodraven66 avatar bobchennan avatar emrys365 avatar fhrozen avatar ftshijt avatar gtache avatar hirofumi0810 avatar jnishi avatar jzmo avatar kamo-naoyuki avatar kan-bayashi avatar lichenda avatar lumaku avatar mergify[bot] avatar mn5k avatar pengchengguo avatar potato-inoue avatar r9y9 avatar shigekikarita avatar shincling avatar siddhu001 avatar simpleoier avatar sw005320 avatar takenori-y avatar unilight avatar yosukehiguchi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.