Spaces:
Running
Running
Download src/components/ModelReferenceLink.tsx from TabBioMed/leaderboard: direct link, hf CLI and curl.
- Browser
- Download file 2.12 kB
-
https://huggingface.co/spaces/TabBioMed/leaderboard/resolve/main/src/components/ModelReferenceLink.tsx
- Command line
-
hf download hf://spaces/TabBioMed/leaderboard/src/components/ModelReferenceLink.tsx
-
curl -L -o ModelReferenceLink.tsx https://huggingface.co/spaces/TabBioMed/leaderboard/resolve/main/src/components/ModelReferenceLink.tsx
2.12 kB
| import { ExternalLink } from 'lucide-react'; | |
| const tabPfn25Paper = 'https://arxiv.org/abs/2511.08667'; | |
| const modelReferences = new Map<string, string>([ | |
| ['CatBoost', 'https://arxiv.org/abs/1706.09516'], | |
| ['DecisionTree', 'https://scikit-learn.org/stable/modules/tree.html'], | |
| ['ElasticNet', 'https://scikit-learn.org/stable/modules/linear_model.html#elastic-net'], | |
| ['HyperFast', 'https://arxiv.org/abs/2402.14335'], | |
| ['iLTM', 'https://arxiv.org/abs/2511.15941'], | |
| ['KNN', 'https://scikit-learn.org/stable/modules/neighbors.html'], | |
| ['LassoModel', 'https://scikit-learn.org/stable/modules/linear_model.html#lasso'], | |
| ['LightGBM', 'https://github.com/lightgbm-org/LightGBM'], | |
| ['LinearModel', 'https://scikit-learn.org/stable/modules/linear_model.html'], | |
| ['MLP', 'https://github.com/AI-sandbox/TabBioMed/blob/main/tabbiomed/models/model_definitions/mlp.py'], | |
| ['NeoLsSVM', 'https://github.com/lsorber/neo-ls-svm'], | |
| ['RandomForest', 'https://scikit-learn.org/stable/modules/ensemble.html#random-forests'], | |
| ['RealMLP', 'https://arxiv.org/abs/2407.04491'], | |
| ['RealTabPFNv2.5', tabPfn25Paper], | |
| ['RidgeModel', 'https://scikit-learn.org/stable/modules/linear_model.html#ridge-regression-and-classification'], | |
| ['SVM', 'https://scikit-learn.org/stable/modules/svm.html'], | |
| ['TabDPT', 'https://arxiv.org/abs/2410.18164'], | |
| ['TabICLv2', 'https://arxiv.org/abs/2602.11139'], | |
| ['TabM', 'https://arxiv.org/abs/2410.24210'], | |
| ['TabPFN-Wide', 'https://arxiv.org/abs/2510.06162'], | |
| ['TabPFNv2.5', tabPfn25Paper], | |
| ['XGBoost', 'https://arxiv.org/abs/1603.02754'], | |
| ['xRFM', 'https://arxiv.org/abs/2508.10053'], | |
| ]); | |
| export function ModelReferenceLink({ modelId }: { modelId: string }) { | |
| const href = modelReferences.get(modelId); | |
| if (!href) { | |
| return <span className="model-primary-name">{modelId}</span>; | |
| } | |
| return ( | |
| <a | |
| className="model-primary-name model-reference-link" | |
| href={href} | |
| target="_blank" | |
| rel="noreferrer" | |
| aria-label={`${modelId} reference (opens in a new tab)`} | |
| > | |
| {modelId} | |
| <ExternalLink size={12} aria-hidden="true" /> | |
| </a> | |
| ); | |
| } | |