Spaces:
Sleeping
Sleeping
matanninio
commited on
Commit
•
0c8af8a
1
Parent(s):
7e647be
main welcome text added with link to family of models
Browse files
app.py
CHANGED
@@ -9,6 +9,18 @@ from mammal_demo.ppi_task import PpiTask
|
|
9 |
from mammal_demo.ps_task import PsTask
|
10 |
from mammal_demo.tcr_task import TcrTask
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
all_tasks = TaskRegistry()
|
13 |
all_models = ModelRegistry()
|
14 |
|
@@ -40,13 +52,13 @@ all_models.register_model(
|
|
40 |
task_list=[ppi_task],
|
41 |
)
|
42 |
all_models.register_model(
|
43 |
-
"
|
44 |
)
|
45 |
all_models.register_model(
|
46 |
-
"
|
47 |
)
|
48 |
all_models.register_model(
|
49 |
-
"
|
50 |
)
|
51 |
|
52 |
|
@@ -73,6 +85,7 @@ def create_application():
|
|
73 |
)
|
74 |
|
75 |
with gr.Blocks(theme="Zarkel/IBM_Carbon_Theme") as application:
|
|
|
76 |
task_dropdown = gr.Dropdown(
|
77 |
choices=["Select task"] + list(all_tasks.keys()),
|
78 |
label="Mammal Task",
|
|
|
9 |
from mammal_demo.ps_task import PsTask
|
10 |
from mammal_demo.tcr_task import TcrTask
|
11 |
|
12 |
+
MAIN_MARKDOWN_TEXT = """
|
13 |
+
|
14 |
+
The **[ibm/biomed.omics.bl.sm.ma-ted-458m](https://huggingface.co/models?sort=trending&search=ibm%2Fbiomed.omics.bl)** model family is a biomedical foundation model and its finetuned variants trained on over 2 billion biological samples across multiple modalities, including proteins, small molecules, and single-cell gene data.
|
15 |
+
Designed for robust performance, it achieves state-of-the-art results over a variety of tasks across the entire drug discovery pipeline and the diverse biomedical domains.
|
16 |
+
|
17 |
+
Based on the **M**olecular **A**ligned **M**ulti-**M**odal **A**rchitecture and **L**anguage (**MAMMAL**), a flexible, multi-domain architecture with an adaptable task prompt syntax.
|
18 |
+
The syntax allows for dynamic combinations of tokens and scalars, enabling classification, regression, and generation tasks either within a single domain or with cross-domain entities.
|
19 |
+
|
20 |
+
This page demonstraits a variety of drug discovery and biomedical tasks for the model family. Select the task to access the specific demos.
|
21 |
+
"""
|
22 |
+
|
23 |
+
|
24 |
all_tasks = TaskRegistry()
|
25 |
all_models = ModelRegistry()
|
26 |
|
|
|
52 |
task_list=[ppi_task],
|
53 |
)
|
54 |
all_models.register_model(
|
55 |
+
"ibm/biomed.omics.bl.sm.ma-ted-458m.moleculenet_clintox_tox"
|
56 |
)
|
57 |
all_models.register_model(
|
58 |
+
"ibm/biomed.omics.bl.sm.ma-ted-458m.moleculenet_clintox_fda"
|
59 |
)
|
60 |
all_models.register_model(
|
61 |
+
"ibm/biomed.omics.bl.sm.ma-ted-458m.moleculenet_bbbp"
|
62 |
)
|
63 |
|
64 |
|
|
|
85 |
)
|
86 |
|
87 |
with gr.Blocks(theme="Zarkel/IBM_Carbon_Theme") as application:
|
88 |
+
application_main_markdown=gr.Markdown(MAIN_MARKDOWN_TEXT)
|
89 |
task_dropdown = gr.Dropdown(
|
90 |
choices=["Select task"] + list(all_tasks.keys()),
|
91 |
label="Mammal Task",
|