ZhiyuanChen commited on
Commit
b563dc7
·
verified ·
1 Parent(s): d9ffb50

Publish OFoldX pipeline artifacts

Browse files
README.md CHANGED
@@ -6,11 +6,11 @@ tags:
6
  - "protein"
7
  - "rna"
8
  - "dna"
9
- - "model"
10
  - "alphafold3"
11
  - "structure-prediction"
12
  - "protein-structure"
13
- artifact_kind: "model"
14
  repo_id: "oteam/protenix-base"
15
  license: "apache-2.0"
16
  pipeline_tag: "other"
@@ -34,11 +34,11 @@ widget:
34
 
35
  # protenix-base
36
 
37
- OFoldX `model` artifact for biomolecular structure prediction, using the `alphafold3` 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
@@ -63,12 +63,10 @@ Converted Protenix v0.5.0 structure-prediction weights in an AlphaFold 3-shaped
63
  | Field | Value |
64
  | ----- | ----- |
65
  | Repository | `oteam/protenix-base` |
66
- | Artifact Kind | `model` |
67
  | Task | `structure_prediction` |
68
  | Architecture | `alphafold3` |
69
- | Entrypoint | `ofoldx.models.alphafold3.model.AlphaFold3Model` |
70
- | Config | `config.json` |
71
- | Weights | `model.safetensors` |
72
  | Source Checkpoint | `protenix_base_default_v0.5.0.pt` |
73
 
74
  > [!NOTE]
@@ -80,7 +78,7 @@ Converted Protenix v0.5.0 structure-prediction weights in an AlphaFold 3-shaped
80
  - **Upstream paper**: [Protenix - Advancing Structure Prediction Through a Comprehensive AlphaFold3 Reproduction](https://doi.org/10.1101/2025.01.08.631967)
81
  - **Upstream repository**: [Protenix](https://github.com/bytedance/Protenix)
82
  - **Source checkpoint release**: [https://github.com/bytedance/Protenix/blob/main/docs/supported_models.md](https://github.com/bytedance/Protenix/blob/main/docs/supported_models.md)
83
- - **Code**: [`ofoldx/models/alphafold3/model.py`](https://github.com/OTeam-AI4S/OFoldX/tree/main/ofoldx/models/alphafold3/model.py)
84
  - **Project repository**: [https://github.com/OTeam-AI4S/OFoldX](https://github.com/OTeam-AI4S/OFoldX)
85
  - **Issues**: [https://github.com/OTeam-AI4S/OFoldX/issues](https://github.com/OTeam-AI4S/OFoldX/issues)
86
 
@@ -92,19 +90,14 @@ The artifact depends on the [`ofoldx`](https://github.com/OTeam-AI4S/OFoldX) lib
92
  pip install ofoldx
93
  ```
94
 
95
- ### Direct Use
96
 
97
- Load the artifact from `oteam/protenix-base` using the OFoldX `Auto*` interface:
98
 
99
  ```python
100
  from ofoldx.pipelines import Pipeline
101
 
102
  pipeline = Pipeline.from_pretrained("oteam/protenix-base")
103
- output = pipeline(...)
104
-
105
- from ofoldx import AutoModel
106
-
107
- model = AutoModel.from_pretrained("oteam/protenix-base")
108
  ```
109
 
110
  When a matching processor is available, load it with `AutoProcessor.from_pretrained(...)` and pass the
@@ -113,7 +106,7 @@ processed batch to the model.
113
  ### Interface
114
 
115
  - **Task**: `structure_prediction`
116
- - **Artifact kind**: `model`
117
  - **Architecture**: `alphafold3`
118
  - **Runtime files**: `manifest.json`, `config.json`, and `model.safetensors` when present
119
 
@@ -161,5 +154,5 @@ Please use [OFoldX GitHub issues](https://github.com/OTeam-AI4S/OFoldX/issues) f
161
 
162
  ## License
163
 
164
- The OFoldX project license is not yet finalized.
165
  The source checkpoint is associated with the upstream license noted above: Apache-2.0 for upstream Protenix code and model parameters. Review both OFoldX and upstream terms before redistribution or production use.
 
6
  - "protein"
7
  - "rna"
8
  - "dna"
9
+ - "pipeline"
10
  - "alphafold3"
11
  - "structure-prediction"
12
  - "protein-structure"
13
+ artifact_kind: "pipeline"
14
  repo_id: "oteam/protenix-base"
15
  license: "apache-2.0"
16
  pipeline_tag: "other"
 
34
 
35
  # protenix-base
36
 
37
+ OFoldX `pipeline` artifact for biomolecular structure prediction, using the `alphafold3` 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
 
63
  | Field | Value |
64
  | ----- | ----- |
65
  | Repository | `oteam/protenix-base` |
66
+ | Artifact Kind | `pipeline` |
67
  | Task | `structure_prediction` |
68
  | Architecture | `alphafold3` |
69
+ | Entrypoint | `ofoldx.pipelines.structure_prediction.StructurePredictionPipeline` |
 
 
70
  | Source Checkpoint | `protenix_base_default_v0.5.0.pt` |
71
 
72
  > [!NOTE]
 
78
  - **Upstream paper**: [Protenix - Advancing Structure Prediction Through a Comprehensive AlphaFold3 Reproduction](https://doi.org/10.1101/2025.01.08.631967)
79
  - **Upstream repository**: [Protenix](https://github.com/bytedance/Protenix)
80
  - **Source checkpoint release**: [https://github.com/bytedance/Protenix/blob/main/docs/supported_models.md](https://github.com/bytedance/Protenix/blob/main/docs/supported_models.md)
81
+ - **Code**: [`ofoldx/pipelines/structure_prediction.py`](https://github.com/OTeam-AI4S/OFoldX/tree/main/ofoldx/pipelines/structure_prediction.py)
82
  - **Project repository**: [https://github.com/OTeam-AI4S/OFoldX](https://github.com/OTeam-AI4S/OFoldX)
83
  - **Issues**: [https://github.com/OTeam-AI4S/OFoldX/issues](https://github.com/OTeam-AI4S/OFoldX/issues)
84
 
 
90
  pip install ofoldx
91
  ```
92
 
93
+ ### Pipeline Usage
94
 
95
+ Load the artifact from `oteam/protenix-base` with the OFoldX task pipeline. Use `AutoModel` or `AutoProcessor` only when you need lower-level control:
96
 
97
  ```python
98
  from ofoldx.pipelines import Pipeline
99
 
100
  pipeline = Pipeline.from_pretrained("oteam/protenix-base")
 
 
 
 
 
101
  ```
102
 
103
  When a matching processor is available, load it with `AutoProcessor.from_pretrained(...)` and pass the
 
106
  ### Interface
107
 
108
  - **Task**: `structure_prediction`
109
+ - **Artifact kind**: `pipeline`
110
  - **Architecture**: `alphafold3`
111
  - **Runtime files**: `manifest.json`, `config.json`, and `model.safetensors` when present
112
 
 
154
 
155
  ## License
156
 
157
+ The Hub `license` metadata, when present, reflects the source checkpoint or upstream project license. The OFoldX project license is not yet finalized.
158
  The source checkpoint is associated with the upstream license noted above: Apache-2.0 for upstream Protenix code and model parameters. Review both OFoldX and upstream terms before redistribution or production use.
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.alphafold3.model.AlphaFold3Model",
10
  "architecture": "alphafold3",
11
  "task": "structure_prediction",
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.structure_prediction.StructurePredictionPipeline",
10
  "architecture": "alphafold3",
11
  "task": "structure_prediction",
12
+ "components": {
13
+ "predictor": {
14
+ "kind": "component",
15
+ "path": "predictor"
16
+ },
17
+ "processor": {
18
+ "kind": "component",
19
+ "path": "processor"
20
+ }
21
  }
22
  }
predictor/README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: "ofoldx"
3
+ tags:
4
+ - "biology"
5
+ - "biomolecular-design"
6
+ - "protein"
7
+ - "rna"
8
+ - "dna"
9
+ - "model"
10
+ - "alphafold3"
11
+ - "structure-prediction"
12
+ - "protein-structure"
13
+ artifact_kind: "model"
14
+ repo_id: "oteam/protenix-base"
15
+ license: "apache-2.0"
16
+ pipeline_tag: "other"
17
+ task: "structure_prediction"
18
+ model-index:
19
+ - name: "protenix-base"
20
+ results:
21
+ []
22
+ widget:
23
+ - pipeline_tag: "other"
24
+ task: "structure_prediction"
25
+ example_title: "Single-chain protein"
26
+ text: ">A\nMKTAYIAKQRQISFVKSHFSRQDILD"
27
+ input_format: "fasta"
28
+ - pipeline_tag: "other"
29
+ task: "structure_prediction"
30
+ example_title: "Protein complex"
31
+ text: ">A\nMKTAYIAKQRQISFVKSHFSRQDILD\n>B\nGSHMRYFVTAVSRPGRGEPRFI"
32
+ input_format: "fasta"
33
+ ---
34
+
35
+ # protenix-base
36
+
37
+ OFoldX `model` artifact for biomolecular structure prediction, using the `alphafold3` 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
+ AlphaFold 3-shaped structure-prediction model converted for the OFoldX runtime.
50
+
51
+ Converted Protenix v0.5.0 structure-prediction weights in an AlphaFold 3-shaped OFoldX implementation.
52
+
53
+ ### Model Provenance
54
+
55
+ - **Upstream Project**: Protenix
56
+ - **Source Checkpoint**: `protenix_base_default_v0.5.0.pt`
57
+ - **Source Release**: [https://github.com/bytedance/Protenix/blob/main/docs/supported_models.md](https://github.com/bytedance/Protenix/blob/main/docs/supported_models.md)
58
+ - **Primary Paper**: [Protenix - Advancing Structure Prediction Through a Comprehensive AlphaFold3 Reproduction](https://doi.org/10.1101/2025.01.08.631967)
59
+ - **Upstream License**: Apache-2.0 for upstream Protenix code and model parameters
60
+
61
+ ### Model Specification
62
+
63
+ | Field | Value |
64
+ | ----- | ----- |
65
+ | Repository | `oteam/protenix-base` |
66
+ | Artifact Kind | `model` |
67
+ | Task | `structure_prediction` |
68
+ | Architecture | `alphafold3` |
69
+ | Entrypoint | `ofoldx.models.alphafold3.model.AlphaFold3Model` |
70
+ | Config | `config.json` |
71
+ | Weights | `model.safetensors` |
72
+ | Source Checkpoint | `protenix_base_default_v0.5.0.pt` |
73
+
74
+ > [!NOTE]
75
+ > Source checkpoint: `protenix_base_default_v0.5.0.pt`; `v0.5.0` is the upstream Protenix checkpoint release version, not part of the public repo id.
76
+
77
+ ### Links
78
+
79
+ - **Hub repository**: [oteam/protenix-base](https://huggingface.co/oteam/protenix-base)
80
+ - **Upstream paper**: [Protenix - Advancing Structure Prediction Through a Comprehensive AlphaFold3 Reproduction](https://doi.org/10.1101/2025.01.08.631967)
81
+ - **Upstream repository**: [Protenix](https://github.com/bytedance/Protenix)
82
+ - **Source checkpoint release**: [https://github.com/bytedance/Protenix/blob/main/docs/supported_models.md](https://github.com/bytedance/Protenix/blob/main/docs/supported_models.md)
83
+ - **Code**: [`ofoldx/models/alphafold3/model.py`](https://github.com/OTeam-AI4S/OFoldX/tree/main/ofoldx/models/alphafold3/model.py)
84
+ - **Project repository**: [https://github.com/OTeam-AI4S/OFoldX](https://github.com/OTeam-AI4S/OFoldX)
85
+ - **Issues**: [https://github.com/OTeam-AI4S/OFoldX/issues](https://github.com/OTeam-AI4S/OFoldX/issues)
86
+
87
+ ## Usage
88
+
89
+ The artifact depends on the [`ofoldx`](https://github.com/OTeam-AI4S/OFoldX) library. Install it with pip:
90
+
91
+ ```bash
92
+ pip install ofoldx
93
+ ```
94
+
95
+ ### Pipeline Usage
96
+
97
+ Load the artifact from `oteam/protenix-base` with the OFoldX task pipeline. Use `AutoModel` or `AutoProcessor` only when you need lower-level control:
98
+
99
+ ```python
100
+ from ofoldx.pipelines import Pipeline
101
+
102
+ pipeline = Pipeline.from_pretrained("oteam/protenix-base")
103
+ output = pipeline(...)
104
+
105
+ from ofoldx import AutoModel
106
+
107
+ model = AutoModel.from_pretrained("oteam/protenix-base")
108
+ ```
109
+
110
+ When a matching processor is available, load it with `AutoProcessor.from_pretrained(...)` and pass the
111
+ processed batch to the model.
112
+
113
+ ### Interface
114
+
115
+ - **Task**: `structure_prediction`
116
+ - **Artifact kind**: `model`
117
+ - **Architecture**: `alphafold3`
118
+ - **Runtime files**: `manifest.json`, `config.json`, and `model.safetensors` when present
119
+
120
+ ## Training Details
121
+
122
+ OFoldX did not train these weights. This repository contains a converted checkpoint and OFoldX runtime
123
+ metadata for loading it.
124
+
125
+ ### Training Data
126
+
127
+ The upstream Protenix v0.5.0 release reports a 2021-09-30 training-data cutoff. The Protenix training-data pipeline covers released wwPDB/mmCIF bioassemblies, MSAs, CCD cache data, and RCSB sequence clusters. OFoldX does not redistribute the training corpus.
128
+
129
+ ### Training Procedure
130
+
131
+ The upstream `protenix_base_default_v0.5.0` model is an AF3-shaped all-atom structure-prediction checkpoint. OFoldX converts `protenix_base_default_v0.5.0.pt` to the OFoldX artifact format; it does not retrain the model.
132
+
133
+ ## Evaluation
134
+
135
+ OFoldX conversion reports and contract tests validate artifact structure and checkpoint loading. Task-level
136
+ scientific evaluation should be checked against the corresponding upstream model release or paper.
137
+
138
+ ## Limitations
139
+
140
+ - This artifact is distributed for research use.
141
+ - Inputs must match the model-specific processor and expected biomolecular representation.
142
+ - OFoldX is pre-alpha, so APIs and artifact metadata may still change before a stable release.
143
+
144
+ ## Citation
145
+
146
+ Please cite the upstream Protenix work for the source checkpoint. If OFoldX supports your work, please also cite or link the OFoldX project repository.
147
+
148
+ ```bibtex
149
+ @article{protenix2025advancing,
150
+ author = {ByteDance AML AI4Science Team and Chen, Xinshi and Zhang, Yuxuan and Lu, Chan and Ma, Wenzhi and Guan, Jiaqi and Gong, Chengyue and Yang, Jincai and Zhang, Hanyu and Zhang, Ke and others},
151
+ title = {Protenix - Advancing Structure Prediction Through a Comprehensive AlphaFold3 Reproduction},
152
+ year = {2025},
153
+ doi = {10.1101/2025.01.08.631967},
154
+ journal = {bioRxiv}
155
+ }
156
+ ```
157
+
158
+ ## Contact
159
+
160
+ Please use [OFoldX GitHub issues](https://github.com/OTeam-AI4S/OFoldX/issues) for questions or comments about this model card.
161
+
162
+ ## License
163
+
164
+ The Hub `license` metadata, when present, reflects the source checkpoint or upstream project license. The OFoldX project license is not yet finalized.
165
+ The source checkpoint is associated with the upstream license noted above: Apache-2.0 for upstream Protenix code and model parameters. Review both OFoldX and upstream terms before redistribution or production use.
config.json → predictor/config.json RENAMED
File without changes
predictor/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.alphafold3.model.AlphaFold3Model",
10
+ "architecture": "alphafold3",
11
+ "task": "structure_prediction",
12
+ "files": {
13
+ "config": "config.json"
14
+ },
15
+ "weights": {
16
+ "default": "model.safetensors"
17
+ }
18
+ }
model.safetensors → predictor/model.safetensors RENAMED
File without changes
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.alphafold3.processor.AlphaFold3Processor",
10
+ "files": {
11
+ "config": "processor_config.json"
12
+ }
13
+ }
processor/processor_config.json ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "single_size": 384,
3
+ "token_feature_size": 449,
4
+ "atom_feature_size": 385,
5
+ "residue_vocabulary": [
6
+ "ALA",
7
+ "ARG",
8
+ "ASN",
9
+ "ASP",
10
+ "CYS",
11
+ "GLN",
12
+ "GLU",
13
+ "GLY",
14
+ "HIS",
15
+ "ILE",
16
+ "LEU",
17
+ "LYS",
18
+ "MET",
19
+ "PHE",
20
+ "PRO",
21
+ "SER",
22
+ "THR",
23
+ "TRP",
24
+ "TYR",
25
+ "VAL",
26
+ "UNK",
27
+ "A",
28
+ "G",
29
+ "C",
30
+ "U",
31
+ "N",
32
+ "DA",
33
+ "DG",
34
+ "DC",
35
+ "DT",
36
+ "DN",
37
+ "GAP"
38
+ ],
39
+ "element_vocabulary": [
40
+ "H",
41
+ "HE",
42
+ "LI",
43
+ "BE",
44
+ "B",
45
+ "C",
46
+ "N",
47
+ "O",
48
+ "F",
49
+ "NE",
50
+ "NA",
51
+ "MG",
52
+ "AL",
53
+ "SI",
54
+ "P",
55
+ "S",
56
+ "CL",
57
+ "AR",
58
+ "K",
59
+ "CA",
60
+ "SC",
61
+ "TI",
62
+ "V",
63
+ "CR",
64
+ "MN",
65
+ "FE",
66
+ "CO",
67
+ "NI",
68
+ "CU",
69
+ "ZN",
70
+ "GA",
71
+ "GE",
72
+ "AS",
73
+ "SE",
74
+ "BR",
75
+ "KR",
76
+ "RB",
77
+ "SR",
78
+ "Y",
79
+ "ZR",
80
+ "NB",
81
+ "MO",
82
+ "TC",
83
+ "RU",
84
+ "RH",
85
+ "PD",
86
+ "AG",
87
+ "CD",
88
+ "IN",
89
+ "SN",
90
+ "SB",
91
+ "TE",
92
+ "I",
93
+ "XE",
94
+ "CS",
95
+ "BA",
96
+ "LA",
97
+ "CE",
98
+ "PR",
99
+ "ND",
100
+ "PM",
101
+ "SM",
102
+ "EU",
103
+ "GD",
104
+ "TB",
105
+ "DY",
106
+ "HO",
107
+ "ER",
108
+ "TM",
109
+ "YB",
110
+ "LU",
111
+ "HF",
112
+ "TA",
113
+ "W",
114
+ "RE",
115
+ "OS",
116
+ "IR",
117
+ "PT",
118
+ "AU",
119
+ "HG",
120
+ "TL",
121
+ "PB",
122
+ "BI",
123
+ "PO",
124
+ "AT",
125
+ "RN",
126
+ "FR",
127
+ "RA",
128
+ "AC",
129
+ "TH",
130
+ "PA",
131
+ "U",
132
+ "NP",
133
+ "PU",
134
+ "AM",
135
+ "CM",
136
+ "BK",
137
+ "CF",
138
+ "ES",
139
+ "FM",
140
+ "MD",
141
+ "NO",
142
+ "LR",
143
+ "RF",
144
+ "DB",
145
+ "SG",
146
+ "BH",
147
+ "HS",
148
+ "MT",
149
+ "DS",
150
+ "RG",
151
+ "CN",
152
+ "NH",
153
+ "FL",
154
+ "MC",
155
+ "LV",
156
+ "TS",
157
+ "OG"
158
+ ],
159
+ "element_channels": 128,
160
+ "atom_name_characters_count": 4,
161
+ "atom_name_character_channels": 64,
162
+ "reference_conformer_augment": false,
163
+ "augment_seed": null,
164
+ "ligand_atom_rename": false,
165
+ "materialize_missing_atoms": false
166
+ }