/ Модель

Характеристики

Библиотека
pytorch
Опубликована
20 окт 2026

adversarial-tts

Синтез речиТекст → аудио3 профессии
0скачиваний за 30 дней0лайковвеса обновлены21 окт 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Контрольные точки AdaSpeech и BigVGAN для синтеза английской или китайской речи по тексту с аудио образцом голоса.

Репозиторий Cocii/adversarial-tts содержит исследовательские контрольные точки для синтеза речи по тексту с заданным голосовым образцом. В состав входят акустическая модель AdaSpeech и три варианта вокодера BigVGAN, связанные с работой Detector-Guided Vocoder Training for Adversarial Text-to-Speech Synthesis. Для синтеза нужны текст, аудио образца и соответствующий speaker embedding; модель выдаёт речь в формате WAV с частотой 22,05 кГц.

Карточка описывает варианты вокодера, обучавшиеся с ориентацией на RawNet2 и другие детекторы, а также вариант для оценки переноса с исключённым из дообучения AASIST. Интерфейс использует 80 мел-диапазонов и шаг 256 отсчётов. Подтверждена совместимость контрольных точек и выполнение вычислений, но не качество речи, сохранение личности исходного говорящего, оценки детекторов или воспроизведение метрик статьи. Лицензия на веса явно не предоставлена; для использования также потребуются внешние аудио образцы и speaker embeddings.

Сценарии применения

  • синтез речи по тексту с заданным голосовым образцом
  • создание демонстрационных аудиофрагментов на английском языке
  • создание демонстрационных аудиофрагментов на китайском языке
  • исследование устойчивости синтеза речи к детекторам поддельного аудио
  • сравнение вариантов нейронного вокодера BigVGAN

Ограничения

Карточка подтверждает загрузку контрольных точек и вычислительную совместимость, но не качество речи, сходство с голосом образца, результаты детекторов или воспроизведение метрик исследования. Лицензия на веса не предоставлена; аудио образцы и speaker embeddings нужно подготовить отдельно.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

adversarial-tts checkpoints

English | 简体中文 | Italiano

Reference-conditioned speech synthesis with an AdaSpeech acoustic model and three BigVGAN vocoders, accompanying Detector-Guided Vocoder Training for Adversarial Text-to-Speech Synthesis.

Code and installation · Audio samples

Files and variants

FileRole
acoustic_inference.ptAcoustic model state dictionary, without optimizer state; use this for inference.
g_VBaseline BigVGAN vocoder.
g_VRBigVGAN variant targeting RawNet2.
g_VRTBigVGAN variant targeting RawNet2 and TSSD.
96000.pth.tarFull original acoustic training checkpoint, retained unchanged with its optimizer state.
tts.yamlRelative-path bundle selecting the acoustic assets and each vocoder.
model.yaml, preprocess.yaml, config_*.jsonMatching architecture and frontend configurations.
inference_stats.jsonConstructor-only pitch/energy bin endpoints extracted from the acoustic checkpoint.
*.dictPronunciation dictionaries used by the acoustic frontend.
SHA256SUMS, checksums.jsonFile integrity and acoustic export records.

The interface is 22,050 Hz, 80 mel bands, a 1,024-sample FFT/window, a 256-sample hop, and 0–8,000 Hz mel frequencies. AASIST is held out of vocoder fine-tuning for transfer evaluation. These labels describe the research variants; evaluation metrics are not inferred from file names or loading tests.

The inference acoustic export preserves all 296 model-state tensors exactly, including their dtypes and stored pitch/energy bins. inference_stats.json initializes the constructor; strict checkpoint loading restores every original bin. It is not the original training normalization statistics and is not a substitute for those statistics when resuming preprocessing or training. Original checkpoints are retained byte for byte.

Run synthesis

From a checkout of the code repository:

python3.12 -m venv .venv
.venv/bin/python -m pip install -e ".[acoustic,vocoder]" huggingface_hub
.venv/bin/hf download Cocii/adversarial-tts --local-dir checkpoints
.venv/bin/python inference.py --config checkpoints/tts.yaml \
  --text "Hello." --reference-embedding /path/to/speaker.npy \
  --reference-audio /path/to/reference.wav --vocoder VRT \
  --output-dir outputs/demo --acoustic-device cpu --vocoder-device cpu

Use your own matching [512] or [1,512] speaker embedding and reference audio. A speaker embedding alone does not supply utterance conditioning. A reference mel may replace reference audio; optional speaker-encoder generation, text-file input, controls, and separate environments are documented in the code repository. On Apple Silicon, select --vocoder-device mps; acoustic prediction uses CPU or CUDA.

Verified scope

On an Apple M2, the exported acoustic checkpoint loaded strictly with all tensors matching the original. The unified CLI then synthesized Hello. through each original V/VR/VRT checkpoint using a synthetic unit speaker embedding and a public reference clip. All three produced a finite [80,50] predicted mel and mono 22,050 Hz PCM16 WAV with 12,800 samples. Vocoding used explicit MPS with fallback disabled.

This verifies checkpoint compatibility and computation. It does not establish original speaker identity, trained speech quality, detector scores, training/resume correctness, or reproduction of the manuscript's metrics. The demonstration audio page contains the original research samples, not these smoke-test outputs.

Credits and licensing

We thank the authors of AdaSpeech and NVIDIA BigVGAN, and the contributors of the supporting acoustic, vocoder, and detector implementations. See the code repository's third-party notices. No blanket license for model weights is granted by this model card. Reference voices, personal speaker embeddings, private datasets, and the manuscript PDF are not included in this package.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · pytorch

Нельзя запустить

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
48096c3

0 моделей