PUBLIC IMPLEMENTATION
Code for the
standard joint pathway.
The public release keeps the full semantic-latent DiT, Qwen hidden-state readout, standalone pretraining, and joint CE + FM training logic explicit.
The SSL tokenizer, SSL-VAE implementation, downstream acoustic DiT, LeVo VAE decoder, checkpoints, datasets, and private infrastructure remain replaceable external components.
The complete public code for this demo is included in the original
demopage repository
under code/. The entries below link directly to the
main implementation files.
MAIN ENTRY POINTS
Read the implementation by stage.
Full semantic DiT
jointc/dit.py
Sequence-level ID and continuous-condition velocity model.
JOINT PATHQwen + semantic flow
jointc/model.py
Teacher forcing, latent readout, CE + FM loss, and sampling.
STAGE AStandalone pretraining
jointc/warmup.py
Pretrains the semantic DiT from reference IDs and SSL-VAE targets.
STAGE BJoint semantic training
jointc/train.py
Loads the pretrained DiT and trains the planner, readout, and flow.
INFERENCEAutoregressive generation
jointc/infer.py
Samples semantic IDs and integrates the complete semantic flow.
BOUNDARYExternal adapters
jointc/adapters.py
Interfaces for the intentionally private representation and audio modules.
TRAINING STAGES
Two reproducible entry points.
PYTHONPATH=code python3 -m jointc.warmup \
--data path/to/semantic_latents.jsonl \
--output warmup_dit.pt
PYTHONPATH=code python3 -m jointc.train \
--model-name-or-path Qwen/Qwen2.5-1.5B \
--data path/to/jointc.jsonl \
--warmup-checkpoint warmup_dit.pt
REPOSITORY FOLDERS
What is included.
code/jointc/Public model and training modulescode/tests/CPU smoke test and shape checksconfigs/Anonymous training templatesdemo/Six-system qualitative audio pagedocs/Release and anonymity checklists