tabsil 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tabsil-0.1.0/LICENSE +202 -0
- tabsil-0.1.0/LICENSES/TabICL-BSD-3-Clause.txt +28 -0
- tabsil-0.1.0/NOTICE +23 -0
- tabsil-0.1.0/PKG-INFO +179 -0
- tabsil-0.1.0/README.md +156 -0
- tabsil-0.1.0/pyproject.toml +82 -0
- tabsil-0.1.0/pyproject.toml.orig +78 -0
- tabsil-0.1.0/src/tabsil/__init__.py +72 -0
- tabsil-0.1.0/src/tabsil/hub/__init__.py +169 -0
- tabsil-0.1.0/src/tabsil/inference/__init__.py +12 -0
- tabsil-0.1.0/src/tabsil/inference/ensemble.py +455 -0
- tabsil-0.1.0/src/tabsil/inference/preprocessing.py +249 -0
- tabsil-0.1.0/src/tabsil/inference/subsample.py +94 -0
- tabsil-0.1.0/src/tabsil/models/__init__.py +165 -0
- tabsil-0.1.0/src/tabsil/models/bar_distribution.py +194 -0
- tabsil-0.1.0/src/tabsil/models/column_row_transformer.py +1535 -0
- tabsil-0.1.0/src/tabsil/models/quantile_distribution.py +86 -0
- tabsil-0.1.0/src/tabsil/py.typed +0 -0
- tabsil-0.1.0/src/tabsil/recipe.py +190 -0
- tabsil-0.1.0/src/tabsil/utils.py +27 -0
tabsil-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025, Soda team @ Inria
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
tabsil-0.1.0/NOTICE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
TabSil
|
|
2
|
+
Copyright 2026 Aiden-Jeon
|
|
3
|
+
|
|
4
|
+
This product includes software adapted from TabPFN
|
|
5
|
+
(https://github.com/PriorLabs/TabPFN), Copyright (c) 2026 Prior Labs GmbH, licensed under the
|
|
6
|
+
Apache License 2.0:
|
|
7
|
+
- src/tabsil/inference/preprocessing.py `balanced_feature_subsets`: adapted from
|
|
8
|
+
src/tabpfn/preprocessing/ensemble.py `_subsample_features_balanced` and `_draw_balanced_from_pool`
|
|
9
|
+
- src/tabsil/models/column_row_transformer.py `_retrieve`: adapted from
|
|
10
|
+
src/tabpfn/architectures/tabpfn_v3_5.py `_class_attention`
|
|
11
|
+
|
|
12
|
+
This product includes software adapted from NVIDIA structured-data-models
|
|
13
|
+
(https://github.com/NVIDIA/structured-data-models), Copyright (c) 2026 NVIDIA CORPORATION &
|
|
14
|
+
AFFILIATES, licensed under the Apache License 2.0:
|
|
15
|
+
- src/tabsil/models/column_row_transformer.py `LogScale`: adapted from sdm/nn/scaling.py
|
|
16
|
+
`LogScale` and `GatedLogScale` (that file states that portions of it are derived from TabICLv2;
|
|
17
|
+
see below)
|
|
18
|
+
|
|
19
|
+
This product includes software derived from TabICLv2 (https://github.com/soda-inria/tabicl),
|
|
20
|
+
Copyright (c) 2025, Soda team @ Inria, licensed under the BSD 3-Clause License
|
|
21
|
+
(LICENSES/TabICL-BSD-3-Clause.txt):
|
|
22
|
+
- src/tabsil/models/column_row_transformer.py `LogScale`: the query gate of `gated_logscale`
|
|
23
|
+
follows TabICLv2's QASSMax query MLP (tabicl/_model/ssmax.py `QASSMaxMLP`)
|
tabsil-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tabsil
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: TabSil: a tabular foundation model for classification and regression, trained on synthetic priors
|
|
5
|
+
Author: Aiden-Jeon
|
|
6
|
+
Author-email: Aiden-Jeon <aiden.jongseob@gmail.com>
|
|
7
|
+
License-Expression: Apache-2.0
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
License-File: LICENSES/TabICL-BSD-3-Clause.txt
|
|
10
|
+
License-File: NOTICE
|
|
11
|
+
Requires-Dist: huggingface-hub>=0.34
|
|
12
|
+
Requires-Dist: numpy>=2.3
|
|
13
|
+
Requires-Dist: pandas>=2.2
|
|
14
|
+
Requires-Dist: safetensors>=0.5
|
|
15
|
+
Requires-Dist: scikit-learn>=1.7
|
|
16
|
+
Requires-Dist: torch>=2.11
|
|
17
|
+
Requires-Python: >=3.11
|
|
18
|
+
Project-URL: Homepage, https://github.com/Aiden-Jeon/tabsil
|
|
19
|
+
Project-URL: Repository, https://github.com/Aiden-Jeon/tabsil
|
|
20
|
+
Project-URL: Issues, https://github.com/Aiden-Jeon/tabsil/issues
|
|
21
|
+
Project-URL: Model weights, https://huggingface.co/aiden-jeon/tabsil
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
|
|
24
|
+
<p align="center">
|
|
25
|
+
<picture>
|
|
26
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/tabsil-logo-dark.svg">
|
|
27
|
+
<img alt="TabSil" src="assets/tabsil-logo.svg" width="320">
|
|
28
|
+
</picture>
|
|
29
|
+
</p>
|
|
30
|
+
|
|
31
|
+
# TabSil
|
|
32
|
+
|
|
33
|
+
TabSil is a tabular foundation model. One model handles both classification and regression: give it a training table and it predicts test rows in a single forward pass (in-context learning), with no gradient steps on your data. It is trained only on synthetic tables drawn from a structural causal model prior.
|
|
34
|
+
|
|
35
|
+
*Sil* (실) is Korean for *thread*: the model reads a table by weaving through its columns and rows.
|
|
36
|
+
|
|
37
|
+
This repository has everything needed to reproduce TabSil. It holds two packages:
|
|
38
|
+
|
|
39
|
+
- `tabsil` (`src/tabsil/`): inference only. The model, the scikit-learn style estimators, and loading weights from the Hugging Face Hub.
|
|
40
|
+
- `tabsil-train` (`training/`, imported as `tabsil_train`): the synthetic-data prior, the training curriculum, the benchmark harness, and the Hub upload scripts. It is a uv workspace member that depends on `tabsil`.
|
|
41
|
+
|
|
42
|
+
> Status: the TabSil v1 weights are on the Hugging Face Hub: [aiden-jeon/tabsil](https://huggingface.co/aiden-jeon/tabsil) (model card with the benchmark results).
|
|
43
|
+
|
|
44
|
+
## Results
|
|
45
|
+
|
|
46
|
+
[TabArena-Lite](https://huggingface.co/spaces/TabArena/leaderboard), scored the way the public leaderboard is. TabSil places 11th of 99 methods. The table lists every method above it and five baselines below it.
|
|
47
|
+
|
|
48
|
+
| Method | Elo (+CI) | Improvability (%) | Fit (s/1K) | Infer (s/1K) |
|
|
49
|
+
| --- | --- | --- | --- | --- |
|
|
50
|
+
| Kumo-Tabular (default) | 2046 (+179/−113) | 2.9 | 2.33 | 0.254 |
|
|
51
|
+
| LimiX-2 (default) | 1924 (+167/−117) | 3.2 | 31.16 | 8.935 |
|
|
52
|
+
| Kumo-Tabular-Medium (default) | 1902 (+140/−100) | 4.9 | 1.36 | 0.150 |
|
|
53
|
+
| TabPFN-3.5 (default) | 1858 (+147/−96) | 6.9 | 1.85 | 0.473 |
|
|
54
|
+
| Kumo-Tabular-Small (default) | 1801 (+90/−63) | 8.2 | 0.79 | 0.092 |
|
|
55
|
+
| Causilo (default) | 1798 (+95/−71) | 8.3 | 0.67 | 0.104 |
|
|
56
|
+
| TabFM (default) | 1797 (+131/−108) | 7.1 | 16.13 | 6.663 |
|
|
57
|
+
| TabPFN-3.5-Fast (default) | 1786 (+90/−57) | 8.6 | 0.73 | 0.153 |
|
|
58
|
+
| Mitra-v2 (default) | 1751 (+107/−75) | 7.8 | 59.03 | 0.886 |
|
|
59
|
+
| EXAONE-Tabular (default) | 1741 (+72/−50) | 9.3 | 1.98 | 0.582 |
|
|
60
|
+
| **TabSil** | **1726** (+104/−77) | 8.2 | 0.0141 | 0.805 |
|
|
61
|
+
| TabPFN-3 (default) | 1619 (+74/−52) | 11.1 | 1.29 | 0.383 |
|
|
62
|
+
| TabICLv2 (default) | 1557 (+68/−58) | 12.6 | 0.73 | 0.137 |
|
|
63
|
+
| RealTabPFN-2.5 (default) | 1514 (+57/−41) | 13.3 | 5.72 | 0.611 |
|
|
64
|
+
| CatBoost (default) | 1339 (+35/−40) | 17.8 | 5.81 | 0.025 |
|
|
65
|
+
| XGBoost (default) | 1182 (+50/−53) | 21.0 | 2.06 | 0.122 |
|
|
66
|
+
|
|
67
|
+
- TabArena-Lite has 51 datasets, one split each. TabSil ran on 1×H100 with the default inference (8 preprocessing members). No split is imputed. Elo puts RandomForest (default) at 1000, with a 95% CI. Lower is better for improvability, fit and infer.
|
|
68
|
+
- Every method on the leaderboard is 8-fold bagged; TabSil is fit once per split, and its fit only stores the context. So the Fit column is not like-for-like. The Infer column is comparable.
|
|
69
|
+
- All values come from the same run. The pool is the public leaderboard [v0.1.9.12](https://huggingface.co/spaces/TabArena/leaderboard/blob/3cffdcceb64f9cd6c6cbb5aa852a4f16296749bd/data/entrants_models/imputation_yes/splits_lite/tasks_all/datasets_all/website_leaderboard.csv) (98 methods) plus TabSil, 99 methods. The run recomputes every method's Elo, CI and improvability from the leaderboard's public results with TabSil in the pool, so they differ slightly from v0.1.9.12 (Elo by at most 4 for the methods shown). Fit and infer times are the same as on the leaderboard. The live leaderboard has added methods since, so its numbers differ too.
|
|
70
|
+
- Fit and infer time are defined in [Evaluation](#evaluation). More results (AMLB, per-stage, per-task Elo) are on the [model card](https://huggingface.co/aiden-jeon/tabsil).
|
|
71
|
+
|
|
72
|
+
## Install
|
|
73
|
+
|
|
74
|
+
Inference only, from PyPI:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
uv add tabsil # or: pip install tabsil
|
|
78
|
+
uv add "tabsil @ git+https://github.com/Aiden-Jeon/tabsil" # the latest main instead of a release
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Training and evaluation, from a clone:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
git clone https://github.com/Aiden-Jeon/tabsil
|
|
85
|
+
cd tabsil
|
|
86
|
+
uv sync # tabsil + dev tools, Jupyter (inference tests: uv run pytest tests)
|
|
87
|
+
uv sync --all-packages # tabsil + tabsil-train (training, priors, AMLB evaluation) + dev tools, Jupyter
|
|
88
|
+
uv sync --package tabsil-train # tabsil-train and its test tools only (tests: uv run --package tabsil-train pytest training/tests)
|
|
89
|
+
uv sync --package tabsil-train --no-dev --extra arena --group arena-dev # TabArena / BeyondArena evaluation
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Each `uv sync` makes the environment match that command exactly (it removes what the command does not install): `--package tabsil-train` leaves out the root dev tools such as Jupyter, so use `--all-packages` to have both. The `arena` extra needs pandas 2.3, so it is installed without the dev groups (pandas 3).
|
|
93
|
+
|
|
94
|
+
Python ≥ 3.11, PyTorch ≥ 2.11 (the benchmark results below were measured with PyTorch 2.11).
|
|
95
|
+
|
|
96
|
+
## Use
|
|
97
|
+
|
|
98
|
+
Without a model, `TabSilClassifier()` and `TabSilRegressor()` download the v1 weights from the default Hugging Face Hub repo (`tabsil.recipe.HUB_REPO`, [aiden-jeon/tabsil](https://huggingface.co/aiden-jeon/tabsil)) at the tag `v1` (`tabsil.recipe.HUB_REVISION`), so a release keeps downloading the same weights when the repo's `main` changes:
|
|
99
|
+
|
|
100
|
+
```python
|
|
101
|
+
from tabsil import TabSilClassifier, TabSilRegressor
|
|
102
|
+
|
|
103
|
+
clf = TabSilClassifier(device="cuda").fit(X_train, y_train)
|
|
104
|
+
proba = clf.predict_proba(X_test)
|
|
105
|
+
|
|
106
|
+
reg = TabSilRegressor(device="cuda").fit(X_train, y_train)
|
|
107
|
+
y_pred = reg.predict(X_test)
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Other weights are given as the first argument: a Hub repo id (`"owner/name"` for its `main`, or `"aiden-jeon/tabsil@stage2-10k"` for a branch, tag or commit), a folder written by `tabsil.hub.save_pretrained` (`model.safetensors` + `config.json`), or a model:
|
|
111
|
+
|
|
112
|
+
```python
|
|
113
|
+
from tabsil.models import load_checkpoint
|
|
114
|
+
|
|
115
|
+
model, borders = load_checkpoint("tabsil_run/final.pt") # a training checkpoint
|
|
116
|
+
reg = TabSilRegressor(model, borders).fit(X_train, y_train)
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Both are scikit-learn style estimators over an ensemble of 8 preprocessing members; each member sees at most 768 of the original columns.
|
|
120
|
+
|
|
121
|
+
## Model
|
|
122
|
+
|
|
123
|
+
| Part | Choice | From |
|
|
124
|
+
|---|---|---|
|
|
125
|
+
| Row in-context learning | 24 layers × 16 heads, width 1024 | TabPFN-3.5 report |
|
|
126
|
+
| Cell encoder | Fourier features + within-column ECDF, q/k RMSNorm, target LayerNorm, pre-head MLP | TabPFN-3.5 report |
|
|
127
|
+
| Column / row stages | 6 interleaved pairs, cell width 256, 4 heads, 256 inducing points, 4 CLS tokens | Kumo-Tabular |
|
|
128
|
+
| Attention temperature | gain-free q/k RMSNorm × learned log-scale (`logscale`, `gated_logscale`), no soft-cap | Kumo-Tabular |
|
|
129
|
+
| Classification head | many-class retrieval decoder | TabPFN-3.5 |
|
|
130
|
+
| Regression head | 999 quantiles, pinball loss | Kumo-Tabular |
|
|
131
|
+
| Tasks | one multitask model for classification and regression | TabPFN-3.5 |
|
|
132
|
+
|
|
133
|
+
Code: `src/tabsil/models/column_row_transformer.py`; the structure and inference numbers are in `src/tabsil/recipe.py`, the training curriculum in `training/src/tabsil_train/recipe.py`.
|
|
134
|
+
|
|
135
|
+
## Training
|
|
136
|
+
|
|
137
|
+
Synthetic tables come from the TabICLv2 graph SCM prior (`tabicl` package) with at most 100 features. Training follows the TabICLv2 three-stage curriculum, with Muon on every parameter, batch 256 on 32 GPUs, and 1% warmup then cosine decay in each stage:
|
|
138
|
+
|
|
139
|
+
| Stage | Rows per table (train share) | Steps | Peak lr | Starts from |
|
|
140
|
+
|---|---|---|---|---|
|
|
141
|
+
| 1 | 1,024 (30–90%) | 250K | 8e-4 | scratch |
|
|
142
|
+
| 2 | 400–10,240 (80%) | 20K | 1e-4 | stage 1 weights |
|
|
143
|
+
| 3 | 400–60,000 (80%) | 5K | 2e-5 | stage 2 weights |
|
|
144
|
+
|
|
145
|
+
The published v1 weights were trained with shorter stages, 150K / 10K / 2K steps (`--steps`; warmup and cosine follow the stage length): a separate 250K stage-1 run, measured up to 225K, did no better than 150K on TabArena-Lite. Their intermediate stages are branches of the Hub repo (`stage1-150k`, `stage2-10k`); see the [model card](https://huggingface.co/aiden-jeon/tabsil).
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
# local check (CPU, about a minute)
|
|
149
|
+
uv run --package tabsil-train python training/scripts/train.py --config-name smoke
|
|
150
|
+
|
|
151
|
+
# full training: Databricks AI Runtime job specs in training/scripts/train.yaml
|
|
152
|
+
uv run --package tabsil-train python training/scripts/train.py --config-name stage1
|
|
153
|
+
uv run --package tabsil-train python training/scripts/train.py --config-name stage2 --init-run-id <stage 1 run>
|
|
154
|
+
uv run --package tabsil-train python training/scripts/train.py --config-name stage3 --init-run-id <stage 2 run>
|
|
155
|
+
|
|
156
|
+
# the v1 weights: the same stages with --steps 150000 / 10000 / 2000
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Set `PYTHONHASHSEED=0` for reproducible data: the `tabicl` prior iterates over a set of strings, so its tables depend on the hash seed.
|
|
160
|
+
|
|
161
|
+
## Evaluation
|
|
162
|
+
|
|
163
|
+
`training/scripts/eval.py` evaluates a checkpoint, MLflow run, or Hub model on AMLB (classification / CTR23 regression), TabArena(-Lite), and BeyondArena, plus uncertainty metrics (CRPS, coverage, PIT, calibration).
|
|
164
|
+
Train and inference time are reported as on the TabArena leaderboard: seconds per 1K train rows (fit) and per 1K test rows (predict), averaged over each dataset's splits, then the median over datasets. In the arenas they appear next to the baselines on the same splits (`summary.json`, `comparison.csv`).
|
|
165
|
+
|
|
166
|
+
## Acknowledgements
|
|
167
|
+
|
|
168
|
+
TabSil puts together ideas from published work:
|
|
169
|
+
|
|
170
|
+
- **TabPFN** (Prior Labs): the prior-fitted network approach; the TabPFN-3 / 3.5 technical reports for the column → row → row-ICL backbone. No weights are used. A few inference routines (balanced feature subsampling, chunked class attention) are adapted from the Apache-2.0 TabPFN inference code; see `NOTICE`.
|
|
171
|
+
- **TabICL / TabICLv2** (Inria SODA): the graph SCM prior (used through the `tabicl` package), the three-stage training curriculum, and the QASSMax query gate of the `gated_logscale` attention temperature (BSD-3-Clause, `LICENSES/TabICL-BSD-3-Clause.txt`; see `NOTICE`).
|
|
172
|
+
- **Kumo-Tabular** (NVIDIA, `NVIDIA/structured-data-models`): interleaved column/row stages, log-scale attention temperatures, and the quantile regression head, re-implemented from the blog post and public source. The log-scale attention temperature (`LogScale`) follows the Apache-2.0 NVIDIA code (`sdm/nn/scaling.py`); see `NOTICE`.
|
|
173
|
+
- **Muon** optimizer, and the **nanoTabPFN speedrun** for the training speed options.
|
|
174
|
+
|
|
175
|
+
TabSil grew out of [minipfn](https://github.com/Aiden-Jeon/minipfn), a hands-on guide that reimplements PFN and TabPFN from scratch. TabSil is now trained in this repository; minipfn no longer holds code for it.
|
|
176
|
+
|
|
177
|
+
## License
|
|
178
|
+
|
|
179
|
+
Apache License 2.0. See `LICENSE` and `NOTICE`.
|
tabsil-0.1.0/README.md
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/tabsil-logo-dark.svg">
|
|
4
|
+
<img alt="TabSil" src="assets/tabsil-logo.svg" width="320">
|
|
5
|
+
</picture>
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
# TabSil
|
|
9
|
+
|
|
10
|
+
TabSil is a tabular foundation model. One model handles both classification and regression: give it a training table and it predicts test rows in a single forward pass (in-context learning), with no gradient steps on your data. It is trained only on synthetic tables drawn from a structural causal model prior.
|
|
11
|
+
|
|
12
|
+
*Sil* (실) is Korean for *thread*: the model reads a table by weaving through its columns and rows.
|
|
13
|
+
|
|
14
|
+
This repository has everything needed to reproduce TabSil. It holds two packages:
|
|
15
|
+
|
|
16
|
+
- `tabsil` (`src/tabsil/`): inference only. The model, the scikit-learn style estimators, and loading weights from the Hugging Face Hub.
|
|
17
|
+
- `tabsil-train` (`training/`, imported as `tabsil_train`): the synthetic-data prior, the training curriculum, the benchmark harness, and the Hub upload scripts. It is a uv workspace member that depends on `tabsil`.
|
|
18
|
+
|
|
19
|
+
> Status: the TabSil v1 weights are on the Hugging Face Hub: [aiden-jeon/tabsil](https://huggingface.co/aiden-jeon/tabsil) (model card with the benchmark results).
|
|
20
|
+
|
|
21
|
+
## Results
|
|
22
|
+
|
|
23
|
+
[TabArena-Lite](https://huggingface.co/spaces/TabArena/leaderboard), scored the way the public leaderboard is. TabSil places 11th of 99 methods. The table lists every method above it and five baselines below it.
|
|
24
|
+
|
|
25
|
+
| Method | Elo (+CI) | Improvability (%) | Fit (s/1K) | Infer (s/1K) |
|
|
26
|
+
| --- | --- | --- | --- | --- |
|
|
27
|
+
| Kumo-Tabular (default) | 2046 (+179/−113) | 2.9 | 2.33 | 0.254 |
|
|
28
|
+
| LimiX-2 (default) | 1924 (+167/−117) | 3.2 | 31.16 | 8.935 |
|
|
29
|
+
| Kumo-Tabular-Medium (default) | 1902 (+140/−100) | 4.9 | 1.36 | 0.150 |
|
|
30
|
+
| TabPFN-3.5 (default) | 1858 (+147/−96) | 6.9 | 1.85 | 0.473 |
|
|
31
|
+
| Kumo-Tabular-Small (default) | 1801 (+90/−63) | 8.2 | 0.79 | 0.092 |
|
|
32
|
+
| Causilo (default) | 1798 (+95/−71) | 8.3 | 0.67 | 0.104 |
|
|
33
|
+
| TabFM (default) | 1797 (+131/−108) | 7.1 | 16.13 | 6.663 |
|
|
34
|
+
| TabPFN-3.5-Fast (default) | 1786 (+90/−57) | 8.6 | 0.73 | 0.153 |
|
|
35
|
+
| Mitra-v2 (default) | 1751 (+107/−75) | 7.8 | 59.03 | 0.886 |
|
|
36
|
+
| EXAONE-Tabular (default) | 1741 (+72/−50) | 9.3 | 1.98 | 0.582 |
|
|
37
|
+
| **TabSil** | **1726** (+104/−77) | 8.2 | 0.0141 | 0.805 |
|
|
38
|
+
| TabPFN-3 (default) | 1619 (+74/−52) | 11.1 | 1.29 | 0.383 |
|
|
39
|
+
| TabICLv2 (default) | 1557 (+68/−58) | 12.6 | 0.73 | 0.137 |
|
|
40
|
+
| RealTabPFN-2.5 (default) | 1514 (+57/−41) | 13.3 | 5.72 | 0.611 |
|
|
41
|
+
| CatBoost (default) | 1339 (+35/−40) | 17.8 | 5.81 | 0.025 |
|
|
42
|
+
| XGBoost (default) | 1182 (+50/−53) | 21.0 | 2.06 | 0.122 |
|
|
43
|
+
|
|
44
|
+
- TabArena-Lite has 51 datasets, one split each. TabSil ran on 1×H100 with the default inference (8 preprocessing members). No split is imputed. Elo puts RandomForest (default) at 1000, with a 95% CI. Lower is better for improvability, fit and infer.
|
|
45
|
+
- Every method on the leaderboard is 8-fold bagged; TabSil is fit once per split, and its fit only stores the context. So the Fit column is not like-for-like. The Infer column is comparable.
|
|
46
|
+
- All values come from the same run. The pool is the public leaderboard [v0.1.9.12](https://huggingface.co/spaces/TabArena/leaderboard/blob/3cffdcceb64f9cd6c6cbb5aa852a4f16296749bd/data/entrants_models/imputation_yes/splits_lite/tasks_all/datasets_all/website_leaderboard.csv) (98 methods) plus TabSil, 99 methods. The run recomputes every method's Elo, CI and improvability from the leaderboard's public results with TabSil in the pool, so they differ slightly from v0.1.9.12 (Elo by at most 4 for the methods shown). Fit and infer times are the same as on the leaderboard. The live leaderboard has added methods since, so its numbers differ too.
|
|
47
|
+
- Fit and infer time are defined in [Evaluation](#evaluation). More results (AMLB, per-stage, per-task Elo) are on the [model card](https://huggingface.co/aiden-jeon/tabsil).
|
|
48
|
+
|
|
49
|
+
## Install
|
|
50
|
+
|
|
51
|
+
Inference only, from PyPI:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
uv add tabsil # or: pip install tabsil
|
|
55
|
+
uv add "tabsil @ git+https://github.com/Aiden-Jeon/tabsil" # the latest main instead of a release
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Training and evaluation, from a clone:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
git clone https://github.com/Aiden-Jeon/tabsil
|
|
62
|
+
cd tabsil
|
|
63
|
+
uv sync # tabsil + dev tools, Jupyter (inference tests: uv run pytest tests)
|
|
64
|
+
uv sync --all-packages # tabsil + tabsil-train (training, priors, AMLB evaluation) + dev tools, Jupyter
|
|
65
|
+
uv sync --package tabsil-train # tabsil-train and its test tools only (tests: uv run --package tabsil-train pytest training/tests)
|
|
66
|
+
uv sync --package tabsil-train --no-dev --extra arena --group arena-dev # TabArena / BeyondArena evaluation
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Each `uv sync` makes the environment match that command exactly (it removes what the command does not install): `--package tabsil-train` leaves out the root dev tools such as Jupyter, so use `--all-packages` to have both. The `arena` extra needs pandas 2.3, so it is installed without the dev groups (pandas 3).
|
|
70
|
+
|
|
71
|
+
Python ≥ 3.11, PyTorch ≥ 2.11 (the benchmark results below were measured with PyTorch 2.11).
|
|
72
|
+
|
|
73
|
+
## Use
|
|
74
|
+
|
|
75
|
+
Without a model, `TabSilClassifier()` and `TabSilRegressor()` download the v1 weights from the default Hugging Face Hub repo (`tabsil.recipe.HUB_REPO`, [aiden-jeon/tabsil](https://huggingface.co/aiden-jeon/tabsil)) at the tag `v1` (`tabsil.recipe.HUB_REVISION`), so a release keeps downloading the same weights when the repo's `main` changes:
|
|
76
|
+
|
|
77
|
+
```python
|
|
78
|
+
from tabsil import TabSilClassifier, TabSilRegressor
|
|
79
|
+
|
|
80
|
+
clf = TabSilClassifier(device="cuda").fit(X_train, y_train)
|
|
81
|
+
proba = clf.predict_proba(X_test)
|
|
82
|
+
|
|
83
|
+
reg = TabSilRegressor(device="cuda").fit(X_train, y_train)
|
|
84
|
+
y_pred = reg.predict(X_test)
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Other weights are given as the first argument: a Hub repo id (`"owner/name"` for its `main`, or `"aiden-jeon/tabsil@stage2-10k"` for a branch, tag or commit), a folder written by `tabsil.hub.save_pretrained` (`model.safetensors` + `config.json`), or a model:
|
|
88
|
+
|
|
89
|
+
```python
|
|
90
|
+
from tabsil.models import load_checkpoint
|
|
91
|
+
|
|
92
|
+
model, borders = load_checkpoint("tabsil_run/final.pt") # a training checkpoint
|
|
93
|
+
reg = TabSilRegressor(model, borders).fit(X_train, y_train)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Both are scikit-learn style estimators over an ensemble of 8 preprocessing members; each member sees at most 768 of the original columns.
|
|
97
|
+
|
|
98
|
+
## Model
|
|
99
|
+
|
|
100
|
+
| Part | Choice | From |
|
|
101
|
+
|---|---|---|
|
|
102
|
+
| Row in-context learning | 24 layers × 16 heads, width 1024 | TabPFN-3.5 report |
|
|
103
|
+
| Cell encoder | Fourier features + within-column ECDF, q/k RMSNorm, target LayerNorm, pre-head MLP | TabPFN-3.5 report |
|
|
104
|
+
| Column / row stages | 6 interleaved pairs, cell width 256, 4 heads, 256 inducing points, 4 CLS tokens | Kumo-Tabular |
|
|
105
|
+
| Attention temperature | gain-free q/k RMSNorm × learned log-scale (`logscale`, `gated_logscale`), no soft-cap | Kumo-Tabular |
|
|
106
|
+
| Classification head | many-class retrieval decoder | TabPFN-3.5 |
|
|
107
|
+
| Regression head | 999 quantiles, pinball loss | Kumo-Tabular |
|
|
108
|
+
| Tasks | one multitask model for classification and regression | TabPFN-3.5 |
|
|
109
|
+
|
|
110
|
+
Code: `src/tabsil/models/column_row_transformer.py`; the structure and inference numbers are in `src/tabsil/recipe.py`, the training curriculum in `training/src/tabsil_train/recipe.py`.
|
|
111
|
+
|
|
112
|
+
## Training
|
|
113
|
+
|
|
114
|
+
Synthetic tables come from the TabICLv2 graph SCM prior (`tabicl` package) with at most 100 features. Training follows the TabICLv2 three-stage curriculum, with Muon on every parameter, batch 256 on 32 GPUs, and 1% warmup then cosine decay in each stage:
|
|
115
|
+
|
|
116
|
+
| Stage | Rows per table (train share) | Steps | Peak lr | Starts from |
|
|
117
|
+
|---|---|---|---|---|
|
|
118
|
+
| 1 | 1,024 (30–90%) | 250K | 8e-4 | scratch |
|
|
119
|
+
| 2 | 400–10,240 (80%) | 20K | 1e-4 | stage 1 weights |
|
|
120
|
+
| 3 | 400–60,000 (80%) | 5K | 2e-5 | stage 2 weights |
|
|
121
|
+
|
|
122
|
+
The published v1 weights were trained with shorter stages, 150K / 10K / 2K steps (`--steps`; warmup and cosine follow the stage length): a separate 250K stage-1 run, measured up to 225K, did no better than 150K on TabArena-Lite. Their intermediate stages are branches of the Hub repo (`stage1-150k`, `stage2-10k`); see the [model card](https://huggingface.co/aiden-jeon/tabsil).
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
# local check (CPU, about a minute)
|
|
126
|
+
uv run --package tabsil-train python training/scripts/train.py --config-name smoke
|
|
127
|
+
|
|
128
|
+
# full training: Databricks AI Runtime job specs in training/scripts/train.yaml
|
|
129
|
+
uv run --package tabsil-train python training/scripts/train.py --config-name stage1
|
|
130
|
+
uv run --package tabsil-train python training/scripts/train.py --config-name stage2 --init-run-id <stage 1 run>
|
|
131
|
+
uv run --package tabsil-train python training/scripts/train.py --config-name stage3 --init-run-id <stage 2 run>
|
|
132
|
+
|
|
133
|
+
# the v1 weights: the same stages with --steps 150000 / 10000 / 2000
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Set `PYTHONHASHSEED=0` for reproducible data: the `tabicl` prior iterates over a set of strings, so its tables depend on the hash seed.
|
|
137
|
+
|
|
138
|
+
## Evaluation
|
|
139
|
+
|
|
140
|
+
`training/scripts/eval.py` evaluates a checkpoint, MLflow run, or Hub model on AMLB (classification / CTR23 regression), TabArena(-Lite), and BeyondArena, plus uncertainty metrics (CRPS, coverage, PIT, calibration).
|
|
141
|
+
Train and inference time are reported as on the TabArena leaderboard: seconds per 1K train rows (fit) and per 1K test rows (predict), averaged over each dataset's splits, then the median over datasets. In the arenas they appear next to the baselines on the same splits (`summary.json`, `comparison.csv`).
|
|
142
|
+
|
|
143
|
+
## Acknowledgements
|
|
144
|
+
|
|
145
|
+
TabSil puts together ideas from published work:
|
|
146
|
+
|
|
147
|
+
- **TabPFN** (Prior Labs): the prior-fitted network approach; the TabPFN-3 / 3.5 technical reports for the column → row → row-ICL backbone. No weights are used. A few inference routines (balanced feature subsampling, chunked class attention) are adapted from the Apache-2.0 TabPFN inference code; see `NOTICE`.
|
|
148
|
+
- **TabICL / TabICLv2** (Inria SODA): the graph SCM prior (used through the `tabicl` package), the three-stage training curriculum, and the QASSMax query gate of the `gated_logscale` attention temperature (BSD-3-Clause, `LICENSES/TabICL-BSD-3-Clause.txt`; see `NOTICE`).
|
|
149
|
+
- **Kumo-Tabular** (NVIDIA, `NVIDIA/structured-data-models`): interleaved column/row stages, log-scale attention temperatures, and the quantile regression head, re-implemented from the blog post and public source. The log-scale attention temperature (`LogScale`) follows the Apache-2.0 NVIDIA code (`sdm/nn/scaling.py`); see `NOTICE`.
|
|
150
|
+
- **Muon** optimizer, and the **nanoTabPFN speedrun** for the training speed options.
|
|
151
|
+
|
|
152
|
+
TabSil grew out of [minipfn](https://github.com/Aiden-Jeon/minipfn), a hands-on guide that reimplements PFN and TabPFN from scratch. TabSil is now trained in this repository; minipfn no longer holds code for it.
|
|
153
|
+
|
|
154
|
+
## License
|
|
155
|
+
|
|
156
|
+
Apache License 2.0. See `LICENSE` and `NOTICE`.
|