Upload converted RfDiffusion checkpoint
Browse files- README.md +42 -0
- config.json +148 -0
- conversion_report.json +17 -0
- manifest.json +18 -0
- model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: "ofoldx"
|
| 3 |
+
tags:
|
| 4 |
+
- "biology"
|
| 5 |
+
- "biomolecular-design"
|
| 6 |
+
- "protein"
|
| 7 |
+
- "rna"
|
| 8 |
+
- "dna"
|
| 9 |
+
- "model"
|
| 10 |
+
- "rfdiffusion"
|
| 11 |
+
- "design-generation"
|
| 12 |
+
- "protein-design"
|
| 13 |
+
artifact_kind: "model"
|
| 14 |
+
repo_id: "oteam/rfdiffusion-complex-base"
|
| 15 |
+
pipeline_tag: "other"
|
| 16 |
+
task: "design_generation"
|
| 17 |
+
widget:
|
| 18 |
+
- pipeline_tag: "other"
|
| 19 |
+
task: "design_generation"
|
| 20 |
+
example_title: "Backbone sequence design"
|
| 21 |
+
text: "input_structure: backbone.cif\ndesign_chains: A"
|
| 22 |
+
input_format: "structure_path"
|
| 23 |
+
- pipeline_tag: "other"
|
| 24 |
+
task: "design_generation"
|
| 25 |
+
example_title: "Binder design"
|
| 26 |
+
text: "target_structure: target.cif\ntarget_chains: A\ndesign_chains: B"
|
| 27 |
+
input_format: "structure_path"
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
# rfdiffusion-complex-base
|
| 31 |
+
|
| 32 |
+
This repository contains a biomolecular `model` artifact.
|
| 33 |
+
It serves the `design_generation` task.
|
| 34 |
+
The architecture key is `rfdiffusion`.
|
| 35 |
+
|
| 36 |
+
The artifact is described by `manifest.json`; runtime configuration and weights stay in their own files.
|
| 37 |
+
|
| 38 |
+
```python
|
| 39 |
+
from ofoldx import AutoModel
|
| 40 |
+
|
| 41 |
+
model = AutoModel.from_pretrained("oteam/rfdiffusion-complex-base")
|
| 42 |
+
```
|
config.json
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"source": "RosettaCommons/RFdiffusion",
|
| 3 |
+
"checkpoint_variant": "Complex_base_ckpt",
|
| 4 |
+
"model": {
|
| 5 |
+
"num_extra_blocks": 4,
|
| 6 |
+
"num_main_blocks": 32,
|
| 7 |
+
"num_refinement_blocks": 4,
|
| 8 |
+
"msa_size": 256,
|
| 9 |
+
"full_msa_size": 64,
|
| 10 |
+
"pair_size": 128,
|
| 11 |
+
"template_size": 64,
|
| 12 |
+
"num_msa_attention_heads": 8,
|
| 13 |
+
"num_pair_attention_heads": 4,
|
| 14 |
+
"num_template_attention_heads": 4,
|
| 15 |
+
"hidden_size": 32,
|
| 16 |
+
"template_hidden_size": 32,
|
| 17 |
+
"dropout": 0.15,
|
| 18 |
+
"time_embedding_size": 0,
|
| 19 |
+
"time_embedding_projection_size": 10,
|
| 20 |
+
"freeze_track_motif": false,
|
| 21 |
+
"use_motif_timestep": true,
|
| 22 |
+
"se3_param_full": {
|
| 23 |
+
"num_layers": 1,
|
| 24 |
+
"num_channels": 32,
|
| 25 |
+
"num_degrees": 2,
|
| 26 |
+
"num_attention_heads": 4,
|
| 27 |
+
"div": 4,
|
| 28 |
+
"l0_in_features": 8,
|
| 29 |
+
"l0_out_features": 8,
|
| 30 |
+
"l1_in_features": 3,
|
| 31 |
+
"l1_out_features": 2,
|
| 32 |
+
"num_edge_features": 32
|
| 33 |
+
},
|
| 34 |
+
"se3_param_topk": {
|
| 35 |
+
"num_layers": 1,
|
| 36 |
+
"num_channels": 32,
|
| 37 |
+
"num_degrees": 2,
|
| 38 |
+
"num_attention_heads": 4,
|
| 39 |
+
"div": 4,
|
| 40 |
+
"l0_in_features": 64,
|
| 41 |
+
"l0_out_features": 64,
|
| 42 |
+
"l1_in_features": 3,
|
| 43 |
+
"l1_out_features": 2,
|
| 44 |
+
"num_edge_features": 64
|
| 45 |
+
},
|
| 46 |
+
"vocab_size": 21
|
| 47 |
+
},
|
| 48 |
+
"diffuser": {
|
| 49 |
+
"num_timesteps": 50,
|
| 50 |
+
"b_0": 0.01,
|
| 51 |
+
"b_T": 0.07,
|
| 52 |
+
"min_b": 1.5,
|
| 53 |
+
"max_b": 2.5,
|
| 54 |
+
"min_sigma": 0.02,
|
| 55 |
+
"max_sigma": 1.5,
|
| 56 |
+
"schedule_type": "linear",
|
| 57 |
+
"so3_schedule_type": "linear",
|
| 58 |
+
"so3_type": "igso3",
|
| 59 |
+
"crd_scale": 0.25,
|
| 60 |
+
"partial_timesteps": null,
|
| 61 |
+
"truncation_level": 2000,
|
| 62 |
+
"igso3_num_omega": 1000,
|
| 63 |
+
"igso3_num_sigma": 500
|
| 64 |
+
},
|
| 65 |
+
"preprocess": {
|
| 66 |
+
"sidechain_input": false,
|
| 67 |
+
"motif_sidechain_input": true,
|
| 68 |
+
"template_1d_size": 24,
|
| 69 |
+
"template_2d_size": 44,
|
| 70 |
+
"predict_previous": false,
|
| 71 |
+
"prob_self_cond": 0.5,
|
| 72 |
+
"str_self_cond": true
|
| 73 |
+
},
|
| 74 |
+
"denoiser": {
|
| 75 |
+
"noise_scale_ca": 1.0,
|
| 76 |
+
"final_noise_scale_ca": 1.0,
|
| 77 |
+
"ca_noise_schedule_type": "constant",
|
| 78 |
+
"noise_scale_frame": 1.0,
|
| 79 |
+
"final_noise_scale_frame": 1.0,
|
| 80 |
+
"frame_noise_schedule_type": "constant"
|
| 81 |
+
},
|
| 82 |
+
"inference": {
|
| 83 |
+
"input_pdb": null,
|
| 84 |
+
"num_designs": 1,
|
| 85 |
+
"design_startnum": 0,
|
| 86 |
+
"ckpt_override_path": null,
|
| 87 |
+
"symmetry": null,
|
| 88 |
+
"recenter": true,
|
| 89 |
+
"radius": 10.0,
|
| 90 |
+
"model_only_neighbors": false,
|
| 91 |
+
"output_prefix": "samples/design",
|
| 92 |
+
"write_trajectory": false,
|
| 93 |
+
"empty_cache_per_design": false,
|
| 94 |
+
"scaffold_guided": false,
|
| 95 |
+
"model_runner": "SelfConditioning",
|
| 96 |
+
"cautious": true,
|
| 97 |
+
"align_motif": true,
|
| 98 |
+
"symmetric_self_cond": true,
|
| 99 |
+
"final_step": 1,
|
| 100 |
+
"deterministic": false,
|
| 101 |
+
"trb_save_ckpt_path": null,
|
| 102 |
+
"schedule_directory_path": null,
|
| 103 |
+
"model_directory_path": null,
|
| 104 |
+
"cyclic": false,
|
| 105 |
+
"cyc_chains": "a"
|
| 106 |
+
},
|
| 107 |
+
"contigmap": {
|
| 108 |
+
"contigs": null,
|
| 109 |
+
"inpaint_seq": null,
|
| 110 |
+
"inpaint_str": null,
|
| 111 |
+
"inpaint_str_helix": null,
|
| 112 |
+
"inpaint_str_strand": null,
|
| 113 |
+
"inpaint_str_loop": null,
|
| 114 |
+
"provide_seq": null,
|
| 115 |
+
"length": null
|
| 116 |
+
},
|
| 117 |
+
"ppi": {
|
| 118 |
+
"hotspot_res": null
|
| 119 |
+
},
|
| 120 |
+
"potentials": {
|
| 121 |
+
"guiding_potentials": null,
|
| 122 |
+
"guide_scale": 10.0,
|
| 123 |
+
"guide_decay": "constant",
|
| 124 |
+
"olig_inter_all": null,
|
| 125 |
+
"olig_intra_all": null,
|
| 126 |
+
"olig_custom_contact": null,
|
| 127 |
+
"substrate": null
|
| 128 |
+
},
|
| 129 |
+
"scaffoldguided": {
|
| 130 |
+
"scaffoldguided": false,
|
| 131 |
+
"target_pdb": false,
|
| 132 |
+
"target_path": null,
|
| 133 |
+
"scaffold_list": null,
|
| 134 |
+
"scaffold_dir": null,
|
| 135 |
+
"sampled_insertion": 0,
|
| 136 |
+
"sampled_N": 0,
|
| 137 |
+
"sampled_C": 0,
|
| 138 |
+
"ss_mask": 0,
|
| 139 |
+
"systematic": false,
|
| 140 |
+
"target_ss": null,
|
| 141 |
+
"target_adj": null,
|
| 142 |
+
"mask_loops": true,
|
| 143 |
+
"contig_crop": null
|
| 144 |
+
},
|
| 145 |
+
"logging": {
|
| 146 |
+
"inputs": false
|
| 147 |
+
}
|
| 148 |
+
}
|
conversion_report.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint": "rfdiffusion-weights/Complex_base_ckpt.pt",
|
| 3 |
+
"config_path": "artifacts/hub/ofoldx/rfdiffusion-complex-base/config.json",
|
| 4 |
+
"dtype": "keep",
|
| 5 |
+
"dtype_counts": {
|
| 6 |
+
"float32": 5998
|
| 7 |
+
},
|
| 8 |
+
"load_check": {
|
| 9 |
+
"error": null,
|
| 10 |
+
"ok": true,
|
| 11 |
+
"strict": true
|
| 12 |
+
},
|
| 13 |
+
"output_dir": "artifacts/hub/ofoldx/rfdiffusion-complex-base",
|
| 14 |
+
"state_key": "model_state_dict",
|
| 15 |
+
"tensor_count": 5998,
|
| 16 |
+
"weights_path": "artifacts/hub/ofoldx/rfdiffusion-complex-base/model.safetensors"
|
| 17 |
+
}
|
manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format": "biomolecular_pretrained",
|
| 3 |
+
"format_version": 1,
|
| 4 |
+
"kind": "model",
|
| 5 |
+
"producer": {
|
| 6 |
+
"package": "ofoldx",
|
| 7 |
+
"version": "0.1.dev1+g9a78c7e44.d20260609"
|
| 8 |
+
},
|
| 9 |
+
"entrypoint": "ofoldx.models.rfdiffusion.model.RfDiffusionDesignGenerator",
|
| 10 |
+
"architecture": "rfdiffusion",
|
| 11 |
+
"task": "design_generation",
|
| 12 |
+
"files": {
|
| 13 |
+
"config": "config.json"
|
| 14 |
+
},
|
| 15 |
+
"weights": {
|
| 16 |
+
"default": "model.safetensors"
|
| 17 |
+
}
|
| 18 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c31af0fc9fba6e6f0644b6673c30f3b877f00bc2d73148980ea6b679f104b2fa
|
| 3 |
+
size 240078632
|