XiangLi1999 / Diffusion-LM

Diffusion-LM
Apache License 2.0
1.03k stars 134 forks source link

Missing `control_gen/target_tree.json` file for infill script #9

Closed jwkirchenbauer closed 2 years ago

jwkirchenbauer commented 2 years ago

I'm trying to run the last example command in your README

python scripts/infill.py --model_path {path-to-diffusion-lm}  --model_arch transformer --eval_task_ 'control_tree' --use_ddim True  --notes "tree_adagrad" --eta 1. --verbose pipe

and with a few edits I get it to run up until the line for loading the control_label_lst for the tree task.

Could you add the control_gen/target_tree.json file or reply here with the file contents? I'm trying to get a minimum working execution of the entire pipeline for at least one task to better understand how you implemented the conditional denoising/generation using the embedded control sequence. With this file I think I can get the infill script to execute fully, which should help in this process.

Thanks!

pl8787 commented 2 years ago

After a few edits to the code, I have the same question.

Laney-cici commented 2 years ago

I have the same question.

XiangLi1999 commented 2 years ago

just pushed to the repo, all the control targets are here: https://github.com/XiangLi1999/Diffusion-LM/tree/main/datasets/control_target