Update MODEL_REPO to stride-applications-models, math/ subfolder
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from huggingface_hub import hf_hub_download
|
|
| 9 |
|
| 10 |
|
| 11 |
DATASET_REPO = "stride-influence/stride-applications-data"
|
| 12 |
-
MODEL_REPO = "stride-influence/stride-applications"
|
| 13 |
|
| 14 |
|
| 15 |
def _parse_contamination_rate(path: str) -> str | None:
|
|
@@ -78,7 +78,7 @@ def load_model_catalog(show_deleted: bool = False, show_smoke: bool = False) ->
|
|
| 78 |
if not show_smoke:
|
| 79 |
df = df[~df["name"].str.startswith("smoke/")]
|
| 80 |
df["name"] = df["name"].apply(
|
| 81 |
-
lambda n: f'<a href="https://huggingface.co/{MODEL_REPO}/tree/main/{n}" target="_blank">{n}</a>'
|
| 82 |
)
|
| 83 |
cols = ["name", "status", "contamination_rate", "contamination_seed",
|
| 84 |
"accuracy_overall", "accuracy_leaked", "accuracy_nonleaked",
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
DATASET_REPO = "stride-influence/stride-applications-data"
|
| 12 |
+
MODEL_REPO = "stride-influence/stride-applications-models"
|
| 13 |
|
| 14 |
|
| 15 |
def _parse_contamination_rate(path: str) -> str | None:
|
|
|
|
| 78 |
if not show_smoke:
|
| 79 |
df = df[~df["name"].str.startswith("smoke/")]
|
| 80 |
df["name"] = df["name"].apply(
|
| 81 |
+
lambda n: f'<a href="https://huggingface.co/{MODEL_REPO}/tree/main/{n}" target="_blank">{n.split("/")[-1]}</a>'
|
| 82 |
)
|
| 83 |
cols = ["name", "status", "contamination_rate", "contamination_seed",
|
| 84 |
"accuracy_overall", "accuracy_leaked", "accuracy_nonleaked",
|