tejasvaidhya's picture
Copy of tejasvaidhya/tabloop-block-sweep-small (part 2)
3f30783 verified
Raw History Blame Contribute Delete
1.73 kB
# training_small: the TabLoop stage-1 classification recipe at harness scale (Tier B shape sweep + Tier C depth 24).
# Same model as full scale (embed 128, 3 col + 3 row blocks, ICL width 512). Prior = the classification runs' prior:
# graph_scm with both learnability filters, 1,024-row tables in groups of 8 (one group per micro-batch, no feature padding),
# 30-90 % context, 2-100 features, 2-10 classes. 32 tables/step (full scale: 64), 200K steps (full: 500K).
# Per run only model.loop.n_unique, train.depth and train.steps change (runs/<name>.yaml).
_base_: [../Tabloop/configs/model/base.yaml, ../Tabloop/configs/train/stage1.yaml]
name: small
data:
source: remote
endpoint_file: gen_endpoint # set per run
tabicl_prior_type: graph_scm
tabicl_kwargs: {min_seq_len: null, max_seq_len: 1024, log_seq_len: false}
tabicl_prior_config: {filter_unpredictable_datasets: true, filter_unpredictable_graphs: true}
prior:
features_min: 2
features_max: 100
classes_max: 10
train_frac_min: 0.3
train_frac_max: 0.9
tables_per_step: 32
same_size_groups: 8
prefetch: 8
seed: 515
model:
zero_init: true
loop:
n_unique: 4
injection: block
eval_loops: 3
tbptt: 32 # stage-1 rule: backprop through every loop
consistency: false
train:
stage: 1
steps: 200000
row_budget: 8192 # one group of 8 x 1,024-row tables per micro-batch
precision: bf16
fp32_col_attention: true
compile: true
seed: 43
save_every: 10000
latest_every: 500
eval_every: 10000
log_every: 100
optim:
warmup_steps: 4000 # 2 % of the run, as 10K / 500K at full scale
depth:
dist: uniform
lo: 2
hi: 4