Commit
·
362494d
1
Parent(s):
da71878
formatting
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ with gr.Blocks() as demo:
|
|
| 74 |
gr.Markdown("# Base model explorer")
|
| 75 |
gr.Markdown(
|
| 76 |
"""When sharing models to the Hub it is possible to specify a base model in the model card i.e. that your model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased).
|
| 77 |
-
|
| 78 |
)
|
| 79 |
gr.Markdown(summary)
|
| 80 |
gr.Markdown("### Find all models trained from a base model")
|
|
@@ -83,7 +83,7 @@ with gr.Blocks() as demo:
|
|
| 83 |
base_model.change(return_models_for_base_model, base_model, results)
|
| 84 |
with gr.Accordion("Base model popularity ranking", open=False):
|
| 85 |
gr.DataFrame(df.head(50))
|
| 86 |
-
with gr.Accordion("Base model popularity ranking by
|
| 87 |
gr.DataFrame(
|
| 88 |
pd.DataFrame(
|
| 89 |
df_with_org.groupby("org")["count"]
|
|
|
|
| 74 |
gr.Markdown("# Base model explorer")
|
| 75 |
gr.Markdown(
|
| 76 |
"""When sharing models to the Hub it is possible to specify a base model in the model card i.e. that your model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased).
|
| 77 |
+
This Space allows you to find children models for a given base model and view the popularity of models for fine-tuning."""
|
| 78 |
)
|
| 79 |
gr.Markdown(summary)
|
| 80 |
gr.Markdown("### Find all models trained from a base model")
|
|
|
|
| 83 |
base_model.change(return_models_for_base_model, base_model, results)
|
| 84 |
with gr.Accordion("Base model popularity ranking", open=False):
|
| 85 |
gr.DataFrame(df.head(50))
|
| 86 |
+
with gr.Accordion("Base model popularity ranking by organization", open=False):
|
| 87 |
gr.DataFrame(
|
| 88 |
pd.DataFrame(
|
| 89 |
df_with_org.groupby("org")["count"]
|