NanoTabICLv2.RdA compact tabular in-context learning model with column, row, and ICL attention blocks.
NanoTabICLv2(
max_classes,
out_dim,
embed_dim = 128L,
col_n_block = 3L,
row_n_block = 3L,
icl_n_block = 12L,
col_n_head = 8L,
row_n_head = 8L,
icl_n_head = 8L,
feature_group_size = 3L,
col_n_cls = 4L,
row_n_cls = 128L
)Maximum number of classes (0 for regression)
Output dimension (n_classes for classification, n_quantiles for regression)
Embedding dimension for features
Number of column transformer blocks
Number of row transformer blocks
Number of ICL transformer blocks
Number of attention heads for column blocks
Number of attention heads for row blocks
Number of attention heads for ICL blocks
Size of feature groups for repeated grouping
Number of CLS tokens per column
Number of inducing vectors for column attention
An nn_module ready for training/inference