MIT License

项目介绍

yrom/finetune-index-tts 是一个托管在 GitHub 上的开源项目,主要使用 Jupyter Notebook 编写,采用 MIT License 许可证,目前获得 140 个 Star、23 次 Fork。

仓库全名
yrom/finetune-index-tts
开源许可证
MIT License
Star 数
140
Fork 数
23
未关闭 Issue
6

README 摘要

IndexTTS Fine-tuning Demo 中文说明 This project is a demonstration of fine-tuning IndexTTS to generate speech with addtional special tags (such as ), enabling the synthesis of non-textual elements like laughter. Goals Show you how to fine-tune IndexTTS's text Tokenizer (BPE) and AR part (GPT2). Support for addtional special tags like in text to generate laughter. Fine-tuning Dataset 🤗 MrDragonFox/Elise (Modelscope…

完整内容见 GitHub 原始 README 或本页 。

常见问题

finetune-index-tts 用什么语言开发?

主要使用 Jupyter Notebook 编写,采用 MIT License 许可证,目前有 140 个 Star。

finetune-index-tts 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 finetune-index-tts 的源码?

可以直接克隆仓库:git clone https://github.com/yrom/finetune-index-tts.git,默认分支为 main;安装与运行步骤见仓库 README。

finetune-index-tts 最近还在维护吗?

仓库最近一次更新为 2025年6月17日,当前有 6 个未关闭 Issue;Star 数为 140,可作为社区活跃度的参考。

关于

IndexTTS Fine-tuning notebooks

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
188
价值分
90
活跃状态
活跃

语言占比

Jupyter Notebook

贡献者

README

IndexTTS Fine-tuning Demo

中文说明

This project is a demonstration of fine-tuning IndexTTS to generate speech with addtional special tags (such as <GIGGLES>), enabling the synthesis of non-textual elements like laughter.

Goals

  • Show you how to fine-tune IndexTTS’s text Tokenizer (BPE) and AR part (GPT2).
  • Support for addtional special tags like <GIGGLES> in text to generate laughter.

Fine-tuning Dataset

🤗 MrDragonFox/Elise (Modelscope mirror)

Fine-tuning Experiment Results Example

Reference Audio Text Synthesized Speech
Female-1 Seriously? <giggles> That’s the cutest thing I’ve ever heard! Synthesized Speech
Female-1 真的吗? <giggles> 这也太可爱了吧! Synthesized Speech
Male-1 Wha—? Cute? <giggles> You think I’m cute?! Well, uh, thanks, I guess? Synthesized Speech
Male-1 哎呀! 忘了他还在那等我们呢!<giggles> 我们两个动作得快点了! Synthesized Speech

IndexTTS Architecture Overview

flowchart TD D("Reference Transcript") -->BPE[[**BPE**]] --> T(Text Token IDs) A("Reference Audio") --> M(Mel-Spectrogram) --> VAE[[*DiscreteVAE*]]--> B(Mel-Spec Code Ids) A -->CE[[*Conformer Encoder*]] --> Pe[[*Perceiver Resampler*]] --> CA(Audio Context Vector) -->|Conditioning| C B --> C T --> C[[**GPT2**]] C --> L("Latent Speech Representation") L --> V[["*BigVGAN* (Generator)"]] A --> SP[[*ECAPA-TDNN*]]--> S(Speaker Embedding) S --> V V -->|Synthesis| PCM("Waveform (PCM)") --> W("Synthesized Speech")

Modules Fine-tuned in This Project

  • BPE: Actually sentencepiece, this project show you how to adding new special tags such as <GIGGLES> to the text Tokenizer. See the preprocess_mel_dataset.ipynb notebook for details. Open In Colab
  • GPT2: The autoregressive model part, using the 🤗 peft library for LoRA fine-tuning, supporting the generation of speech latents for text with special tags. See the fine_tune_indextts.ipynb notebook for details. Open In Colab

Disclaimer

The reference audio files and the datasets used in this project are granted under the CC BY-NC-SA 4.0 license. They are used for the research and demonstration purposes of this project only, and are not intended for any commercial use. The synthesized audio files generated by this project are also not intended for commercial use.

License

This project is licensed under the MIT License.

评论

暂无评论