Spaces:
Runtime error
Runtime error
magilogi
commited on
Commit
β’
4f9d59d
1
Parent(s):
8d88ff4
add workflow
Browse files- app.py +8 -5
- workflow.svg +0 -0
app.py
CHANGED
@@ -47,12 +47,15 @@ def create_scatter_plot(df, x_col, y_col, title, x_title, y_title):
|
|
47 |
|
48 |
with gr.Blocks(css="custom.css") as demo:
|
49 |
with gr.Row():
|
50 |
-
gr.
|
51 |
-
|
|
|
52 |
<span style='color: #6aa84f;'>T</span>erm <span style='color: #6aa84f;'>S</span>ubstitutions for Language Models <span style='color: #6aa84f;'></span></h1></div>\
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
56 |
|
57 |
with gr.Tabs(elem_classes="tab-buttons"):
|
58 |
with gr.TabItem("π Evaluation table"):
|
|
|
47 |
|
48 |
with gr.Blocks(css="custom.css") as demo:
|
49 |
with gr.Row():
|
50 |
+
with gr.Column(scale=1):
|
51 |
+
gr.Markdown(
|
52 |
+
"""<div style="text-align: left;"><h1> <span style='color: #6aa84f;'>π° RABBITS:</span> <span style='color: #6aa84f;'>R</span>obust <span style='color: #6aa84f;'>A</span>ssessment of <span style='color: #6aa84f;'>B</span>iomedical <span style='color: #6aa84f;'>B</span>enchmarks <span style='color: #6aa84f;'>I</span>nvolving drug
|
53 |
<span style='color: #6aa84f;'>T</span>erm <span style='color: #6aa84f;'>S</span>ubstitutions for Language Models <span style='color: #6aa84f;'></span></h1></div>\
|
54 |
+
<br>\
|
55 |
+
<p class='markdown-text'>Robust language models are crucial in the medical domain and the RABBITS project tests the robustness of LLMs by evaluating their handling of synonyms, specifically brand and generic drug names. We assessed 16 open-source language models from Hugging Face using systematic synonym substitution on MedQA and MedMCQA tasks. Our results show a consistent decline in performance across all model sizes, highlighting challenges in synonym comprehension. Additionally, we discovered significant dataset contamination by identifying overlaps between MedQA, MedMCQA test sets, and the Dolma 1.6 dataset using an 8-gram analysis. This highlights the need to improve model robustness and address contamination in open-source datasets</p>"""
|
56 |
+
)
|
57 |
+
with gr.Column(scale=1):
|
58 |
+
gr.Image(value="workflow.svg", tool=False)
|
59 |
|
60 |
with gr.Tabs(elem_classes="tab-buttons"):
|
61 |
with gr.TabItem("π Evaluation table"):
|
workflow.svg
ADDED