ZhiyuanChen commited on
Commit
b373e6a
·
verified ·
1 Parent(s): a5472da

Publish OFoldX pipeline artifacts

Browse files
README.md CHANGED
@@ -6,11 +6,11 @@ tags:
6
  - "protein"
7
  - "rna"
8
  - "dna"
9
- - "model"
10
  - "proteinmpnn"
11
  - "design-generation"
12
  - "protein-design"
13
- artifact_kind: "model"
14
  repo_id: "oteam/proteinmpnn-membrane-per-residue-noise020"
15
  license: "mit"
16
  pipeline_tag: "other"
@@ -34,11 +34,11 @@ widget:
34
 
35
  # proteinmpnn-membrane-per-residue-noise020
36
 
37
- OFoldX `model` artifact for biomolecular design generation, using the `proteinmpnn` architecture.
38
 
39
  ## Disclaimer
40
 
41
- This model card was generated by the OFoldX team for an OFoldX `model` artifact.
42
  The upstream model authors did not write this card unless explicitly stated otherwise.
43
 
44
  OFoldX is pre-alpha research software. Check the source checkpoint, upstream release, and local validation
@@ -53,7 +53,6 @@ Converted membrane ProteinMPNN checkpoint with per-residue membrane labels.
53
  ### Model Provenance
54
 
55
  - **Upstream Project**: Membrane ProteinMPNN
56
- - **Source Checkpoint**: `per_residue_label_membrane_mpnn_v_48_020.pt`
57
  - **Source Release**: [https://github.com/dauparas/LigandMPNN](https://github.com/dauparas/LigandMPNN)
58
  - **Primary Paper**: [Robust deep learning-based protein sequence design using ProteinMPNN](https://doi.org/10.1126/science.add2187)
59
  - **Upstream License**: MIT for upstream ProteinMPNN and LigandMPNN code/model parameters
@@ -63,20 +62,13 @@ Converted membrane ProteinMPNN checkpoint with per-residue membrane labels.
63
  | Field | Value |
64
  | ----- | ----- |
65
  | Repository | `oteam/proteinmpnn-membrane-per-residue-noise020` |
66
- | Artifact Kind | `model` |
67
  | Task | `design_generation` |
68
  | Architecture | `proteinmpnn` |
69
- | Entrypoint | `ofoldx.models.proteinmpnn.model.ProteinMPNNDesignGenerator` |
70
- | Config | `config.json` |
71
- | Weights | `model.safetensors` |
72
- | Source Checkpoint | `per_residue_label_membrane_mpnn_v_48_020.pt` |
73
- | Checkpoint Variant | `per_residue_label_membrane_mpnn_v_48_020` |
74
- | k-Neighbors | `48` |
75
- | Node Feature Size | `3` |
76
- | Training Noise | `0.20 Angstrom` |
77
 
78
  > [!NOTE]
79
- > Source checkpoint: `per_residue_label_membrane_mpnn_v_48_020.pt`; the public repo suffix records the upstream Gaussian noise variant (0.20 Angstrom).
80
 
81
  ### Links
82
 
@@ -84,7 +76,7 @@ Converted membrane ProteinMPNN checkpoint with per-residue membrane labels.
84
  - **Upstream paper**: [Robust deep learning-based protein sequence design using ProteinMPNN](https://doi.org/10.1126/science.add2187)
85
  - **Upstream repository**: [Membrane ProteinMPNN](https://github.com/dauparas/LigandMPNN)
86
  - **Source checkpoint release**: [https://github.com/dauparas/LigandMPNN](https://github.com/dauparas/LigandMPNN)
87
- - **Code**: [`ofoldx/models/proteinmpnn/model.py`](https://github.com/OTeam-AI4S/OFoldX/tree/main/ofoldx/models/proteinmpnn/model.py)
88
  - **Project repository**: [https://github.com/OTeam-AI4S/OFoldX](https://github.com/OTeam-AI4S/OFoldX)
89
  - **Issues**: [https://github.com/OTeam-AI4S/OFoldX/issues](https://github.com/OTeam-AI4S/OFoldX/issues)
90
 
@@ -96,19 +88,14 @@ The artifact depends on the [`ofoldx`](https://github.com/OTeam-AI4S/OFoldX) lib
96
  pip install ofoldx
97
  ```
98
 
99
- ### Direct Use
100
 
101
- Load the artifact from `oteam/proteinmpnn-membrane-per-residue-noise020` using the OFoldX `Auto*` interface:
102
 
103
  ```python
104
  from ofoldx.pipelines import Pipeline
105
 
106
  pipeline = Pipeline.from_pretrained("oteam/proteinmpnn-membrane-per-residue-noise020")
107
- output = pipeline(...)
108
-
109
- from ofoldx import AutoModel
110
-
111
- model = AutoModel.from_pretrained("oteam/proteinmpnn-membrane-per-residue-noise020")
112
  ```
113
 
114
  When a matching processor is available, load it with `AutoProcessor.from_pretrained(...)` and pass the
@@ -117,7 +104,7 @@ processed batch to the model.
117
  ### Interface
118
 
119
  - **Task**: `design_generation`
120
- - **Artifact kind**: `model`
121
  - **Architecture**: `proteinmpnn`
122
  - **Runtime files**: `manifest.json`, `config.json`, and `model.safetensors` when present
123
 
@@ -168,5 +155,5 @@ Please use [OFoldX GitHub issues](https://github.com/OTeam-AI4S/OFoldX/issues) f
168
 
169
  ## License
170
 
171
- The OFoldX project license is not yet finalized.
172
  The source checkpoint is associated with the upstream license noted above: MIT for upstream ProteinMPNN and LigandMPNN code/model parameters. Review both OFoldX and upstream terms before redistribution or production use.
 
6
  - "protein"
7
  - "rna"
8
  - "dna"
9
+ - "pipeline"
10
  - "proteinmpnn"
11
  - "design-generation"
12
  - "protein-design"
13
+ artifact_kind: "pipeline"
14
  repo_id: "oteam/proteinmpnn-membrane-per-residue-noise020"
15
  license: "mit"
16
  pipeline_tag: "other"
 
34
 
35
  # proteinmpnn-membrane-per-residue-noise020
36
 
37
+ OFoldX `pipeline` artifact for biomolecular design generation, using the `proteinmpnn` architecture.
38
 
39
  ## Disclaimer
40
 
41
+ This model card was generated by the OFoldX team for an OFoldX `pipeline` artifact.
42
  The upstream model authors did not write this card unless explicitly stated otherwise.
43
 
44
  OFoldX is pre-alpha research software. Check the source checkpoint, upstream release, and local validation
 
53
  ### Model Provenance
54
 
55
  - **Upstream Project**: Membrane ProteinMPNN
 
56
  - **Source Release**: [https://github.com/dauparas/LigandMPNN](https://github.com/dauparas/LigandMPNN)
57
  - **Primary Paper**: [Robust deep learning-based protein sequence design using ProteinMPNN](https://doi.org/10.1126/science.add2187)
58
  - **Upstream License**: MIT for upstream ProteinMPNN and LigandMPNN code/model parameters
 
62
  | Field | Value |
63
  | ----- | ----- |
64
  | Repository | `oteam/proteinmpnn-membrane-per-residue-noise020` |
65
+ | Artifact Kind | `pipeline` |
66
  | Task | `design_generation` |
67
  | Architecture | `proteinmpnn` |
68
+ | Entrypoint | `ofoldx.pipelines.design.DesignPipeline` |
 
 
 
 
 
 
 
69
 
70
  > [!NOTE]
71
+ > Checkpoint metadata: `k_neighbors=48`; the `noiseXXX` suffix identifies the training-noise variant.
72
 
73
  ### Links
74
 
 
76
  - **Upstream paper**: [Robust deep learning-based protein sequence design using ProteinMPNN](https://doi.org/10.1126/science.add2187)
77
  - **Upstream repository**: [Membrane ProteinMPNN](https://github.com/dauparas/LigandMPNN)
78
  - **Source checkpoint release**: [https://github.com/dauparas/LigandMPNN](https://github.com/dauparas/LigandMPNN)
79
+ - **Code**: [`ofoldx/pipelines/design.py`](https://github.com/OTeam-AI4S/OFoldX/tree/main/ofoldx/pipelines/design.py)
80
  - **Project repository**: [https://github.com/OTeam-AI4S/OFoldX](https://github.com/OTeam-AI4S/OFoldX)
81
  - **Issues**: [https://github.com/OTeam-AI4S/OFoldX/issues](https://github.com/OTeam-AI4S/OFoldX/issues)
82
 
 
88
  pip install ofoldx
89
  ```
90
 
91
+ ### Pipeline Usage
92
 
93
+ Load the artifact from `oteam/proteinmpnn-membrane-per-residue-noise020` with the OFoldX task pipeline. Use `AutoModel` or `AutoProcessor` only when you need lower-level control:
94
 
95
  ```python
96
  from ofoldx.pipelines import Pipeline
97
 
98
  pipeline = Pipeline.from_pretrained("oteam/proteinmpnn-membrane-per-residue-noise020")
 
 
 
 
 
99
  ```
100
 
101
  When a matching processor is available, load it with `AutoProcessor.from_pretrained(...)` and pass the
 
104
  ### Interface
105
 
106
  - **Task**: `design_generation`
107
+ - **Artifact kind**: `pipeline`
108
  - **Architecture**: `proteinmpnn`
109
  - **Runtime files**: `manifest.json`, `config.json`, and `model.safetensors` when present
110
 
 
155
 
156
  ## License
157
 
158
+ The Hub `license` metadata, when present, reflects the source checkpoint or upstream project license. The OFoldX project license is not yet finalized.
159
  The source checkpoint is associated with the upstream license noted above: MIT for upstream ProteinMPNN and LigandMPNN code/model parameters. Review both OFoldX and upstream terms before redistribution or production use.
generator/README.md ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: "ofoldx"
3
+ tags:
4
+ - "biology"
5
+ - "biomolecular-design"
6
+ - "protein"
7
+ - "rna"
8
+ - "dna"
9
+ - "model"
10
+ - "proteinmpnn"
11
+ - "design-generation"
12
+ - "protein-design"
13
+ artifact_kind: "model"
14
+ repo_id: "oteam/proteinmpnn-membrane-per-residue-noise020"
15
+ license: "mit"
16
+ pipeline_tag: "other"
17
+ task: "design_generation"
18
+ model-index:
19
+ - name: "proteinmpnn-membrane-per-residue-noise020"
20
+ results:
21
+ []
22
+ widget:
23
+ - pipeline_tag: "other"
24
+ task: "design_generation"
25
+ example_title: "Backbone sequence design"
26
+ text: "input_structure: backbone.cif\ndesign_chains: A"
27
+ input_format: "structure_path"
28
+ - pipeline_tag: "other"
29
+ task: "design_generation"
30
+ example_title: "Binder design"
31
+ text: "target_structure: target.cif\ntarget_chains: A\ndesign_chains: B"
32
+ input_format: "structure_path"
33
+ ---
34
+
35
+ # proteinmpnn-membrane-per-residue-noise020
36
+
37
+ OFoldX `model` artifact for biomolecular design generation, using the `proteinmpnn` architecture.
38
+
39
+ ## Disclaimer
40
+
41
+ This model card was generated by the OFoldX team for an OFoldX `model` artifact.
42
+ The upstream model authors did not write this card unless explicitly stated otherwise.
43
+
44
+ OFoldX is pre-alpha research software. Check the source checkpoint, upstream release, and local validation
45
+ before using the artifact for scientific or operational decisions.
46
+
47
+ ## Model Details
48
+
49
+ ProteinMPNN sequence-design model for protein backbones, including soluble and membrane variants.
50
+
51
+ Converted membrane ProteinMPNN checkpoint with per-residue membrane labels.
52
+
53
+ ### Model Provenance
54
+
55
+ - **Upstream Project**: Membrane ProteinMPNN
56
+ - **Source Checkpoint**: `per_residue_label_membrane_mpnn_v_48_020.pt`
57
+ - **Source Release**: [https://github.com/dauparas/LigandMPNN](https://github.com/dauparas/LigandMPNN)
58
+ - **Primary Paper**: [Robust deep learning-based protein sequence design using ProteinMPNN](https://doi.org/10.1126/science.add2187)
59
+ - **Upstream License**: MIT for upstream ProteinMPNN and LigandMPNN code/model parameters
60
+
61
+ ### Model Specification
62
+
63
+ | Field | Value |
64
+ | ----- | ----- |
65
+ | Repository | `oteam/proteinmpnn-membrane-per-residue-noise020` |
66
+ | Artifact Kind | `model` |
67
+ | Task | `design_generation` |
68
+ | Architecture | `proteinmpnn` |
69
+ | Entrypoint | `ofoldx.models.proteinmpnn.model.ProteinMPNNDesignGenerator` |
70
+ | Config | `config.json` |
71
+ | Weights | `model.safetensors` |
72
+ | Source Checkpoint | `per_residue_label_membrane_mpnn_v_48_020.pt` |
73
+ | Checkpoint Variant | `per_residue_label_membrane_mpnn_v_48_020` |
74
+ | k-Neighbors | `48` |
75
+ | Node Feature Size | `3` |
76
+ | Training Noise | `0.20 Angstrom` |
77
+
78
+ > [!NOTE]
79
+ > Source checkpoint: `per_residue_label_membrane_mpnn_v_48_020.pt`; the public repo suffix records the upstream Gaussian noise variant (0.20 Angstrom).
80
+
81
+ ### Links
82
+
83
+ - **Hub repository**: [oteam/proteinmpnn-membrane-per-residue-noise020](https://huggingface.co/oteam/proteinmpnn-membrane-per-residue-noise020)
84
+ - **Upstream paper**: [Robust deep learning-based protein sequence design using ProteinMPNN](https://doi.org/10.1126/science.add2187)
85
+ - **Upstream repository**: [Membrane ProteinMPNN](https://github.com/dauparas/LigandMPNN)
86
+ - **Source checkpoint release**: [https://github.com/dauparas/LigandMPNN](https://github.com/dauparas/LigandMPNN)
87
+ - **Code**: [`ofoldx/models/proteinmpnn/model.py`](https://github.com/OTeam-AI4S/OFoldX/tree/main/ofoldx/models/proteinmpnn/model.py)
88
+ - **Project repository**: [https://github.com/OTeam-AI4S/OFoldX](https://github.com/OTeam-AI4S/OFoldX)
89
+ - **Issues**: [https://github.com/OTeam-AI4S/OFoldX/issues](https://github.com/OTeam-AI4S/OFoldX/issues)
90
+
91
+ ## Usage
92
+
93
+ The artifact depends on the [`ofoldx`](https://github.com/OTeam-AI4S/OFoldX) library. Install it with pip:
94
+
95
+ ```bash
96
+ pip install ofoldx
97
+ ```
98
+
99
+ ### Pipeline Usage
100
+
101
+ Load the artifact from `oteam/proteinmpnn-membrane-per-residue-noise020` with the OFoldX task pipeline. Use `AutoModel` or `AutoProcessor` only when you need lower-level control:
102
+
103
+ ```python
104
+ from ofoldx.pipelines import Pipeline
105
+
106
+ pipeline = Pipeline.from_pretrained("oteam/proteinmpnn-membrane-per-residue-noise020")
107
+ output = pipeline(...)
108
+
109
+ from ofoldx import AutoModel
110
+
111
+ model = AutoModel.from_pretrained("oteam/proteinmpnn-membrane-per-residue-noise020")
112
+ ```
113
+
114
+ When a matching processor is available, load it with `AutoProcessor.from_pretrained(...)` and pass the
115
+ processed batch to the model.
116
+
117
+ ### Interface
118
+
119
+ - **Task**: `design_generation`
120
+ - **Artifact kind**: `model`
121
+ - **Architecture**: `proteinmpnn`
122
+ - **Runtime files**: `manifest.json`, `config.json`, and `model.safetensors` when present
123
+
124
+ ## Training Details
125
+
126
+ OFoldX did not train these weights. This repository contains a converted checkpoint and OFoldX runtime
127
+ metadata for loading it.
128
+
129
+ ### Training Data
130
+
131
+ This checkpoint is distributed in the LigandMPNN parameter release. The per-residue model adds three membrane-context classes per residue: buried, interface, and other. OFoldX does not redistribute the training set.
132
+
133
+ ### Training Procedure
134
+
135
+ Upstream training follows the ProteinMPNN fixed-backbone inverse-folding setup with per-residue membrane labels and a 0.20 Angstrom noisy-backbone checkpoint. OFoldX only converts the released checkpoint.
136
+
137
+ ## Evaluation
138
+
139
+ OFoldX conversion reports and contract tests validate artifact structure and checkpoint loading. Task-level
140
+ scientific evaluation should be checked against the corresponding upstream model release or paper.
141
+
142
+ ## Limitations
143
+
144
+ - This artifact is distributed for research use.
145
+ - Inputs must match the model-specific processor and expected biomolecular representation.
146
+ - OFoldX is pre-alpha, so APIs and artifact metadata may still change before a stable release.
147
+
148
+ ## Citation
149
+
150
+ Please cite the upstream Membrane ProteinMPNN work for the source checkpoint. If OFoldX supports your work, please also cite or link the OFoldX project repository.
151
+
152
+ ```bibtex
153
+ @article{dauparas2022robust,
154
+ author = {Dauparas, Justas and Anishchenko, Ivan and Bennett, Nathaniel and Bai, Hua and Ragotte, Robert J. and Milles, Lukas F. and Wicky, Basile I. M. and Courbet, Alexis and de Haas, Rob J. and Bethel, Neville and others},
155
+ title = {Robust deep learning-based protein sequence design using ProteinMPNN},
156
+ journal = {Science},
157
+ volume = {378},
158
+ number = {6615},
159
+ pages = {49--56},
160
+ year = {2022},
161
+ doi = {10.1126/science.add2187}
162
+ }
163
+ ```
164
+
165
+ ## Contact
166
+
167
+ Please use [OFoldX GitHub issues](https://github.com/OTeam-AI4S/OFoldX/issues) for questions or comments about this model card.
168
+
169
+ ## License
170
+
171
+ The Hub `license` metadata, when present, reflects the source checkpoint or upstream project license. The OFoldX project license is not yet finalized.
172
+ The source checkpoint is associated with the upstream license noted above: MIT for upstream ProteinMPNN and LigandMPNN code/model parameters. Review both OFoldX and upstream terms before redistribution or production use.
config.json → generator/config.json RENAMED
File without changes
generator/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.proteinmpnn.model.ProteinMPNNDesignGenerator",
10
+ "architecture": "proteinmpnn",
11
+ "task": "design_generation",
12
+ "files": {
13
+ "config": "config.json"
14
+ },
15
+ "weights": {
16
+ "default": "model.safetensors"
17
+ }
18
+ }
model.safetensors → generator/model.safetensors RENAMED
File without changes
manifest.json CHANGED
@@ -1,18 +1,22 @@
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.proteinmpnn.model.ProteinMPNNDesignGenerator",
10
  "architecture": "proteinmpnn",
11
  "task": "design_generation",
12
- "files": {
13
- "config": "config.json"
14
- },
15
- "weights": {
16
- "default": "model.safetensors"
 
 
 
 
17
  }
18
  }
 
1
  {
2
  "format": "biomolecular_pretrained",
3
  "format_version": 1,
4
+ "kind": "pipeline",
5
  "producer": {
6
  "package": "ofoldx",
7
  "version": "0.1.dev1+g9a78c7e44.d20260609"
8
  },
9
+ "entrypoint": "ofoldx.pipelines.design.DesignPipeline",
10
  "architecture": "proteinmpnn",
11
  "task": "design_generation",
12
+ "components": {
13
+ "generator": {
14
+ "kind": "component",
15
+ "path": "generator"
16
+ },
17
+ "processor": {
18
+ "kind": "component",
19
+ "path": "processor"
20
+ }
21
  }
22
  }
processor/manifest.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "biomolecular_pretrained",
3
+ "format_version": 1,
4
+ "kind": "processor",
5
+ "producer": {
6
+ "package": "ofoldx",
7
+ "version": "0.1.dev1+g9a78c7e44.d20260609"
8
+ },
9
+ "entrypoint": "ofoldx.models.proteinmpnn.processor.ProteinMPNNProcessor",
10
+ "files": {
11
+ "config": "processor_config.json"
12
+ }
13
+ }
processor/processor_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "designed_chains": null,
3
+ "fixed_positions": {},
4
+ "tied_positions": [],
5
+ "omit_amino_acids": []
6
+ }