|
Download README.md from Trelis/duplex-1-1.2b: direct link, hf CLI and curl.
- Browser
- Download file 7.82 kB
-
https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/README.md
- Command line
-
hf download hf://Trelis/duplex-1-1.2b/README.md
-
curl -L -o README.md https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/README.md
7.82 kB
| license: apache-2.0 | |
| language: [en] | |
| tags: [speech-to-speech, full-duplex, audio] | |
| datasets: | |
| - Trelis/duplex-pre-training-yodas3-mimi-v2 | |
| - Trelis/duplex-pre-training-podcasts-mimi-v2 | |
| - Trelis/duplex-conversational-podcasts-mimi-v2 | |
| # duplex-1-1.2b | |
| A 1.2-billion-parameter full-duplex speech-to-speech research model trained on English conversation. It uses the same two-speaker audio and text format as [duplex-1-200m](https://huggingface.co/Trelis/duplex-1-200m), with a larger temporal transformer. | |
| ## Listening samples | |
| Play the 10-second real opening in each row, then listen across. Each continuation starts where the opening ends and lasts 20 seconds. | |
| - **Actual recording:** what the speakers really said next. | |
| - **[Duplex 0 路 200M](https://huggingface.co/Trelis/duplex-0):** the earlier two-text-track model, pretrained on 732 hours of training audio. | |
| - **[Duplex 1 路 200M](https://huggingface.co/Trelis/duplex-1-200m):** the same size, pretrained on 10,747 hours. | |
| - **Duplex 1 路 1.2B:** this model, trained on the same larger dataset as Duplex 1 路 200M. | |
| ### Held-out conversational podcasts | |
| All three models received the same opening audio and words on both tracks and generated both speakers (seed 1, temperature 1, top-k 250). All recordings, including the real continuation, are decoded through Mimi and mixed to mono. | |
| | Clip | Real opening | Actual recording | Duplex 0 路 200M | Duplex 1 路 200M | Duplex 1 路 1.2B | | |
| |---|---|---|---|---|---| | |
| | 1 | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-1-opening.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-1-actual.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-1-duplex0.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-1-200m.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-1-248fc609.mp3"></audio> | | |
| | 2 | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-2-opening.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-2-actual.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-2-duplex0.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-2-200m.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-2-248fc609.mp3"></audio> | | |
| | 3 | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-3-opening.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-3-actual.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-3-duplex0.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-3-200m.mp3"></audio> | <audio controls preload="none" src="https://huggingface.co/Trelis/duplex-1-1.2b/resolve/main/samples/podcast-3-248fc609.mp3"></audio> | | |
| ## Checkpoint | |
| - **Weights:** [Final conversational checkpoint](https://huggingface.co/Trelis/duplex-1b-speedrun-private/tree/248fc609cce80402b58b01665d261f5aa2e2e5d7/long-conversational) (private). | |
| - **Architecture:** 24 temporal layers of width 1,792, up from 12 layers of width 768 in the 200M. The depth decoder stays at two layers of width 256. | |
| - **Audio:** eight Mimi codebooks at 12.5 frames per second on each speaker track, with one text track per speaker. | |
| ## Training data | |
| Both stages used Mimi audio tokens and machine-generated transcripts. | |
| **Pre-training (142,184 steps).** The training split contained about 10,747 hours of English speech. Most came from two datasets: | |
| - [YODAS3](https://huggingface.co/datasets/Trelis/duplex-pre-training-yodas3-mimi-v2): English speech from YODAS3. | |
| - [Podcasts](https://huggingface.co/datasets/Trelis/duplex-pre-training-podcasts-mimi-v2): English podcast episodes from public RSS feeds. | |
| **Final stage, conversational (5,045 steps).** Training continued on [two-speaker podcast conversations](https://huggingface.co/datasets/Trelis/duplex-conversational-podcasts-mimi-v2) with frequent turn-taking. The model saw 2,502 hours, just under one pass over the 2,534-hour training split. Every training clip in this stage was already in the pre-training set. | |
| Each stage mixed earlier audio with v2: about 732 hours of earlier YODAS3 and podcast speech in the pre-training split, and 150 hours of earlier two-speaker podcasts in the conversational split. | |
| ## Training progress | |
| Both models saw about 72,663 hours of pretraining audio and 2,501 hours of conversational audio, counting repeats. The 1.2B ran 142,184 pretraining steps and 5,045 conversational steps. It began conversational annealing at step 100; the 200M began at step 4,033. | |
|  | |
| On held-out conversational podcasts (`conversational@v1`), final audio loss was **693.67 bits/s** for the 1.2B and **707.75 bits/s** for the 200M across all eight codebooks. First-codebook loss was **57.45** and **58.09 bits/s**, respectively. Lower is better. | |
|  | |
| The 1.2B used an estimated **26.12 H100-hours** for pretraining and **0.92** for conversational training, based on measured training speed. The 200M conversational stage took **0.37** estimated H100-hours; its pretraining timing is incomplete. [Download the curve data](report/validation.csv). | |
| ## Benchmarks | |
| Audio loss on the held-out `conversational@v1` split (lower is better): | |
| | Model | First-codebook loss (bits/s) | All-codebook loss (bits/s) | | |
| |---|---:|---:| | |
| | Duplex 0 路 200M | 66.41 | 820.33 | | |
| | Duplex 1 路 200M | 58.09 | 707.75 | | |
| | Duplex 1 路 1.2B | 57.45 | 693.67 | | |
| **Joint rollout.** Each model hears the same 10-second opening and continues both sides for 50 seconds. Real speech is the original continuation. | |
| | Joint rollout | Agreed words/min per channel | | |
| |---|---:| | |
| | Real speech | 90.2 | | |
| | Duplex 0 路 200M | 34.9 | | |
| | Duplex 1 路 200M | 57.3 | | |
| | Duplex 1 路 1.2B | 57.4 | | |
| Agreed words are words that appear in the same order in the normalized Nemotron and Gemini Carbon transcripts. The pilot used 24 openings, one sampling seed and equal weight for each of the 10 podcast sources. | |
| ## Licence | |
| The model weights are released under the [Apache License 2.0](LICENSE). That licence covers the model only. It does not cover the listening samples or the training datasets. | |
| The real opening and actual recording in each row are short excerpts from the episodes credited below. The recordings remain the property of their creators. The three model continuations in each row are generated audio. | |
| | Clip | Podcast | Episode | | |
| | --- | --- | --- | | |
| | 1 | WE BOUGHT A MIC | [YOU CAN SEE EVERYTHING](https://podcasters.spotify.com/pod/show/weboughtamic/episodes/YOU-CAN-SEE-EVERYTHING-e3quhib) | | |
| | 2 | The Food For ThoughtCast: Call Me Chef | [169. Seamus Higgins Teaches Us About The Global Food Supply](https://www.foodforthoughtcast.com/episodes/season/4/) | | |
| | 3 | The Patrick LabyorSheaux with Patrick Labyorteaux | [David James Elliott - Star of JAG](https://bleav.com/shows/the-patrick-labyorsheaux-with-patrick-labyorsheaux/episodes/david-james-elliott-star-of-jag/) | | |