Gabriel166 commited on
Commit
767a964
·
verified ·
1 Parent(s): 0123bca

Model card for MORAD-RIDE

Browse files
Files changed (1) hide show
  1. README.md +34 -39
README.md CHANGED
@@ -2,7 +2,7 @@
2
  license: apache-2.0
3
  library_name: pytorch
4
  datasets:
5
- - Gabriel166/MORAD-data
6
  tags:
7
  - rna
8
  - rna-design
@@ -11,62 +11,57 @@ tags:
11
  - reinforcement-learning
12
  ---
13
 
14
- # MORAD
15
 
16
- Checkpoint for **MORAD: Reinforcement Learning with Multi-Objective Rewards for
17
- RNA Inverse Design**: the pretrained RIDE backbone-conditioned RNA diffusion
18
- model after 390 updates of online reinforcement learning with the six-component
19
- MORAD reward. A single shared policy designs nucleotide sequences for any target
20
- 3D backbone, with no per-target optimization.
21
 
22
- Code: [github.com/Gabrile166/MORAD](https://github.com/Gabrile166/MORAD) ·
23
- Data: [Gabriel166/MORAD-data](https://huggingface.co/datasets/Gabriel166/MORAD-data)
24
-
25
- ## File
26
-
27
- | File | Content |
28
- |---|---|
29
- | `policy_step000390.pt` | MORAD policy after 390 updates, `{"model": state_dict}` (10,214,213 parameters) |
30
-
31
- SHA-256 checksums are listed in `SHA256SUMS`.
32
 
33
  ## Results on the 153 test targets
34
 
35
- Structural and pairing metrics use candidate 0 of each target (structures
36
- predicted with RhoFold+, pairs with EternaFold); NED is from the thermodynamic
37
- evaluation (ViennaRNA).
 
 
 
 
38
 
39
- | Model | GDT-TS ↑ | TM (C4′) ↑ | RMSD (Å) ↓ | TM (C1′) ↑ | MCC ↑ | NED ↓ |
40
- |---|---:|---:|---:|---:|---:|---:|
41
- | RiboDiffusion | 0.3132 | 0.2839 | 10.9215 | 0.3613 | 0.3267 | 0.6056 |
42
- | gRNAde (T=0.1) | 0.3591 | 0.3179 | 8.8374 | 0.3642 | 0.6734 | 0.3458 |
43
- | RDesign | 0.3291 | 0.2902 | 10.3441 | 0.3392 | 0.6566 | 0.3349 |
44
- | RIDE | 0.3300 | 0.2841 | 9.7199 | 0.3538 | 0.6110 | 0.3906 |
45
- | **MORAD** | **0.3827** | **0.3400** | **7.9196** | **0.3855** | **0.7295** | **0.2830** |
46
 
47
- All tables of the paper are in the
48
- [repository README](https://github.com/Gabrile166/MORAD#results).
49
 
50
- ## Usage
 
 
 
 
 
51
 
52
  ```bash
53
  git clone https://github.com/Gabrile166/MORAD.git && cd MORAD
54
- # install as described in docs/INSTALL.md, then
55
- bash scripts/download_assets.sh # model weights, data and this checkpoint
56
- bash scripts/evaluate_test153.sh morad # full evaluation on the 153 test targets
57
  ```
58
 
59
- `download_assets.sh` stores this file as `artifacts/models/morad/morad_update390.pt`.
60
- Any MORAD checkpoint can be evaluated with
61
- `RIDE_CHECKPOINT=path/to/policy.pt python evaluate.py --config configs/eval/test153.yaml`.
62
-
63
  ```python
64
  import torch
65
 
66
- checkpoint = torch.load("policy_step000390.pt", map_location="cpu")
67
- state_dict = checkpoint["model"] # RIDE network, defined in configs/ride_policy.yaml
68
  ```
69
 
 
 
 
70
  ## Citation
71
 
72
  ```bibtex
 
2
  license: apache-2.0
3
  library_name: pytorch
4
  datasets:
5
+ - MORAD-RNA/MORAD-Targets
6
  tags:
7
  - rna
8
  - rna-design
 
11
  - reinforcement-learning
12
  ---
13
 
14
+ # MORAD-RIDE
15
 
16
+ The released model of **MORAD: Reinforcement Learning with Multi-Objective
17
+ Rewards for RNA Inverse Design**: the pretrained RIDE backbone-conditioned RNA
18
+ diffusion model, post-trained online for 390 updates with the six-objective
19
+ MORAD reward. One shared policy designs nucleotide sequences for any target 3D
20
+ backbone, with no per-target optimization.
21
 
22
+ [Project page](https://gabrile166.github.io/MORAD/) ·
23
+ [Code](https://github.com/Gabrile166/MORAD) ·
24
+ [Data](https://huggingface.co/datasets/MORAD-RNA/MORAD-Targets)
 
 
 
 
 
 
 
25
 
26
  ## Results on the 153 test targets
27
 
28
+ | Model | GDT-TS ↑ | TM-score ↑ | RMSD (Å) ↓ | Pairing MCC ↑ | NED ↓ |
29
+ |---|:---:|:---:|:---:|:---:|:---:|
30
+ | RiboDiffusion | 0.3132 | 0.2839 | 10.9215 | 0.3267 | 0.6056 |
31
+ | gRNAde | 0.3591 | 0.3179 | 8.8374 | 0.6734 | 0.3458 |
32
+ | RDesign | 0.3291 | 0.2902 | 10.3441 | 0.6566 | 0.3349 |
33
+ | RIDE | 0.3300 | 0.2841 | 9.7199 | 0.6110 | 0.3906 |
34
+ | **MORAD-RIDE** | **0.3827** | **0.3400** | **7.9196** | **0.7295** | **0.2830** |
35
 
36
+ <sub>Structures predicted with RhoFold+ (TM-score on C4′), base pairs with
37
+ EternaFold, normalized ensemble defect (NED) with ViennaRNA. gRNAde at T = 0.1.</sub>
 
 
 
 
 
38
 
39
+ ## Files
 
40
 
41
+ | File | Content |
42
+ |---|---|
43
+ | `morad_ride.pt` | policy weights, `{"model": state_dict}`, 10.2 M parameters |
44
+ | `SHA256SUMS` | checksum |
45
+
46
+ ## Quick start
47
 
48
  ```bash
49
  git clone https://github.com/Gabrile166/MORAD.git && cd MORAD
50
+ # set up the environments as described in the README, then
51
+ bash scripts/download_assets.sh # RIDE + RhoFold+ weights, data, this model
52
+ bash scripts/evaluate_test153.sh morad # evaluate on the 153 test targets
53
  ```
54
 
 
 
 
 
55
  ```python
56
  import torch
57
 
58
+ state_dict = torch.load("morad_ride.pt", map_location="cpu")["model"]
59
+ # RIDE network definition: configs/ride_policy.yaml in the code repository
60
  ```
61
 
62
+ Training this model from pretrained RIDE takes about 2 hours on 4 × RTX 3090
63
+ (`bash scripts/train_morad.sh`).
64
+
65
  ## Citation
66
 
67
  ```bibtex