LibreAI / Аудио / vall-e
// audio · enhuiz/vall-e

vall-e

vall-e — проект с открытым исходным кодом из категории «Аудио» от enhuiz (enhuiz/vall-e на GitHub). У него 2 970 звёзд на GitHub и 399 форков, он распространяется по лицензии MIT и последний раз обновлялся на GitHub 10 мая 2023.

Unofficial PyTorch implementation of VALL-E, the neural codec language model for zero-shot TTS

★ 3,0 тыс. звёзд⑂ 399 форковMITобновлено май 2023
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
enhuiz/vall-e
Звёзды GitHub
2 970
Форки
399
Лицензия
MIT
Последнее обновление на GitHub
10 мая 2023
Категория
Аудио
Тип страницы
Полное руководство по установке
// как это работает

Как это работает

  1. Clarify your goal

    Understand this is a research implementation to train yourself: you will need your own audio/text data and a GPU setup DeepSpeed supports.

  2. Clone the repo

    Clone with submodules, or pip install directly from GitHub as the README shows.

  3. Install and prepare data

    Install the package (tested under Python 3.10.7), put .wav + .normalized.txt files in a data folder, quantize them and generate phonemes.

  4. Train and synthesize

    Create AR/NAR configs, train both models, export checkpoints, then run the synthesis CLI with text and a reference audio path.

// возможности

Почему его любят

AR + NAR models

Implements the autoregressive model for the first quantizer and the non-autoregressive model for the remaining quantizers.

EnCodec tokenizer based

Built on Facebook's EnCodec for audio tokenization and decoding from tokens.

Full training pipeline

Data quantization (vall_e.emb.qnt), phoneme generation (vall_e.emb.g2p) and DeepSpeed-based trainers for both models.

Synthesis CLI

After exporting AR and NAR checkpoints, synthesize speech from text plus a reference recording from the command line.

Configurable presets

YAML configs per dataset with different model presets defined in the code.

Colab toy example

A linked Google Colab notebook demonstrates the flow on a single utterance (the README notes it overfits and is not usable as a model).

Advertisement
// запустите сами

Запустите сами

  1. Clone the repo

    Clone VALL-E with submodules as the README instructs.

    git clone https://github.com/enhuiz/vall-e.git
    cd vall-e
  2. Install the package

    Alternatively install directly from GitHub with pip (Python 3.10.7 tested; a DeepSpeed-supported GPU is needed for training).

    pip install git+https://github.com/enhuiz/vall-e
  3. Synthesize after training

    Export your trained AR/NAR checkpoints, then run the synthesis CLI with text, reference and output paths.

    python -m vall_e <text> <ref_path> <out_path> --ar-ckpt zoo/ar.pt --nar-ckpt zoo/nar.pt
// сценарии использования

Что можно создать

Advertisement
// вопросы и ответы

Вопросы и ответы

Who maintains this VALL-E repo?

enhuiz maintains this unofficial implementation; VALL-E itself is a Microsoft Research model described in the cited arXiv paper.

Is it free?

The code is MIT-licensed. Note the README's notice that EnCodec is CC-BY-NC 4.0, so non-commercial terms apply to the EnCodec parts.

Does it need a paid API key?

No API key — it runs locally with PyTorch. But there is no pretrained checkpoint provided, so you must train the models yourself on GPU hardware.

How does it compare to ready-made TTS tools like gTTS or pyttsx3?

Those synthesize speech immediately. This repo is a research training implementation of a specific paper, with no shipped pretrained model.

How do I get started?

Clone with --recurse-submodules, install, prepare a dataset of .wav and .normalized.txt files, then follow the quantize → phoneme → train → export flow in the README.

// продолжить изучение

Похожие инструменты

Аудио

WaveRNN

WaveRNN vocoder plus Tacotron TTS in PyTorch: train your own neural speech synthesis on LJSpeech.

★ 2,2 тыс. звёздMIT
Смотреть руководство →
Аудио

metavoice-src

MetaVoice-1B: a 1.2B-parameter foundation model for emotional, zero-shot text-to-speech

★ 4,2 тыс. звёздApache-2.0
Смотреть руководство →
Аудио

GPT-SoVITS

1 min voice data can also be used to train a good TTS model! (few shot voice cloning)

★ 62,3 тыс. звёздMIT
Смотреть руководство →
Аудио

index-tts

IndexTTS: industrial-level, controllable zero-shot text-to-speech with voice cloning

★ 24,4 тыс. звёздNOASSERTION
Смотреть руководство →
Аудио

voice-pro

Gradio WebUI for creators and developers, featuring key TTS (Edge-TTS, kokoro) and zero-shot Voice Cloning (E2 & F5-TTS, CosyVoice), with Whisper audio proce…

★ 13,0 тыс. звёздGPL-3.0
Смотреть руководство →
Аудио

vui

A tiny conversational TTS model with cloning, streaming, and CPU speed.

★ 767 звёздCustom
Смотреть руководство →
// альтернативы

Альтернативы: Аудио

Другие проекты из категории «Аудио» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если vall-e вам не подходит.

// ещё в категории audio

Больше проектов: Аудио

Соседние проекты из категории «Аудио» в каталоге, ближайшие по числу звёзд к vall-e — продолжайте изучать полку по обе стороны от него.

Получить vall-e

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.