In this article
Speaker markers structure the script; reference audio and its matching transcript supply a different kind of conditioning that must remain associated.
Scope the original Dia release
The official checkpoint card presents dialogue generation from a transcript and optional audio conditioning. This guide concerns the original Dia interface. A speaker marker in that interface identifies a script role; it should not be treated as a globally registered voice name that always maps to the same acoustic person across independent unconditioned generations. Distinguish role structure from the evidence used to condition a particular voice.
Preserve the turn grammar
The project generation guidelines recommend starting with [S1] and alternating it with [S2]. A dialogue editor that inserts a marker before every sentence can accidentally create adjacent turns for the same role. Merge or otherwise prepare consecutive material according to the documented input convention before generation. These are model-facing control markers, so removing them as decorative markup changes the input rather than merely improving presentation.
Bind reference audio to its transcript
For audio-conditioned generation, the project asks for the reference transcript before the new script and consistent speaker tags in that transcript. The Transformers integration documents the corresponding model and processor route. A reference file and unrelated text do not form the same conditioning example merely because both are valid inputs separately. Maintain their association and keep the boundary between already spoken reference content and newly requested dialogue explicit in the application.
Test a script-editor migration
Suppose an editor stores each sentence independently and later assembles a dialogue. Compare the final model-facing script before and after that migration, including role alternation, reference prefix, and nonverbal annotations. A visually unchanged preview can hide normalization that removed tags or moved reference text. Use a short controlled exchange and retain the exact prepared inputs. This checks input integrity without promising identical stochastic audio or implying that every supported nonverbal annotation is guaranteed to appear naturally.
Evaluate structure and sound separately
Record checkpoint, processor revision, prepared script, reference association, and generation settings. Guides to audio representations and inference evaluation provide context. Evaluate spoken-content fidelity, turn attribution, and acoustic continuity separately. A valid waveform and a plausible voice do not prove that the intended dialogue structure survived preprocessing; conversely, correct role markers alone do not establish a persistent acoustic identity across unrelated requests.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.