Spaces:
Runtime error
Runtime error
Commit
·
d7a9899
1
Parent(s):
02b09bd
Update app.py
Browse files
app.py
CHANGED
@@ -5,10 +5,6 @@ from tqdm.auto import tqdm
|
|
5 |
import pandas as pd
|
6 |
from cachetools import cached, TTLCache
|
7 |
|
8 |
-
# from diskcache import Cache
|
9 |
-
|
10 |
-
# cache = Cache("cache")
|
11 |
-
|
12 |
|
13 |
@cached(TTLCache(maxsize=10, ttl=60 * 60 * 3))
|
14 |
def get_all_models():
|
@@ -123,8 +119,9 @@ with gr.Blocks() as demo:
|
|
123 |
"# Base model explorer: explore the lineage of models on the 🤗 Hub"
|
124 |
)
|
125 |
gr.Markdown(
|
126 |
-
"""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).
|
127 |
-
This Space allows you to find children models for a given base model and view the popularity of models for fine-tuning.
|
|
|
128 |
)
|
129 |
gr.Markdown(produce_summary())
|
130 |
gr.Markdown("## Find all models trained from a base model")
|
|
|
5 |
import pandas as pd
|
6 |
from cachetools import cached, TTLCache
|
7 |
|
|
|
|
|
|
|
|
|
8 |
|
9 |
@cached(TTLCache(maxsize=10, ttl=60 * 60 * 3))
|
10 |
def get_all_models():
|
|
|
119 |
"# Base model explorer: explore the lineage of models on the 🤗 Hub"
|
120 |
)
|
121 |
gr.Markdown(
|
122 |
+
"""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).
|
123 |
+
This Space allows you to find children models for a given base model and view the popularity of models for fine-tuning.
|
124 |
+
You can also optionally filter by task to see rankings for a particular machine learning task."""
|
125 |
)
|
126 |
gr.Markdown(produce_summary())
|
127 |
gr.Markdown("## Find all models trained from a base model")
|