transformers.js/scripts
Joshua Lochner 4a991bd911
Add support for `text-to-speech` (w/ Speecht5) (#345)
* Add vocoder to export

* Add tokenizer.json export for speecht5 models

* Update speecht5 supported models

* Create `SpeechT5Tokenizer`

* Add `ones` and `ones_like` tensor functions

* Add support for speecht5 text-to-speech

* Disambiguate `SpeechSeq2Seq` and `Seq2SeqLM`

* Create `TextToAudioPipeline`

* Add listed support for `text-to-audio` / `text-to-speech`

* Use unquantized vocoder by default

* Skip speecht5 unit tests for now

Due to bug in transformers: https://github.com/huggingface/transformers/issues/26547

* Update example pipeline output

* Create simple in-browser TTS demo

* Add template README

* Delete package-lock.json

* Update required transformers.js version

* Add link to Transformers.js

* Double -> Single quotes

* Add link to text-to-speech demo

* Update sample speaker embeddings
2023-10-23 16:31:46 +02:00
..
extra Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00
convert.py Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00
requirements.txt Use `transformers==4.33.2` in conversion script 2023-09-23 17:06:27 +02:00
supported_models.py Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00