Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
36d5708c
Commit
36d5708c
authored
Sep 11, 2023
by
sachinkadyan7
Committed by
Sachin Kadyan
Oct 10, 2023
Browse files
Added config presets for esm1b model inference
parent
047e69af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
openfold/config.py
openfold/config.py
+12
-1
No files found.
openfold/config.py
View file @
36d5708c
...
...
@@ -172,7 +172,7 @@ def model_config(
c
.
data
.
train
.
crop_size
=
384
c
.
loss
.
violation
.
weight
=
1.
c
.
loss
.
experimentally_resolved
.
weight
=
0.01
elif
name
==
"seq
emb_inference
"
:
elif
name
==
"seq
_model_esm1b
"
:
c
.
data
.
seqemb_mode
.
enabled
=
True
c
.
globals
.
seqemb_mode_enabled
=
True
c
.
model
.
extra_msa
.
enabled
=
False
...
...
@@ -181,6 +181,17 @@ def model_config(
c
.
data
.
common
.
use_template_torsion_angles
=
True
c
.
model
.
template
.
enabled
=
True
c
.
data
.
predict
.
max_msa_clusters
=
1
elif
name
==
"seq_model_esm1b_ptm"
:
c
.
data
.
seqemb_mode
.
enabled
=
True
c
.
globals
.
seqemb_mode_enabled
=
True
c
.
model
.
extra_msa
.
enabled
=
False
c
.
model
.
evoformer_stack
.
no_column_attention
=
True
c
.
data
.
common
.
use_templates
=
True
c
.
data
.
common
.
use_template_torsion_angles
=
True
c
.
model
.
template
.
enabled
=
True
c
.
data
.
predict
.
max_msa_clusters
=
1
c
.
model
.
heads
.
tm
.
enabled
=
True
c
.
loss
.
tm
.
weight
=
0.1
else
:
raise
ValueError
(
"Invalid model name"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment