Spaces:
Running
Running
Joschka Strueber
commited on
Commit
·
238bffb
1
Parent(s):
35404bc
[Add] links to project information
Browse files
app.py
CHANGED
@@ -86,9 +86,19 @@ def update_datasets_based_on_models(selected_models, current_dataset):
|
|
86 |
gr.Warning(f"Data for '{model_name}' is gated or unavailable.")
|
87 |
return gr.update(choices=[], value=None)
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
with gr.Blocks(title="LLM Similarity Analyzer") as demo:
|
90 |
gr.Markdown("## Model Similarity Comparison Tool")
|
91 |
-
|
|
|
92 |
with gr.Row():
|
93 |
dataset_dropdown = gr.Dropdown(
|
94 |
choices=get_leaderboard_datasets(None),
|
|
|
86 |
gr.Warning(f"Data for '{model_name}' is gated or unavailable.")
|
87 |
return gr.update(choices=[], value=None)
|
88 |
|
89 |
+
links_markdown = """
|
90 |
+
[📄 Paper](https://arxiv.org/pdf/%3CARXIV%20PAPER%20ID%3E.pdf) |
|
91 |
+
[☯ Homepage](https://model-similarity.github.io/) |
|
92 |
+
[🐱 Code](https://github.com/model-similarity/lm-similarity) |
|
93 |
+
[🐍 pip install lm-sim](https://pypi.org/project/lm-sim/) |
|
94 |
+
[🤗 Data](https://huggingface.co/datasets/bethgelab/lm-similarity)
|
95 |
+
"""
|
96 |
+
|
97 |
+
# Create Gradio interface
|
98 |
with gr.Blocks(title="LLM Similarity Analyzer") as demo:
|
99 |
gr.Markdown("## Model Similarity Comparison Tool")
|
100 |
+
gr.Markdown(links_markdown)
|
101 |
+
|
102 |
with gr.Row():
|
103 |
dataset_dropdown = gr.Dropdown(
|
104 |
choices=get_leaderboard_datasets(None),
|