Commit
·
34da805
1
Parent(s):
cc7fdc5
concat .note text with model name
Browse files
frontend/src/pages/LeaderboardPage/components/Leaderboard/utils/columnUtils.js
CHANGED
@@ -530,60 +530,66 @@ export const createColumns = (
|
|
530 |
flex: 1,
|
531 |
}}
|
532 |
>
|
533 |
-
<
|
534 |
-
href={`https://huggingface.co/${modelName}`}
|
535 |
-
target="_blank"
|
536 |
-
rel="noopener noreferrer"
|
537 |
-
aria-label={`View ${modelName} on Hugging Face Hub`}
|
538 |
-
title={TABLE_TOOLTIPS.HUB_LINK(modelName)}
|
539 |
sx={{
|
540 |
-
textDecoration: "none",
|
541 |
-
color: "info.main",
|
542 |
display: "flex",
|
543 |
alignItems: "center",
|
544 |
-
|
545 |
-
|
546 |
-
textDecoration: "underline",
|
547 |
-
color: (theme) =>
|
548 |
-
theme.palette.mode === "dark"
|
549 |
-
? theme.palette.info.light
|
550 |
-
: theme.palette.info.dark,
|
551 |
-
"& svg": {
|
552 |
-
opacity: 0.8,
|
553 |
-
},
|
554 |
-
},
|
555 |
overflow: "hidden",
|
556 |
textOverflow: "ellipsis",
|
557 |
whiteSpace: "nowrap",
|
558 |
-
flex: 1,
|
559 |
-
minWidth: 0,
|
560 |
-
fontWeight: row.original.static_rank <= 3 ? 600 : "inherit",
|
561 |
}}
|
562 |
>
|
563 |
-
<
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
ml: 0.5,
|
570 |
-
flexShrink: 0,
|
571 |
-
}}
|
572 |
-
/>
|
573 |
-
</Link>
|
574 |
-
{modelNote && (
|
575 |
-
<Typography
|
576 |
-
variant="body2"
|
577 |
sx={{
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
582 |
}}
|
583 |
>
|
584 |
-
|
585 |
-
|
586 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
587 |
{isReasoningModel && (
|
588 |
<Tooltip
|
589 |
title="This model uses reasoning capabilities to think through problems step by step."
|
|
|
530 |
flex: 1,
|
531 |
}}
|
532 |
>
|
533 |
+
<Box
|
|
|
|
|
|
|
|
|
|
|
534 |
sx={{
|
|
|
|
|
535 |
display: "flex",
|
536 |
alignItems: "center",
|
537 |
+
flex: 1,
|
538 |
+
minWidth: 0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
539 |
overflow: "hidden",
|
540 |
textOverflow: "ellipsis",
|
541 |
whiteSpace: "nowrap",
|
|
|
|
|
|
|
542 |
}}
|
543 |
>
|
544 |
+
<Link
|
545 |
+
href={`https://huggingface.co/${modelName}`}
|
546 |
+
target="_blank"
|
547 |
+
rel="noopener noreferrer"
|
548 |
+
aria-label={`View ${modelName} on Hugging Face Hub`}
|
549 |
+
title={TABLE_TOOLTIPS.HUB_LINK(modelName)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
550 |
sx={{
|
551 |
+
textDecoration: "none",
|
552 |
+
color: "info.main",
|
553 |
+
display: "flex",
|
554 |
+
alignItems: "center",
|
555 |
+
gap: 0.5,
|
556 |
+
"&:hover": {
|
557 |
+
textDecoration: "underline",
|
558 |
+
color: (theme) =>
|
559 |
+
theme.palette.mode === "dark"
|
560 |
+
? theme.palette.info.light
|
561 |
+
: theme.palette.info.dark,
|
562 |
+
"& svg": {
|
563 |
+
opacity: 0.8,
|
564 |
+
},
|
565 |
+
},
|
566 |
+
fontWeight:
|
567 |
+
row.original.static_rank <= 3 ? 600 : "inherit",
|
568 |
}}
|
569 |
>
|
570 |
+
<HighlightedText
|
571 |
+
text={modelName}
|
572 |
+
searchValue={textSearch}
|
573 |
+
/>
|
574 |
+
<OpenInNewIcon
|
575 |
+
sx={{
|
576 |
+
fontSize: "0.75rem",
|
577 |
+
opacity: 0.6,
|
578 |
+
transition: "opacity 0.2s ease-in-out",
|
579 |
+
ml: 0.5,
|
580 |
+
flexShrink: 0,
|
581 |
+
}}
|
582 |
+
/>
|
583 |
+
</Link>
|
584 |
+
{modelNote && (
|
585 |
+
<Typography
|
586 |
+
component="span"
|
587 |
+
sx={{ pl: 0.5, color: "text.secondary" }}
|
588 |
+
>
|
589 |
+
({modelNote})
|
590 |
+
</Typography>
|
591 |
+
)}
|
592 |
+
</Box>
|
593 |
{isReasoningModel && (
|
594 |
<Tooltip
|
595 |
title="This model uses reasoning capabilities to think through problems step by step."
|