Spaces:
Running
Running
File size: 2,124 Bytes
f98bfc6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | 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>
);
}
|