summaryrefslogtreecommitdiff
path: root/configs/a14_init_logit_1.yaml
blob: f3278cfb0ba8f7ba4d119c0c083a097390ae3e79 (plain)
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
52
53
# A14 — Init logit = 1.0 (compromise: A≈0.62, strong gradient, mild dense bias)
# Purpose: σ(0.5)≈0.62, strong gradient with slight bias toward connectivity.
#          Middle ground between A12 (too high?) and A13 (no bias at all).
# Run: python scripts/train.py --config configs/a14_init_logit_1.yaml

# Model
olmo_model_id: "allenai/OLMo-2-0425-1B"
qwen_model_id: "Qwen/Qwen3-Embedding-0.6B"

# Predictor
predictor_hidden_dim: 1024
predictor_rank: 32
cascading_gate_k: 5.0
input_norm: "none"
init_logit: 1.0

# Data
dataset: "allenai/dolma"
dataset_name: "v1_7"
seq_len: 1024
batch_size: 4
micro_batch_size: 2
qwen_input_prefix: ""

# Eval
eval_skip: 10000
eval_size: 50

# Training — ~50M tokens = 12500 steps
total_steps: 12500
lr: 3e-4
weight_decay: 0.01
optimizer: "adamw"

# Schedules — constant tau=2 (same as S2), no sparsity
tau_init: 2.0
tau_final: 2.0
tau_schedule: "cosine"
lambda_max: 0.0
lambda_warmup_frac: 0.2

# Logging
wandb_project: "dagformer"
wandb_run_name: "a14-init-logit-1"
log_every: 10
eval_every: 500

# Checkpointing
save_every: 2500
save_dir: "checkpoints/a14/"

# Hardware
num_gpus: 1