LQG checkpoints and training data
Checkpoints and Q-network training data for LQG on four tasks. All four use the same latent setup: a 32 Γ 32 latent AE (max sequence length 64) and a latent denoiser with 250 reverse steps.
| Task | Type | Q-inits |
|---|---|---|
roc (ROCStories) |
unconditional | 80601, 80602, 80603 |
ag_news |
unconditional | 85401, 85402, 85403 |
xsum |
conditional (summarization) | 80601, 80602, 80603 |
qqp |
conditional (paraphrase) | 90601, 90602, 90603 |
Per-task layout
| Path | Contents | Size |
|---|---|---|
<task>/ae/ |
Latent autoencoder (32 latents Γ 32 dims, 50k steps) | ~0.9 GB |
<task>/denoiser/ |
Latent diffusion denoiser (250k steps) and args.json; xsum/denoiser/ also holds best_model.pt |
3.7β4.1 GB per checkpoint |
training_inputs/qt/<task>/execution_contract.json |
Frozen Q-network training config and its contract_sha256 |
small |
training_inputs/qt/<task>/training_data/formal_all250_shard0{0..7}_scored.pt |
8 pre-scored trajectory shards, 512 trajectories each (4,096 total), 250 reverse steps | 8 Γ 2.6 GB |
training_inputs/qt/{roc,ag_news}/scorer_dr_v1_<task>.json |
Density-ratio scorer used to label unconditional trajectories | small |
trained/qt_soft_listwise/<task>/qinit<id>/ |
LQG Q-network checkpoints (TD + anchor + soft-listwise objective, 30k updates): checkpoint.pt, objective_config.json, train.jsonl |
~17.7 GB each |
Rewards used for the shard labels: a density-ratio scorer for roc and ag_news (the
scorer_dr_v1_*.json files), and a roberta-base terminal metric against the training target
for xsum and qqp.
For xsum, denoiser/model.pt is the final-step checkpoint, and every xsum shard and Q-network
here was built with it. denoiser/best_model.pt is the best-validation checkpoint; nothing here
uses it.
Other trained artifacts
| Path | Contents |
|---|---|
trained/qt/{roc,ag_news}/qinit<id>/, trained/qt/{xsum,qqp}/seed{42,142,242}/ |
Earlier end-to-end QT checkpoints (the qt_joint baseline) |
trained/qt_soft_listwise_anchor0/roc/qinit80601/ |
Soft-listwise variant with anchor weight 0 (ROC) |
trained/roc_qt_loss_ablation/<stage>/qinit80601/ |
ROC objective ablation, one checkpoint per cumulative loss stage |
trained/swift/<task>/seed{42,142,242}.pt |
SWIFT reward heads (baseline) |
trained/ttsnap/<task>/seed{42,142,242}/ |
TTSnap pruning checkpoints (baseline) |
Download
Download one task's LQG Q-networks:
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="latent-q/ld4lg-qt-checkpoints",
allow_patterns=["trained/qt_soft_listwise/xsum/*"],
local_dir="ckpt",
)
The companion code repo pulls files into its own directory layout with scripts/hf_sync.py:
scripts/hf_manifest.json covers the AEs, denoisers, contracts and shards, and
scripts/hf_manifest_lqg_qt.json covers the LQG Q-networks.