Spaces:
Running on Zero

ras1992 commited on
Commit
0bfa103
·
verified ·
1 Parent(s): 034abd9

Default to wildtype marginals

Browse files
Files changed (1) hide show
  1. app.py +10 -3
app.py CHANGED
@@ -1024,14 +1024,21 @@ with gr.Blocks(title="DeepMutate-3D", **BLOCKS_KWARGS) as demo:
1024
  label="Model",
1025
  info="Larger models score better but cost more compute.",
1026
  )
 
 
 
 
1027
  mode_radio = gr.Radio(
1028
  choices=[
1029
- "Masked marginals (accurate)",
1030
  "Wildtype marginals (fast)",
 
1031
  ],
1032
- value="Masked marginals (accurate)",
1033
  label="Scoring mode",
1034
- info="Masked marginals runs one forward pass per residue.",
 
 
 
1035
  )
1036
 
1037
  scan_button = gr.Button(
 
1024
  label="Model",
1025
  info="Larger models score better but cost more compute.",
1026
  )
1027
+ # Wildtype marginals is the default: benchmarking put it within
1028
+ # 0.007 mean Spearman of masked marginals for a fraction of the
1029
+ # compute, and an unauthenticated visitor has only two GPU-minutes
1030
+ # a day, which one large masked scan would exhaust.
1031
  mode_radio = gr.Radio(
1032
  choices=[
 
1033
  "Wildtype marginals (fast)",
1034
+ "Masked marginals (accurate)",
1035
  ],
1036
+ value="Wildtype marginals (fast)",
1037
  label="Scoring mode",
1038
+ info=(
1039
+ "Wildtype marginals uses one pass per window and is nearly "
1040
+ "as accurate. Masked marginals runs one pass per residue."
1041
+ ),
1042
  )
1043
 
1044
  scan_button = gr.Button(