-
Notifications
You must be signed in to change notification settings - Fork 942
Add Fireredtts2 notebook #3120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
openvino-dev-samples
wants to merge
15
commits into
openvinotoolkit:latest
Choose a base branch
from
openvino-dev-samples:fireredtts
base: latest
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add Fireredtts2 notebook #3120
Changes from 13 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
18c7779
add fireredtts2 notebook
openvino-dev-samples cf06ecd
update
openvino-dev-samples ac40f15
add picture
openvino-dev-samples d24b284
fix spelling
openvino-dev-samples 47114c9
fix spelling
openvino-dev-samples cf6d83a
fix spelling
openvino-dev-samples a1ada99
add skip for macos
openvino-dev-samples 432026f
Merge branch 'latest' into fireredtts
openvino-dev-samples 3466697
skip all tests
openvino-dev-samples ed9163a
update model download method
openvino-dev-samples ffba9fa
add model descriptions
openvino-dev-samples 4e29392
update spelling list
openvino-dev-samples 382f0ea
update
openvino-dev-samples aaca5cf
Update notebooks/fireredtts2/README.md
openvino-dev-samples 29119f8
Update notebooks/fireredtts2/gradio_helper.py
openvino-dev-samples File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Multi-speaker dialogue generation with FireRedTTS‑2 and OpenVINO | ||
|
|
||
| FireRedTTS‑2 is a long-form streaming TTS system for multi-speaker dialogue generation, delivering stable, natural speech with reliable speaker switching and context-aware prosody. It is highlighted by following features: | ||
| - **Long Conversational Speech Generation**: It currently supports 3 minutes dialogues with 4 speakers and can be easily scaled to longer conversations | ||
| with more speakers by extending training corpus. | ||
| - **Multilingual Support**: It supports multiple languages including English, Chinese, Japanese, Korean, French, German, and Russian. Support zero-shot voice cloning for cross-lingual and code-switching scenarios. | ||
| - **Ultra-Low Latency**: Building on the new **12.5Hz streaming** speech tokenizer, we employ a dual-transformer architecture that operates on a text–speech interleaved sequence, enabling flexible sentence-by-sentence generation and reducing first-packet latency,Specifically, on an L20 GPU, our first-packet latency as low as 140ms while maintaining high-quality audio output. | ||
| - **Strong Stability**:Our model achieves high similarity and low WER/CER in both monologue and dialogue tests. | ||
| - **Random Timbre Generation**:Useful for creating ASR/speech interaction data. | ||
|
|
||
| More details can be found in the [paper](https://arxiv.org/abs/2509.02020), original [repository](https://github.com/FireRedTeam/FireRedTTS2) and [model card](https://huggingface.co/FireRedTeam/FireRedTTS2) | ||
|
|
||
| In this tutorial we consider how to run and optimize FireRedTTS‑2 using OpenVINO. | ||
|
|
||
| ## Notebook contents | ||
| The tutorial consists from following steps: | ||
|
|
||
| - Install requirements | ||
| - Convert and Optimize model | ||
| - Run OpenVINO model inference | ||
| - Launch Interactive demo | ||
|
|
||
| In this demonstration, you'll create interactive assistant that can answer questions about provided image's content or generate images based on text instructions. | ||
|
|
||
| The images bellow illustrates example of voice cloning and dialogue generation. | ||
|
|
||
| <img width="1862" height="1125" alt="image" src="https://github.com/user-attachments/assets/a7512db5-78cd-4379-956b-893c13534862" /> | ||
|
|
||
| ## Installation instructions | ||
| This is a self-contained example that relies solely on its own code.</br> | ||
| We recommend running the notebook in a virtual environment. You only need a Jupyter server to start. | ||
| For details, please refer to [Installation Guide](../../README.md). | ||
| <img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=5b5a4db0-7875-4bfb-bdbd-01698b5b1a77&file=notebooks/fireredtts2/README.md" /> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.