tgm dlm
1.0.0

هذا هو رمز ورقة AAAI 2024: توليد جزيء موجه النص مع نموذج لغة الانتشار.
cd TGMDLMCODE; pip install -e improved-diffusion/; pip install -e transformers/ .scibert .cd improved-diffusion; cd scriptspython process_text.py -i train_val_256; python process_text.py -i testpython train.pypython train_correct_withmask.pyالتفاصيل التالية مهمة بالنسبة لك أن تعرف قبل أن تدرب هذا النموذج بنفسك بالفعل!
python text_sample.py; python post_sample.py الملف النهائي OURMODEL_OUTPUT.txt هو إخراجنا. يمكنك تقييم جميع المقاييس باستثناء text2mol بواسطة Runnning ev.py لـ Text2mol ، يرجى الانتقال إلى Molt5 لمزيد من التفاصيل.
يرجى الاستشهاد بالورقة إذا كنت تستخدم الرمز:
@article{gong2024text,
title={Text-Guided Molecule Generation with Diffusion Language Model},
author={Gong, Haisong and Liu, Qiang and Wu, Shu and Wang, Liang},
volume={38},
url={https://ojs.aaai.org/index.php/AAAI/article/view/27761},
DOI={10.1609/aaai.v38i1.27761},
number={1},
journal={Proceedings of the AAAI Conference on Artificial Intelligence},
year={2024},
month={Mar.},
pages={109-117}
}
يعتمد هذا الرمز على https://github.com/xiangli1999/diffusion-lm و https://github.com/blender-nlp/molt5