Commit
·
95a9631
1
Parent(s):
d8b25f9
Added more text and italicized multiline FAQs
Browse files
about.py
CHANGED
|
@@ -107,6 +107,15 @@ FAQS = {
|
|
| 107 |
"What do the datasets contain?": (
|
| 108 |
"Both the GDPa1 and heldout test set contain the VH and VL sequences, as well as the full heavy chain sequence. The GDPa1 dataset is a mix of IgG1, IgG2, and IgG4 antibodies while the heldout test set only contains IgG1 antibodies. We also include the light chain subtype (lambda or kappa)."
|
| 109 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
"How were the heldout sequences designed?": (
|
| 111 |
"We sampled 80 paired antibody sequences from [OAS](https://opig.stats.ox.ac.uk/webapps/oas/). We tried to represent the range of germline variants, sequence identities to germline, and CDR3 lengths. "
|
| 112 |
"The sequences in the dataset are quite diverse as measured by pairwise sequence identity."
|
|
@@ -148,6 +157,9 @@ FAQS = {
|
|
| 148 |
"How does the open-source prize work?": (
|
| 149 |
"Participants who open-source their training code and methods will be eligible for the open-source prize (as well as the other prizes)."
|
| 150 |
),
|
|
|
|
|
|
|
|
|
|
| 151 |
"What do I need to submit?": (
|
| 152 |
'There is a tab on the Hugging Face competition page to upload predictions for datasets - for each dataset participants need to submit a CSV containing a column for each property they would like to predict (e.g. called "HIC"), '
|
| 153 |
"and a row with the sequence matching the sequence in the input file. These predictions are then evaluated in the backend using the Spearman rank correlation between predictions and experimental values, and these metrics are then added to the leaderboard. "
|
|
|
|
| 107 |
"What do the datasets contain?": (
|
| 108 |
"Both the GDPa1 and heldout test set contain the VH and VL sequences, as well as the full heavy chain sequence. The GDPa1 dataset is a mix of IgG1, IgG2, and IgG4 antibodies while the heldout test set only contains IgG1 antibodies. We also include the light chain subtype (lambda or kappa)."
|
| 109 |
),
|
| 110 |
+
# Made into a list so that we can italicize each line
|
| 111 |
+
"What units are used for the assays?": [
|
| 112 |
+
"The units, as reported in the [PROPHET-Ab preprint](https://www.biorxiv.org/content/10.1101/2025.05.01.651684v1) as well as the GDPa1 full excel datasheet, are as follows:",
|
| 113 |
+
"1. Titer: IgG titer assessed in clarified harvest supernatant reported in ug/mL",
|
| 114 |
+
"2. Tm2: Second transition peak for melting temperature determined using nanoDSF at a ramp rate of 1.5 degC/min reported in degC",
|
| 115 |
+
"3. HIC: Retention time on hydrophobic interaction reported in minutes",
|
| 116 |
+
"4. AC-SINS_pH7.4: Self association in a PBS pH 7.4 buffer reported as dLmax in nm",
|
| 117 |
+
"5. PR_CHO: Normalized polyreactivity score against CHO SMP",
|
| 118 |
+
],
|
| 119 |
"How were the heldout sequences designed?": (
|
| 120 |
"We sampled 80 paired antibody sequences from [OAS](https://opig.stats.ox.ac.uk/webapps/oas/). We tried to represent the range of germline variants, sequence identities to germline, and CDR3 lengths. "
|
| 121 |
"The sequences in the dataset are quite diverse as measured by pairwise sequence identity."
|
|
|
|
| 157 |
"How does the open-source prize work?": (
|
| 158 |
"Participants who open-source their training code and methods will be eligible for the open-source prize (as well as the other prizes)."
|
| 159 |
),
|
| 160 |
+
"Can I use proprietary tools like AlphaFold3 for the open-source prize?": (
|
| 161 |
+
"Yes, using tools that have published their inference code under proprietary licenses is allowed (like AlphaFold3 and PROPERMAB), as long as code is available and fully reproducible."
|
| 162 |
+
),
|
| 163 |
"What do I need to submit?": (
|
| 164 |
'There is a tab on the Hugging Face competition page to upload predictions for datasets - for each dataset participants need to submit a CSV containing a column for each property they would like to predict (e.g. called "HIC"), '
|
| 165 |
"and a row with the sequence matching the sequence in the input file. These predictions are then evaluated in the backend using the Spearman rank correlation between predictions and experimental values, and these metrics are then added to the leaderboard. "
|
app.py
CHANGED
|
@@ -229,7 +229,13 @@ with gr.Blocks(theme=gr.themes.Default(text_size=sizes.text_lg)) as demo:
|
|
| 229 |
# Would love to make questions bold but accordion doesn't support it
|
| 230 |
question = f"{i+1}. {question}"
|
| 231 |
with gr.Accordion(question, open=False):
|
| 232 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 233 |
|
| 234 |
# Footnote
|
| 235 |
gr.Markdown(
|
|
|
|
| 229 |
# Would love to make questions bold but accordion doesn't support it
|
| 230 |
question = f"{i+1}. {question}"
|
| 231 |
with gr.Accordion(question, open=False):
|
| 232 |
+
if isinstance(answer, list):
|
| 233 |
+
# Italicize each line
|
| 234 |
+
italicized_answer = " \n".join(f"*{item}*" for item in answer)
|
| 235 |
+
print(italicized_answer)
|
| 236 |
+
gr.Markdown(italicized_answer)
|
| 237 |
+
else:
|
| 238 |
+
gr.Markdown(f"*{answer}*") # Italics for answers
|
| 239 |
|
| 240 |
# Footnote
|
| 241 |
gr.Markdown(
|