ReactXT / README.md
SyrWin
updated readme.md
24eaaa7
|
raw
history blame
1.06 kB
---
title: ReactXT
emoji: 🧪
colorFrom: yellow
colorTo: green
sdk: gradio
sdk_version: 4.36.0
python_version: 3.8
app_file: app.py
pinned: false
---
# ReactXT: Understanding Molecular “Reaction-ship” via Reaction-Contextualized Molecule-Text Pretraining
## Comparison to previous molecule-text generative modeling methods
![fig1](./figures/comparison.pdf)
## Framework of ReactXT
![fig1](./figures/frameworks.pdf)
## Requirements
Our environment is detailed in `environment.yml`. To create a new environment `reactxt`, run the following command:
```bash
conda env create -f environment.yml
```
## Reproduce the results
### Reaction-Contextualized Molecule-Text Pretraining
```bash
bash scripts/run_pretrain.sh
```
### Finetuning on downstream tasks
1. Experimental Procedure Prediction on OpenExp
```bash
bash scripts/run_action.sh
```
2. Molecule Captioning on PubChem324k and CheBI-20
```bash
bash scripts/run_caption.sh
bash scripts/run_chebi.sh
```
3. Retro-synthesis Prediction on USPTO-50k
```bash
bash scripts/run_retro.sh
```